Add more menus and endless mode

This commit is contained in:
Andrew Trieu
2025-04-20 22:37:10 +03:00
committed by Andrew Trieu
parent d2beb3540a
commit 2f75df211f
44 changed files with 651 additions and 65 deletions

View File

@@ -1,10 +1,22 @@
if global.start_key_pressed {
instance_destroy();
global.first_start = false;
instance_create_depth(0, 0, -10000, o_mode_menu);
}
if global.space_key_pressed {
instance_destroy();
instance_create_depth(0, 0, -10000, o_tutorial);
}
}
if global.shift_key_pressed {
instance_destroy();
instance_create_depth(0, 0, -10000, o_credits);
}
if global.pause_key_pressed {
game_end();
}