Implemented win/lose scenes and added fire spinner trap

This commit is contained in:
VoidTwo
2021-12-09 22:55:16 -06:00
parent 8bd4acb6fe
commit 8707397bb7
20 changed files with 577 additions and 90 deletions

10
GUI/Level Ending.gd Normal file
View File

@@ -0,0 +1,10 @@
extends CanvasLayer
export var hub_world_path: String = 'res://Levels/Hub World.tscn'
func _on_timer_timeout() -> void:
if get_tree().change_scene(hub_world_path) != OK:
print('ERROR: Level Ending failed to change scene to Hub World.')
queue_free()
return