midori-school/backgounds/warp.gd

13 lines
309 B
GDScript3
Raw Normal View History

2024-09-06 02:16:49 +02:00
extends Node2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
Global.live = 1
get_tree().change_scene_to_file("res://levels/ui/gameplay.tscn")