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

Post Reply  Post Oekaki 

Posted By Message


Drum and Bass Fueled Psycho


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?



Mascot Maniac


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



Worth A Click