Update Level 1.tscn, Level 2.tscn, Level 3.tscn, and 9 more files

This commit is contained in:
Clevertop 2024-08-13 02:32:14 +10:00
parent f470efbe1f
commit 89cfa2882a
12 changed files with 204 additions and 112 deletions

View file

@ -17,6 +17,7 @@ func _process(delta):
func load_next_level():
if current_level+1 < levels.size():
get_tree().change_scene_to_file(levels[current_level+1].level_path)
current_level += 1
else:
print("end of game reached!")
get_tree().change_scene_to_file(menu_scene_path)