How do I limit the movements of my hero?

Get help using Construct 2

Post » Thu Jul 16, 2015 1:30 am

Hey guys,
I have a hero that I want to make him jump and only jump I want to disable all other movements exept jumping, how can I do that? Please help and thank you.
B
11
S
2
G
1
Posts: 84
Reputation: 852

Post » Thu Jul 16, 2015 2:14 am

I'm assuming this is using the Platform behavior?

You can try doing something like this:
On landed -> set max speed to 0
On jump -> set max speed to XXX

This should make the character be able to move left/right only after he jumps, and stop him from moving after he lands.
B
50
S
23
G
17
Posts: 291
Reputation: 12,432

Post » Thu Jul 16, 2015 11:55 am

Thank you a lot you really helped me!!
B
11
S
2
G
1
Posts: 84
Reputation: 852


Return to How do I....?

Who is online

Users browsing this forum: grigrizljac, korbaach and 19 guests