Re: How do I use a Sprite Map in Love?
Posted: Tue Oct 11, 2011 11:17 pm
You either make your spritesheet even-spaced, or store coordinates of each frame/image in external map file (which is just a plain text file). So in your case you need to:enderspike wrote:Bad ass. Progress is being made! Now, how do I know which co-ordinate is what in the image? Like, how do I figure out what numbers to put in to get the part of the map I want?
1. create map file
2. change your spritesheet image
3. use only those evenly-spaced frames from existing image
I am attaching my modified example from here https://github.com/miko/Love2d-samples/ ... priteSheet, it does not work that nice, but will give you a start.