midori-school/backgounds/warp.gd

12 lines
301 B
GDScript

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("res://levels/ui/gameplay.tscn")