Well, I don’t even know what they are called But please look at this image first: http://opengameart.org/sites/default/files/TikiBoss.PNG
The image is from GravityGames, at http://opengameart.org/content/tiki-chomp-rpg-style
Anyway, I was looking for some images to practice, because I am tired of trying to animate my own bizarre drawings (One of my animations was a red rectangle, then a red circle, then blue ones )
So I decided to look for some character images to animate. By the way, I started to learn LibGDX, and its basics were more simple for me to grasp when it came to image drawing than Java2D to me, surprisingly.
I was expecting to find 4-5 image files of the same character with different parts of the motion (One has one foot up, the other has the other foot up etc). But I found images like this one.
I know we are supposed to use TextureAtlas or something like that for our images, but I always combined the images into a single png myself (like the one in the link). And libGDX provided me a pack file for easy management. Then I can get TextureRegions with their names easily.
These don’t come with one of those.
So, I want to ask, how do we use these?
Do we just crop the image and make 4 image files and combine them again (I was about to do so, but seemed idiotic)?
Or do we calculate the x and y location, height and weight of the image and draw it? (Like, the first image is 12x12, then the for the second, I have to draw the bits betwen 13-24 x, and 12 y, and in the second line it will be 12 x and 13-24 y)
What is the approach if I don’t have a .pack file like I have when I use TexturePacker with libgdx?