First of all, I have a variable called g and 2 istances of the same sprite.
When a player collides with an instance, it is deleted and if g=0 then g=1 and if g=1 then g=0.
But construct reads events top-down, so g stays at 0.
I tried using the tricks (1-Global('g')) but that didn't work because I found a crash :
make 2 events like this :
When g = 0 set force of gravity to 20
When g = 1 set force of gravity to -20
Try to run the layout, it crashes Construct...
Is there any work-around this bug? I need it badly for my game.