mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 23:48:11 +00:00
added the game
This commit is contained in:
14
Scripts/Parts/TimeUp.gd
Executable file
14
Scripts/Parts/TimeUp.gd
Executable file
@@ -0,0 +1,14 @@
|
||||
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
|
Reference in New Issue
Block a user