Platform game questions.

Talk about making games.

Platform game questions.

Postby heymelby » Mon Feb 21, 2005 10:44 pm

I'm currently working on a platformer to support my Comic Book (think mario on crack), So far my main problem is stopping my actor from using it's jump animation. I have it using a jumpanimation, when ever i hit the space bar, however it stays in the jumpanimation when it hits the ground. I tried making a {key down} to casue the animation change, and a {keyup} to change it back, and it worked only may actor can't jump at all. How should i be going about this. I baciallly want an animation for every action, i.e move left right, jump, crouch down, and for other key events like using items. suggestions? FYI i did the gravitey like in the tutorial that came with the demo.
visit http://www.heymelby.com, do it now while you're still cool!
heymelby
 
Posts: 2
Joined: Mon Feb 21, 2005 10:34 pm
Location: detroit
Score: 0 Give a positive score

Postby ingsan » Tue Feb 22, 2005 10:30 am

For JUMP, use this :
On AnimationFinish ("yourJumpAnimation") > ChangeAnimation("yourStandAnimation")

For LEFT/RIGHT Moves :
Use a KeyDown Event (with repeat YES) and change your animation.
Use a KeyUP Event to Change bak your animation to Stand.
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest