How do I restrain a player's movement ?

Get help using Construct 2

Post » Sun Mar 22, 2015 9:01 pm

How can I "delete" the left key for a player in a layout, like if I only want him to go to the right, up and down, but he can't go back (left) ?

Thank you :D
B
5
Posts: 10
Reputation: 251

Post » Sun Mar 22, 2015 10:13 pm

If you set your character object's behavior to include platformer, you can then set the 'default controls' to 'no' and in the event sheet for each key you want to character to move use 'stimulate object movement' and select the action you want the character to perform.
B
3
Posts: 7
Reputation: 189

Post » Mon Mar 23, 2015 12:42 am

@are0planes has hit the nail on the head here. Just make sure you add the Keyboard Object too, so you can do this
Using R238 for all examples
B
62
S
18
G
6
Posts: 367
Reputation: 9,253

Post » Mon Mar 23, 2015 3:09 am

Perfect guys, thanks ! <3
B
5
Posts: 10
Reputation: 251


Return to How do I....?

Who is online

Users browsing this forum: edumoyas, golubenco, Yahoo [Bot] and 21 guests