Add project code
This commit is contained in:
9
scripts/pause_movement/pause_movement.gml
Normal file
9
scripts/pause_movement/pause_movement.gml
Normal file
@@ -0,0 +1,9 @@
|
||||
function pause_movement() {
|
||||
if instance_exists(o_screen_pause) {
|
||||
image_speed = 0;
|
||||
return true;
|
||||
} else {
|
||||
image_speed = 1;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user