summaryrefslogtreecommitdiff
path: root/scenes/main.gd
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/main.gd')
-rw-r--r--scenes/main.gd11
1 files changed, 11 insertions, 0 deletions
diff --git a/scenes/main.gd b/scenes/main.gd
new file mode 100644
index 0000000..32db421
--- /dev/null
+++ b/scenes/main.gd
@@ -0,0 +1,11 @@
+extends Node2D
+
+
+# Called when the node enters the scene tree for the first time.
+func _ready() -> void:
+ print(DisplayServer.screen_get_size())
+
+
+# Called every frame. 'delta' is the elapsed time since the previous frame.
+func _process(delta: float) -> void:
+ pass