Keycode pressed

Bugs will be moved here once resolved.

Post » Sun Jun 09, 2013 1:13 pm

Link to .capx file (required!):
https://dl.dropboxusercontent.com/u/39646614/robotroad.capx

Steps to reproduce:
1. Press the A key
2.
3.

Observed result:
Nothing.

Expected result:
Shoots a bullet object in facing direction.

Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes

Windows 7 64bit

Construct 2 version: 133

I'll add here, that it works with "keycode is down", but for some reason, "keycode pressed" does not work.
    
B
50
S
11
G
7
Posts: 274
Reputation: 8,146

Post » Sun Jun 09, 2013 5:33 pm

Changing your variables from "Text" to "Number" fixes your problem.

rock on,
Michael
B
15
S
6
G
3
Posts: 23
Reputation: 2,733

Post » Sun Jun 09, 2013 6:35 pm

[QUOTE=Grave] Changing your variables from "Text" to "Number" fixes your problem.

rock on,
Michael[/QUOTE]


Thanks, that worked. But how does keycode down work with string but not pressed? Bit confusing.
B
50
S
11
G
7
Posts: 274
Reputation: 8,146


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests