Added pause capability to all levels, added music to Level 5, added a simple chasing AI to the glowing ghosts, and optimized the Main Menu scene
This commit is contained in:
7
Main.gd
7
Main.gd
@@ -43,8 +43,6 @@ func main_menu_option(option: String) -> void:
|
||||
yield(level_select_menu, 'complete')
|
||||
free_connected_node(level_select_menu, 'level_select_menu_option')
|
||||
level_select_menu = null
|
||||
elif option == 'quit':
|
||||
quit_game()
|
||||
return
|
||||
|
||||
|
||||
@@ -80,8 +78,3 @@ func new_game(level: String) -> void:
|
||||
print('ERROR: Main failed to change scene to Level.')
|
||||
queue_free()
|
||||
return
|
||||
|
||||
|
||||
func quit_game() -> void:
|
||||
get_tree().quit()
|
||||
return
|
||||
|
Reference in New Issue
Block a user