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
|
|
@ -7,7 +7,7 @@ signal tick(time : int)
|
|||
@export_group("Variables")
|
||||
@export var level_tick : float = 1 # how often to run a command
|
||||
@export var level_time : float = 10 # the amoutn of time allowed for the level
|
||||
@export var level_name : String = "Level X\nTest Room"
|
||||
@export_multiline var level_name : String = "Level X\nTest Room"
|
||||
|
||||
#reset these
|
||||
var tick_timer : float = 0
|
||||
|
|
@ -172,6 +172,4 @@ func _on_player_object_clicked(object):
|
|||
start_room()
|
||||
|
||||
|
||||
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