Skip to content

Commit e9fbd63

Browse files
committed
Update sample program
1 parent 13fba9b commit e9fbd63

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

sample_program.gml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
with (instance_create_layer(x, y, "instance_layer", obj_rock))
22
{
3-
if (alarm[11] > 10)
3+
if (alarm[10] > 10)
44
{
55
instance_destroy();
66
}
77
else
88
{
9+
910
switch (keyboard_key)
1011
{
1112
case vk_shift:
12-
game_save("saving");
13+
game_save("Save.dat");
1314
case vk_up:
1415
game_restart();
1516
default:

0 commit comments

Comments
 (0)