Link to .capx file (required!):
dl.dropboxusercontent.com/u/47874986/C2Bug/Aula%2037.capx
Steps to reproduce:
1. The Orbit Global Variable is 0;
2. Player have a Plataform and ScroolTo Behaviors and is on Earth by event 1;
3. When Player collision to Sprite ChangePlanet (red color) is set 1 to Orbit Global Variable by event 3;
4. Player go to the Moon by event 2;
5. In the Moon, when Player collision to Sprite ChangePlanet (red color) is set 0 to Orbit Global Variable by event 4;
6. Player return to Earth.
Observed result:
The Player don't change to the Moon.
If I Toggle Disable the Event 4 the player go to the Moon after collision the Sprite ChangePlanet (red color).
Expected result:
The Player can change to the Earth or Moon many times as desired.
Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes
Operating system & service pack:
Windows 7 Professional - 32 Bits
Construct 2 version:
r130