Reversed controls

Get help using Construct 2

Post » Sat Aug 24, 2013 2:34 pm

Hi !
I'm working with Construct seriously for the first time for the ludum dare.

I use an object with a 8-direction behavior and I want for one level to reverse the controls (when the player press right, he move to the left).

The 8-direction behavior doesn't seem be able to do it. So I've do a homemade system by using the function "Move at angle". But it doesn't work perfectly, i can't press two key at the same time and I overpass my limits.

I understand why it doesn't work but I can't find a better solution.

Here a screen of my script :

Any idea or advice or idea ?
Posts: 2
Reputation: 281

Post » Sat Aug 24, 2013 2:41 pm

Just use 8 direction, set default controls to NO and setup the controls as you please. Make a variable inverse and check if inverse is true. set the controls to the opposite when true.LittleStain2013-08-24 14:42:07
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
Posts: 6,160
Reputation: 19,775

Post » Sat Aug 24, 2013 3:00 pm

Thank you very much.
It works perfectly.
Posts: 2
Reputation: 281

Return to How do I....?

Who is online

Users browsing this forum: urkokan and 9 guests