Files
Embodiment/Levels/Level 2.gd
Jasmine Hyder 2c65c5f4b6 haha
2021-12-10 15:38:00 -06:00

14 lines
298 B
GDScript

extends Node2D
func _ready() -> void:
#$YSort/Player.position = get_viewport_rect().size / 2
$YSort/Player.position = Vector2(0,0)
$YSort/Player.load_hud($HUD)
$HUD/Control.visible = false
return
func _on_Area2D_body_entered(body):
$HUD/Control.visible = true
print("j")