added music/sounds

This commit is contained in:
2021-12-12 16:44:25 -06:00
parent 2c65c5f4b6
commit 877648dbc2
42 changed files with 715 additions and 548 deletions

View File

@@ -1,13 +1,18 @@
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
#$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")
#print("j")
func _on_Camera2D_enter_portal() -> void:
$BGM1.stop()
$BGM2.play()