From 67d577a2a07c1392b291c29be7eebca9df2f146d Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Sat, 8 Feb 2025 13:23:13 +0100 Subject: [PATCH] Android export + portrait orientation Project builds for android now. Also, I changed the orientation and resolution of the app to be portrait mode, as it fits better on mobile. --- project.godot | 7 +++++++ scenes/main.tscn | 1 + 2 files changed, 8 insertions(+) diff --git a/project.godot b/project.godot index fcd6c94..858ddc3 100644 --- a/project.godot +++ b/project.godot @@ -20,6 +20,13 @@ config/icon="res://icon.svg" MorseState="*res://autoloads/morse_state.gd" +[display] + +window/size/viewport_width=786 +window/size/viewport_height=1024 +window/handheld/orientation=1 + [rendering] renderer/rendering_method="mobile" +textures/vram_compression/import_etc2_astc=true diff --git a/scenes/main.tscn b/scenes/main.tscn index 8d46c4f..98b6aac 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -48,6 +48,7 @@ layout_mode = 2 color = Color(0, 0, 0, 1) [node name="MorseButton" type="Button" parent="VBoxContainer"] +custom_minimum_size = Vector2(0, 100) layout_mode = 2 text = "MORSE"