19 lines
409 B
GDScript3
19 lines
409 B
GDScript3
extends Node
|
|
|
|
|
|
# Declare member variables here. Examples:
|
|
# var a = 2
|
|
# var b = "text"
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _init():
|
|
OS.set_window_position(
|
|
OS.get_screen_position(OS.get_current_screen()) +
|
|
OS.get_screen_size()*0.5 - OS.get_window_size()*0.5)
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
#func _process(delta):
|
|
# pass
|