Link to .capx file (required!):
bht.hostingsiteforfree.com/bugs/OnKeyPressedGlobalScope.capx
Steps to reproduce:
1. Press down arrow
2. Press up arrow
Observed result:
Down arrow only rotates red block, not green.
Up arrow rotates green and yellow.
Green block uses global. Red block checks global inside scope of OnKeyPressed. Yellow block uses instance variable on green block.
Expected result:
Green block should always rotate as Variable1 is set to 1 in both cases (OnKeyPressed and KeyIsDown).
Browsers affected:
Chrome: yes
Firefox: yes/no
Internet Explorer: yes
Operating system & service pack:
Win7 SP1
Construct 2 version:
132 & 135