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

@@ -5,6 +5,8 @@ extends Camera2D
# var a: int = 2
# var b: String = "text"
signal enter_portal
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
@@ -17,9 +19,11 @@ func _ready() -> void:
func _on_PortalDarkForest_body_entered(body: Node) -> void:
self.limit_bottom = -224
self.limit_top = -736
self.limit_left = -32
self.limit_right = 448
var player = get_parent()
player.position = Vector2(256,-232)
self.limit_bottom = -224
self.limit_top = -736
self.limit_left = -32
self.limit_right = 448
var player = get_parent()
player.position = Vector2(256,-232)
emit_signal('enter_portal')