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

16
Scripts/end_zone.gd Normal file
View file

@ -0,0 +1,16 @@
extends MeshInstance3D
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func _on_area_3d_body_entered(body):
if body.name == "Player":
GameManager.load_next_level()