Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Multiframe animations
- - By ExplodingCookie Date 2013-05-15 22:53
How do I do this, I can do two frame animations, however I don't know how to have three or more frames in an animation.
Parent - By oli.obk Date 2013-05-16 11:02
please submit more info. are you using gosu's animations classes? how do you currently create two-frame animations?
Parent - - By jlnr (dev) Date 2013-05-16 12:39
The tutorial uses a complete animation for the rotating stars: https://github.com/jlnr/gosu/wiki/Ruby-Tutorial
Parent - By lol_o2 Date 2013-05-16 13:15
Also check this for better timing method: http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?tid=823
Parent - By ExplodingCookie Date 2013-05-16 15:02
Thanks for the quick responses everyone.
@oli.obk: I use "@cur_image = (milliseconds / 175 % 2 == 0) ? @walk1 : @walk2" as in the Cptn. Ruby Tutorial.
@jlnr: Thanks, I'll have a look at that
@lol_02: Thanks to you to!
Up Topic Gosu / Gosu Exchange / Multiframe animations

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill