Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Showcase / Rpg project
- - By Nicroz Date 2012-12-17 14:33
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)
Parent - By chase4926 Date 2012-12-17 16:26
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
3. ???
4. PROFIT!

May the matz be with you.
Parent - By Spooner Date 2012-12-17 17:24
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).

Good luck!
Up Topic Gosu / Gosu Showcase / Rpg project

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill