Add more menus and endless mode
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user