Files
2D-Beatsaber-game/game/Scripts/StartupOptions.gd
2025-07-02 00:00:25 +03:00

19 lines
474 B
GDScript

extends Node2D
@export var UseNativeDisplaySize = false
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
if UseNativeDisplaySize:
print("Using Native Display 0 Size : " + str(DisplayServer.screen_get_size(0)))
get_viewport().size = DisplayServer.screen_get_size(0)
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass