The Daily Click ::. Forums ::. Klik Coding Help ::. Animations with custom movement
 

Post Reply  Post Oekaki 
 

Posted By Message

hishnak



Registered
  18/04/2004
Points
  994
5th September, 2004 at 17:48:10 -

I'm making a plateform game and I've finished my custom engine but, now I have a new problem. How do I get the animations to line up with the characters movement. Here's and example-when characters going up change animation to jumping and when in the air and pressing shoot-change animation to in air slash. I've tried to code when your standing still and pressing shoot that your animation changes to slash but it just flashes the first frame of the animation. Can someone pless help me?

 
I'm feeling a bit wella

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
5th September, 2004 at 19:11:05 -

You need to limit your conditions so that it's not possoble for the program to ever try to display more than one animation at a time. For example when you're NOT moving left and NOT jumping and NOT shooting and are pressing right and animation right is NOT already playing, display animation for walking right (note I'm not talking about animations, you have to be more specific). It may also help to make sure all of your animations are looping.

 
n/a

Muffin Batel [neonair games]



Registered
  09/08/2002
Points
  900
5th September, 2004 at 20:34:04 -

yep

 
n/a

Saven (CrobaSoft)



Registered
  12/03/2004
Points
  587
5th September, 2004 at 20:40:04 -

Uh huh

 
You shouldn't go here, there are crazy swedes who mumble about cucumbers:
http://www.crobasoft.com

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
5th September, 2004 at 20:49:45 -

If you change an animation to the one that's already playing, it shouldn't restart. At least, not in my experience anyway.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click