No.
The second event needs "Else" added.
Develop games in your browser. Powerful, performant & highly capable.
sprite animation frame % 0 will equal 0 if even, 1 if odd.
Yes, pause and use the Timer behaviour to resume.
Put the behaviour on the Family, and then with all objects in the family, they get that behaviour.
Use Else.
if level <= 1 ...
Else if level <= 2 ...
Else if ...
Go to the bottom of the page. The links are there, under Download.
floor(Random(0,6)) * 2
MPPlantOfficial
You'd have to install an older version from: https://www.scirra.com/construct2/releases It goes back to r45
Add it to all the others.
When Alt is pressed, Keyboard.StringFromKeyCode(Keyboard.LastKeyCode) will actually return the string alt, so you'd need to also check for that. So add something like:
Keyboard.StringFromKeyCode(Keyboard.LastKeyCode) <> "alt"
Member since 28 May, 2012