You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to use GIF images for animation? This would have made life a lot easier. Certainly would have become much more flexible for noob developers like me who can't use Gosu::Image.load_tiles properly. Not to mention the popularity of the format around the globe is pretty high.
The text was updated successfully, but these errors were encountered:
Loading images from GIF seems simple enough. stb_image almost supports animated GIF files out of the box – note to self, search for "animated" here and there are some pointers: https://github.com/nothings/stb/blob/master/stb_image.h
It wouldn't really be an animation though, because Gosu has no concept of animations or time. It would be a new method (or an extra parameter to Image.load_tiles?) that would return all frames of an animated GIF file, in order, as an array of Gosu::Image.
Is it possible to use GIF images for animation? This would have made life a lot easier. Certainly would have become much more flexible for noob developers like me who can't use
Gosu::Image.load_tiles
properly. Not to mention the popularity of the format around the globe is pretty high.The text was updated successfully, but these errors were encountered: