Update Level 1.tscn, Level 2.tscn, Level 3.tscn, and 9 more files
This commit is contained in:
parent
f470efbe1f
commit
89cfa2882a
12 changed files with 204 additions and 112 deletions
16
Scripts/end_zone.gd
Normal file
16
Scripts/end_zone.gd
Normal 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()
|
||||
Loading…
Add table
Add a link
Reference in a new issue