The Daily Click ::. Forums ::. Klik Coding Help ::. Jumping question.
 

Post Reply  Post Oekaki 
 

Posted By Message

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  370

VIP MemberCardboard BoxThe Cake is a Lie
24th December, 2008 at 18:35:18 -

This is probably a noob question, >_> but how do you make an active object wait for a certain frame in an animation before he jumps?

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
25th December, 2008 at 00:14:29 -

There is a condition called 'Compare current frame of 'Active' to value under 'Animation' on any object you select in the event editor.

Start with that, then find out the value of the animation you want to start the jump on.

But you don't want to make it only jump upon pressing a key + a certain frame is playing because then you would have to time it perfectly.

What you want to do it make the game remember jump has been activated (via a flag perhaps) then wait until both jump is activated + animation frame N is playing before the player jumps.

Edited by AndyUK

 
.
   

Post Reply



 



Advertisement

Worth A Click