solarus-games / solarus

This repository was moved to GitLab: https://gitlab.com/solarus-games/solarus
http://www.solarus-games.org
Other
712 stars 133 forks source link

Request: More frames and delay for BG tiles #683

Open GregoryMcGregerson opened 9 years ago

GregoryMcGregerson commented 9 years ago

Sprites have the feature to add as many frames as you want and determine the speed at which it plays. BG tiles need the same thing. The default of 3 frames isn't really enough for some animations. An example; ocean waves hitting the shore need more then 3 frames to look realistic. FSA for the Gamecube uses 8 frames of animation for this. wave-example

Diarandor commented 8 years ago

Could this feature be implemented for the version 1.5 or 1.6?

christopho commented 8 years ago

I think we can do this for 1.6. Most work will be in the GUI of the editor. The format of data files will probably remain compatible, because it was designed from the beginning with this possible evolution.

Diarandor commented 8 years ago

Ok, thanks for the info! I guess that you won't have any compatibility problem if you keep the current properties as the default ones after the change, as you say.

Diarandor commented 8 years ago

For these features, it would be very useful to add something to play the animation of the tiles (like in the sprite Editor), so that we can see if the speed is the one we want, etc.

christopho commented 8 years ago

So the idea is to allow to customize

And we want a preview widget like in the sprite editor. Also it would be nice if tiles are animated in the tileset editor's list view and it the map editor. (Then maybe we don't actually need a preview widget.)

After some thinking we decided not to unify sprites and animated tiles, because there is no good way to do it and animated tiles don't need animations and directions.

Diarandor commented 8 years ago

There will be customization for the number of rows/columns? Just to know.

christopho commented 8 years ago

Only horizontal or vertical I think.

Diarandor commented 8 years ago

Ok. Then I will have to rearrange my tilesets. No problem.