new startup options

This commit is contained in:
2025-07-02 00:00:25 +03:00
parent 23d5530610
commit efccbfc52b
8 changed files with 48 additions and 22 deletions

View File

@@ -0,0 +1,18 @@
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

View File

@@ -0,0 +1 @@
uid://chbq0wiah2mov