Cant turn left with Car behaviour when..

Discussion and feedback on Construct 2

Post » Wed Jan 04, 2012 2:09 pm

I have found a "funny" issue when Im using the Car behaviour.
If I press a certain key I cant accelerate (up arrow)
and turn left (left arrow key) at the same time.

The keys I have found that causes these errors are:
Space
Alt

This only appears when I hold down space/Alt key, and then accelerate and turn to the left. I have tried with the other keys, and they dont have the same problem.

To reproduce issue:
- Hold down space or Alt key.
- Press forward key (accelerate).
- Press left arrow key (turn left).

Now this wont work. But if you keep holding down the accelerate key
and the turn key, and release the space key, it will start to work again.

If I accelerate and turn at the same time, and then press the Space/Alt key, it will work as it should.

This is a strange issue. Can anybody reproduce this error?

Link to testfile:
http://dl.dropbox.com/u/52716812/TurnIssue.capxCodeMasterMike2012-01-04 14:11:50
B
38
S
13
G
9
Posts: 151
Reputation: 8,427

Post » Wed Jan 04, 2012 2:29 pm

Sounds more like a keyboard interruption than a coding bug.
I have one for you, try pressing accelerate and left at the same time, and then press the down key.
The block keeps up moving.

Try the same setting with Accelerate, right and down at the same time.
The block brakes.
At least it what happens on my keyboard.

Not sure this can be fixed.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Wed Jan 04, 2012 3:10 pm

It's a keyboard issue, I've had it plenty of times in other games. You'll find you can press two arrow keys but can't press Space or Alt, but you can press two arrow keys together and CRTL. See if that works.
B
72
S
25
G
9
Posts: 382
Reputation: 10,649

Post » Thu Jan 05, 2012 7:12 am

If I press Accelerate and left at the same time, and then the reverse, it keeps turning and accelerating.
Pressing Accelerate, reverse and left at the same time, should break the object, since the speed is zero.

Yes, it does work with Ctrl key. The issue is that its only for the space and the Alt keys, as far as I have found.

This causes problems if you, for example, want to use the space key as a handbreak to get some nice skidding going. Yes, you can use another key to get it to work. I just find it strange that its just these keys.

I hope the devs can take a look at it. If it cant be fixed, then at least we know
B
38
S
13
G
9
Posts: 151
Reputation: 8,427

Post » Thu Jan 05, 2012 9:15 am

There's nothing we can do, it's an electronic issue in keyboards. You can't reliably hold down three or more keys at once in certain combinations. This affects all software, not just Construct 2 or browsers.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,518

Post » Thu Jan 05, 2012 9:26 am

Ok I understand. Thanks for the information!
B
38
S
13
G
9
Posts: 151
Reputation: 8,427

Post » Thu Jan 05, 2012 12:53 pm

It's annoying but you'll have to work around it like I've had to many times. Good luck. :)
B
72
S
25
G
9
Posts: 382
Reputation: 10,649


Return to Construct 2 General

Who is online

Users browsing this forum: newt, shinichild and 9 guests