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;
|
||||
}
|
||||
}
|
||||
13
scripts/pause_movement/pause_movement.yy
generated
Normal file
13
scripts/pause_movement/pause_movement.yy
generated
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$GMScript":"v1",
|
||||
"%Name":"pause_movement",
|
||||
"isCompatibility":false,
|
||||
"isDnD":false,
|
||||
"name":"pause_movement",
|
||||
"parent":{
|
||||
"name":"Scripts",
|
||||
"path":"folders/Scripts.yy",
|
||||
},
|
||||
"resourceType":"GMScript",
|
||||
"resourceVersion":"2.0",
|
||||
}
|
||||
Reference in New Issue
Block a user