Android App Development for Beginners – 74 – LibGDX Game Animation

Share it with your friends Like

Thanks! Share it with your friends!


All my videos –
Support my tutorials –
Forum –

Bucky Roberts –
Facebook –
GitHub –
Google+ –
LinkedIn –
Reddit –
Twitter –


Saba shahrukh says:

I was stuck in this Texture Atlas part for quite some time and was not able to figure out how to create the .atlas file.
You are the best :)

ZEROgringo says:

If the animation seems to bee playing in the wrong order rename all the images in the order you want them to show, something like this: walk_1.png, walk_2.png, walk_3.png…. this way whenever you test out the animation it will follow the order 1, 2, 3, etc.

Kevin Hunter says:

I was able to follow along and implement everything into one of my own projects.

AMD says:

Great Tutorial! But how i select region manualy in atlasTexture's.Because my project have one atlasTexture and every images in it.(sorry for my bad english)

shahid sarwar says:

if u r unable to find the pictures take a screen shot of the screen n crop then 1 by1 accordingly using paint

Trollistan says:

so I work on a project in Eclipse with Libgdx and I made map in Tiled map editor and when I want to import:
import com.badlogic.gdx.maps.tiled.TiledMap;
import com.badlogic.gdx.maps.tiled.TiledMapTileLayer;
import com.badlogic.gdx.maps.tiled.TiledMapTileLayer.Cell;
import com.badlogic.gdx.maps.tiled.TmxMapLoader;
import com.badlogic.gdx.maps.tiled.renderers.OrthogonalTiledMapRenderer;
It doesn't recognise them, any way to fix this? thanks in advance

Eduardo Flores says:

hi!! nice tutorial, but how i can change the bounds of the the textureatlas, i had try with setbounds() or setWidth and setHeight but does methods are not allowed.

Timmy D says:

Where did he get the shooter pics?

Shariq Shah says:

can u shw me ur androidmanifest.xml

Tom Fisher says:

give us the dam images

slayerq3 says:

You forgot to mention that the images in the input directory to be packed, all need to be of the .png format or it doesn't work. Took me a while to figure that out.

Romdoni Agung Purbayanto says:

i cannot run gdx-texturepacker on my mac
any idea ?

Shaun F says:

+thenewboston HyperSTV is stealing your videos


Shame you used images we cannot use

Vol Noor says:

'Animation' is abstract; cannot be instantiated
in animation = new Animation(1/30f,shooterAtlas.getRegions());

redsnow123456 says:

getting this error [error] Exception occured: Error packing files.


hi guys,, can someone help me with the pictures,, Thank you

Write a comment