How do I set a number of pixels before the on fall triggers

Get help using Construct 2

Post » Sat Mar 29, 2014 11:49 am

i want to be able to trigger my animation with the "on fall" command but if the player is falling more that lets say 30 pixels.
is there a way to compare the difference in .y while he is falling ?
i thought i was close with systems expressions like PlayerSprite.Platform.VectorY but my brains cpu got overheated ,so i quit and ask for your help!

so something like this

platform on fall
subevent if y pixels are more than 30 from previous position when he is falling then play my animation.
B
15
S
6
G
4
Posts: 277
Reputation: 3,948

Post » Sat Mar 29, 2014 1:08 pm

Here you go. Keep in mind that the top of a jump also counts as the start of a fall.
You do not have the required permissions to view the files attached to this post.
B
17
S
4
G
3
Posts: 172
Reputation: 1,933

Post » Sat Mar 29, 2014 3:14 pm

@ shirokuma
me love you long time!!
B
15
S
6
G
4
Posts: 277
Reputation: 3,948


Return to How do I....?

Who is online

Users browsing this forum: darkrealos, plinkie, Rhindon and 19 guests