Hello everyone, I've started ruby since some days and i'm in love with it. I discovered gosu, i did the tutorial with the starship and now i want to make my own rpg. I know it's not very original but it's a project that i would to do since some years. It's only for fun.
Do you have some advices? I tried to move a charactere but i didn't really understand the animations with gosu and i didn't find an answer on the forums.
Thanks for your help and your time :)
(NB: i come from java)
This would probably be better in the Gosu Exchange forum.
As far as animation goes:
1. Load the frames of the animation into an array using the tileset loader, or manually
2. Draw one element of that array per whatever time unit you will use
May the matz be with you.
Both Chingu and Gamebox are packages which give you a higher level interface to Gosu, which manage things like animation for you. I'd recommend using whichever one of those you like the look of. Note, however, that you should use the beta version of Chingu
gem install chingu --pre and be aware that it is no longer being developed (or use Gamebox, of course).
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill