Solarus-Games English Forum

Solarus => Development => Topic started by: Helmasaur on September 24, 2017, 07:12:34 PM

Title: A few questions before starting using Solarus
Post by: Helmasaur 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 :) .
Title: Re: A few questions before starting using Solarus
Post by: Christopho 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).
Title: Re: A few questions before starting using Solarus
Post by: Helmasaur 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.
Title: Re: A few questions before starting using Solarus
Post by: Christopho 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 ;)
Title: Re: A few questions before starting using Solarus
Post by: Helmasaur 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 ?
Title: Re: A few questions before starting using Solarus
Post by: Christopho 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.