12 lines
356 B
GDScript
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")
|