1
Graphics / sprite sheet data
« on: July 03, 2014, 06:27:05 pm »
Greetings SFMLers!
I am currently working on a game that features an animated character sprite. I am using this sprite sheet as a placeholder while I develop the game: http://www.spriters-resource.com/fullview/41519/
(I eventually plan on making my own pixel art for the character.)
My problem relates to obtaining the rectangle data for each individual character image in the sprite sheet. It took me many hours to manually obtain and enter all the x/y pixel coordinates and height/width values in order to create tightly bound rectangles to properly display each frame of the animated character. (This particular sprite sheet is comprised of well over 300 individual character frames/images.) I was wondering if anyone knows of a better, more efficient way to get all this data instead of having to obtain it one frame at a time from a sprite sheet like I did.
Regards,
-Vitis
I am currently working on a game that features an animated character sprite. I am using this sprite sheet as a placeholder while I develop the game: http://www.spriters-resource.com/fullview/41519/
(I eventually plan on making my own pixel art for the character.)
My problem relates to obtaining the rectangle data for each individual character image in the sprite sheet. It took me many hours to manually obtain and enter all the x/y pixel coordinates and height/width values in order to create tightly bound rectangles to properly display each frame of the animated character. (This particular sprite sheet is comprised of well over 300 individual character frames/images.) I was wondering if anyone knows of a better, more efficient way to get all this data instead of having to obtain it one frame at a time from a sprite sheet like I did.
Regards,
-Vitis