• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

[solved] obj still moving while desactivated ?

Fabseven

Member
Hello
I am using GM1.4 and found a strange thing.
When paussing my game my physicals objets are still moving.

Here is the code for pause
Code:
if(pause)
{
    instance_deactivate_object(obj_monster)
    instance_deactivate_object(obj_hero)
    instance_deactivate_object(obj_arrow)
   
    timeline_running = false

}
else
{
    instance_activate_all()
    timeline_running = true
}
Any idea why ? and how to resolve this ?
 

Fabseven

Member
There are moving while invisible.
When the pause is undone you realize the objects are not in the same place.
 
Top