speed-square-pc/speed_square_pc_source/game_over.gd
2024-01-31 19:57:37 +05:30

12 lines
356 B
GDScript

extends Node2D
# Called when the node enters the scene tree for the first time.
func _ready():
#DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_FULLSCREEN)
pass
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
if Input.is_key_pressed(KEY_R):
Transition.change_scene("res://enter_game.tscn")