T
tommyleug1991
Guest
Hello everyone, I would like to create the game with pause the game function
My code in step tag:
but I find when I pause the game, the sprite is disappeared
Is it possible to show object's sprite when the game is paused?
My code in step tag:
GML:
key_P = keyboard_check_pressed(ord("P"));
if(key_P){
paused = !paused;
}
if(paused){
instance_deactivate_all(true); // 1
}else{
instance_activate_all();
}
but I find when I pause the game, the sprite is disappeared
Is it possible to show object's sprite when the game is paused?