Files
Super-Mario-Bros.-Remastere…/Scripts/Parts/TimeUp.gd
2025-09-13 16:30:32 +01:00

15 lines
310 B
GDScript
Executable File

extends Node
func _ready() -> void:
get_tree().paused = false
func _process(_delta: float) -> void:
if Input.is_action_just_pressed("jump_0"):
go_back_to_title()
func go_back_to_title() -> void:
Global.transition_to_scene("res://Scenes/Levels/LevelTransition.tscn")
func reset_values() -> void:
pass