it just werks

This commit is contained in:
pennyrigate 2025-03-02 18:02:05 -05:00
parent 1311e18f1f
commit 7e26433676
50 changed files with 1181 additions and 11 deletions

View file

@ -0,0 +1,18 @@
extends Node2D
@export var next_map:PackedScene
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_area_2d_body_entered(body: Node2D) -> void:
if body is Player:
SceneManager.current_scene = next_map.instantiate()
SceneManager.win_sound.play()