2
\$\begingroup\$

I've been trying to nail down a walking animation with libGDX. I'm making an RPG with the character that can move up, down, left, and right. I have this movement in a spritesheet. I've been following a youtube tutorial called Java Tiled Map Game which can be found here: http://www.youtube.com/watch?v=qik60F5I6J4

He does a better job then some of explaining what the code does but he glosses over the part where he gets his character to do a walking animation (by which I mean he doesn't show it at all).

I then moved to the tutorial found here: http://obviam.net/index.php/getting-started-in-android-game-development-with-libgdx-tutorial-part-2-animation/

But this tutorial tells exactly what needs to be done in regular words and then just gives a block of code. I already know what I need to do in regular words but I'm not trying to learn english but programming which is a completely different language. I'm sure I could copy and paste that code and edit it to do what I need but I wouldn't understand HOW it works only THAT it works. I want to know the how of it all. I'm new to libGDX and this is my first RPG game. I really want learn how to do it myself instead of relying on others.

My question is simply this: Do you know of a tutorial which shows and (more importantly) explains how to do a simple walking animation? I'm hoping you can supply one for me.

\$\endgroup\$

closed as too broad by Josh Feb 24 '14 at 16:42

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ So are you telling that you want to do animation from scratch without using the tools provided by libGDX? \$\endgroup\$ – nathan Dec 15 '13 at 12:01
  • \$\begingroup\$ No. I want to use libgdx to do as much as possible I just can't find a good tutorial on using the animation framework in it. Can you help me by pointing me to one? \$\endgroup\$ – Jeremy Clarkson Dec 18 '13 at 16:16
  • \$\begingroup\$ Are you using 2d animation or on a 3d character? \$\endgroup\$ – daniel Dec 20 '13 at 17:40
  • \$\begingroup\$ Did you check out the official documentation; code.google.com/p/libgdx/wiki/SpriteAnimation ? It is a pretty concise tutorial in itself, but still leaves enough room to make your own adaptation. \$\endgroup\$ – Ghyl Dec 26 '13 at 15:44
  • \$\begingroup\$ 2d animation is what I am attempting. \$\endgroup\$ – Jeremy Clarkson Dec 30 '13 at 19:09