Conflicting/Non-Responsive Buttons

Get help using Construct 2

Post » Thu Oct 23, 2014 7:33 am

CAPX: https://www.dropbox.com/s/8lcidl41effhkpx/Drift%20Star%20v0.1.capx?dl=0

I'm attempting to set up a lap racing game where drifting through turns is a must in order to get the best lap times. While I'm pretty close to getting a good balance of steering speed and drift recovery, I'm finding my controls don't always seem to respond... Namely that if I'm holding the D key before or at the same time I press the left/right key, I get no response from the car. This doesn't always seem to occur, but I can't quite nail why that happens at all. I'm not exactly sure what is the cause, either.

Could anyone point out to me what I'm missing and how I might work around this, please? Thanks.
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
136
S
22
G
8
Posts: 770
Reputation: 14,714

Post » Thu Oct 23, 2014 8:28 am

There is actually some response, but just not that evident.

Since you are implementing your own Drift mechanics, why not try eliminating the in-built Drift controls by setting Drift Recovery for the Car behavior to 360.
=========================================
If you are on Linkedin, join other C2 professionals and network on the Scirra Construct 2 Developer Group at https://www.linkedin.com/groups?home=&gid=6732005
B
47
S
11
G
6
Posts: 193
Reputation: 7,714

Post » Thu Oct 23, 2014 9:17 pm

@necromaster - I shall give that a shot. :)
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
136
S
22
G
8
Posts: 770
Reputation: 14,714

Post » Thu Oct 23, 2014 9:35 pm

I think I've discovered part of the problem.

If I'm holding down the Up arrow key and the D key, my keyboard will respond when I next press the Right arrow key. But, while still holding Up and D, if I switch to Left, even after making sure the Right arrow key is released, the car won't turn left until I release any other key I have depressed.
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
136
S
22
G
8
Posts: 770
Reputation: 14,714


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests