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

@@ -3,5 +3,13 @@ alpha = clamp(alpha, 0, 1);
if keyboard_check_pressed(vk_anykey) && alpha >= 1 {
global.first_start = false;
if (global.current_score >= global.high_score) {
global.high_score = global.current_score;
save_high_score();
}
global.current_score = 0;
room_restart()
}