Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Preparing a Spritesheet for Gosu
- - By Zaxser Date 2015-11-16 05:59
So, I found a spriesheet:
http://www.spriters-resource.com/fullview/7584/

What do I need to know/ do to make it usable as a set of animations in my game? What tools should I use to do this efficiently?
Parent - By jlnr (dev) Date 2015-11-16 09:18
I don't know if any good tools for this task exist. But if I had to do this, I'd write a plain Ruby/Gosu tool that lets me drag rectangles on the graphic and cuts up the image, rearranging it into a grid of sprites where each image has the same measurements. Then you can either load it with Image.load_tiles (easy), or as a several 1024x1024 images with Image.new and use .subimage() to load specific sprites (that'll be a little faster).
Up Topic Gosu / Gosu Exchange / Preparing a Spritesheet for Gosu

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill