Author Topic: A few questions before starting using Solarus  (Read 95 times)

Helmasaur

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • L'Ermitage
A few questions before starting using Solarus
« on: September 24, 2017, 07:12:34 pm »
Hello,

I'm interested in using Solarus but I have a couple of questions. I read the documentation and watch the videos Christopho uploaded on Youtube.

First of all, I wonder what is the best size for tiles. Is it 16x16 ? I don't plan on using ALTTP but my own ones. I know that usually, it is 16x16 which is used but maybe it is too small for non pixel-art graphics. Then, I would like to know if Solarus handles transformations such as Link into a rabbit in ALTTP or the masks in M'SM.

Thank you very much :) .

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
    • View Profile
Re: A few questions before starting using Solarus
« Reply #1 on: September 24, 2017, 08:15:21 pm »
Hi!
Tiles can have any size as long as their width and height are multiples of 8 pixels.

Yes, the transformation into a rabbit or something else is completely doable in Lua. I already implemented the rabbit for Zelda Return of the Hylian (Solarus Edition).

Helmasaur

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • L'Ermitage
Re: A few questions before starting using Solarus
« Reply #2 on: September 24, 2017, 10:47:59 pm »
Thank you for the answer.

I saw that it is obliged to be a multiple of 8. I actually wonder how is the game displayed depending on the resolution of the screen. Is it a fixed number of tiles with a scale game or does it display all it can ?

I will try to search if there is the rabbit part in a video of the making of Zelda Return of the Hylian (Solarus Edition). So I understood that it's possible to change the form of Link. I guess that it is possible to give him powers ? It should be like Link using a new weapon.

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
    • View Profile
Re: A few questions before starting using Solarus
« Reply #3 on: September 25, 2017, 09:30:08 am »
Yes you can do custom weapons in Lua. In Zelda Return of the Hylian and Zelda XD2 we have a scripted hookshot, hammer, fire rod, etc.

About the resolution of the screen I am not sure I understand your question ;)

Helmasaur

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • L'Ermitage
Re: A few questions before starting using Solarus
« Reply #4 on: September 25, 2017, 11:59:58 am »
Okay, so for the first question, I have my answer ! I will check the source code of the game and the videos on Youtube.

I will try to explain better. I wonder if the part of the map showed on the screen is a constant number of tiles and then scaled depending on resolution of the screen or if does the engine display as much tiles the screen is able to ?

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
    • View Profile
Re: A few questions before starting using Solarus
« Reply #5 on: September 25, 2017, 01:01:09 pm »
The part of the map showed in the window is constant, it is a size that you can set in the quest properties (by default, 320x240).
Then this 320x240 display is scaled to fit to the window, which can have any size.