Jump Animation

Talk about making games.

Jump Animation

Postby Kasmblam » Tue Jul 19, 2011 9:06 pm

Hey,
I am majorly stuck in a game I'm developing, I've tried looking around these forums for some my answers to my problem but nothing really conclusively answers it.
Ok, here goes...

I'm trying to sort out my main character's movement, and everything was going smoothly. I've got him to run left and right and stop again pretty much perfectly. I've gotten him to jump, and it's all fine until he lands again and carries on moving from a directional jump. When I hold left or right and jump, everything works smoothly until he lands and the jump animation changes back again. I can't seem to be able to write any working code for different animations to be triggered depending on the direction he is moving in (or whether he is stationary).

Any ideas would be greatly appreciated,
Thanks :)
Kasmblam
 
Posts: 3
Joined: Mon Jul 18, 2011 11:49 am
Score: 0 Give a positive score

Re: Jump Animation

Postby Kasmblam » Tue Jul 19, 2011 10:05 pm

Don't worry, sorted it now :)
Kasmblam
 
Posts: 3
Joined: Mon Jul 18, 2011 11:49 am
Score: 0 Give a positive score

Re: Jump Animation

Postby SuperSonic » Wed Jul 20, 2011 12:07 am

I was about to give you the answer Image
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: Jump Animation

Postby Kasmblam » Wed Jul 20, 2011 11:36 am

Ah many thanks mate, yeah I eventually looked at a couple of demos that were up on here and saw some people using animindex to sort the same kind of problems, so incorporated that.
But thanks anyway for being about to help :P
Kasmblam
 
Posts: 3
Joined: Mon Jul 18, 2011 11:49 am
Score: 0 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest