From 0c531bb7a442a4b5f2d4a908d92aba2b75b32651 Mon Sep 17 00:00:00 2001 From: Jonas Braus Date: Tue, 6 Aug 2024 05:16:48 +0200 Subject: [PATCH] Stuff --- .gitignore | 1 + Sky.png.import | 5 ++-- export_presets.cfg | 73 ++++++++++++++++++++++++++++++++++++++++++++++ project.godot | 6 ++++ world.tscn | 26 ++++++++++++++--- 5 files changed, 105 insertions(+), 6 deletions(-) create mode 100644 export_presets.cfg diff --git a/.gitignore b/.gitignore index 4709183..7f9da73 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ # Godot 4+ specific ignores .godot/ +export/ diff --git a/Sky.png.import b/Sky.png.import index f75c731..4387853 100644 --- a/Sky.png.import +++ b/Sky.png.import @@ -4,15 +4,16 @@ importer="texture" type="CompressedTexture2D" uid="uid://bj5w0ki1au4jr" path.s3tc="res://.godot/imported/Sky.png-8c43aacd3d620d81964b518cb41623f6.s3tc.ctex" +path.etc2="res://.godot/imported/Sky.png-8c43aacd3d620d81964b518cb41623f6.etc2.ctex" metadata={ -"imported_formats": ["s3tc_bptc"], +"imported_formats": ["s3tc_bptc", "etc2_astc"], "vram_texture": true } [deps] source_file="res://Sky.png" -dest_files=["res://.godot/imported/Sky.png-8c43aacd3d620d81964b518cb41623f6.s3tc.ctex"] +dest_files=["res://.godot/imported/Sky.png-8c43aacd3d620d81964b518cb41623f6.s3tc.ctex", "res://.godot/imported/Sky.png-8c43aacd3d620d81964b518cb41623f6.etc2.ctex"] [params] diff --git a/export_presets.cfg b/export_presets.cfg new file mode 100644 index 0000000..149980f --- /dev/null +++ b/export_presets.cfg @@ -0,0 +1,73 @@ +[preset.0] + +name="iOS" +platform="iOS" +runnable=true +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="export/Stack.ipa" +encryption_include_filters="" +encryption_exclude_filters="" +encrypt_pck=false +encrypt_directory=false + +[preset.0.options] + +custom_template/debug="" +custom_template/release="" +architectures/arm64=true +application/app_store_team_id="1234" +application/code_sign_identity_debug="" +application/export_method_debug=1 +application/code_sign_identity_release="" +application/export_method_release=0 +application/targeted_device_family=0 +application/bundle_identifier="com.stack.godot" +application/signature="" +application/short_version="" +application/version="" +application/icon_interpolation=4 +application/launch_screens_interpolation=4 +application/export_project_only=false +capabilities/access_wifi=false +capabilities/push_notifications=false +user_data/accessible_from_files_app=false +user_data/accessible_from_itunes_sharing=false +privacy/camera_usage_description="" +privacy/camera_usage_description_localized={} +privacy/microphone_usage_description="" +privacy/microphone_usage_description_localized={} +privacy/photolibrary_usage_description="" +privacy/photolibrary_usage_description_localized={} +icons/iphone_120x120="res://Icon.png" +icons/iphone_180x180="res://Icon.png" +icons/ipad_76x76="" +icons/ipad_152x152="" +icons/ipad_167x167="" +icons/app_store_1024x1024="" +icons/spotlight_40x40="" +icons/spotlight_80x80="" +icons/settings_58x58="" +icons/settings_87x87="" +icons/notification_40x40="" +icons/notification_60x60="" +storyboard/use_launch_screen_storyboard=true +storyboard/image_scale_mode=0 +storyboard/custom_image@2x="" +storyboard/custom_image@3x="" +storyboard/use_custom_bg_color=false +storyboard/custom_bg_color=Color(0, 0, 0, 1) +landscape_launch_screens/iphone_2436x1125="" +landscape_launch_screens/iphone_2208x1242="" +landscape_launch_screens/ipad_1024x768="" +landscape_launch_screens/ipad_2048x1536="" +portrait_launch_screens/iphone_640x960="" +portrait_launch_screens/iphone_640x1136="" +portrait_launch_screens/iphone_750x1334="" +portrait_launch_screens/iphone_1125x2436="" +portrait_launch_screens/ipad_768x1024="" +portrait_launch_screens/ipad_1536x2048="" +portrait_launch_screens/iphone_1242x2208="" diff --git a/project.godot b/project.godot index 54fce98..e313afc 100644 --- a/project.godot +++ b/project.godot @@ -11,10 +11,15 @@ config_version=5 [application] config/name="Stack" +run/main_scene="res://world.tscn" config/features=PackedStringArray("4.2", "Forward Plus") boot_splash/image="res://Icon.png" config/icon="res://Icon.png" +[display] + +window/handheld/orientation=5 + [input] Click={ @@ -26,5 +31,6 @@ Click={ [rendering] +textures/vram_compression/import_etc2_astc=true anti_aliasing/quality/screen_space_aa=1 anti_aliasing/quality/use_taa=true diff --git a/world.tscn b/world.tscn index d1d5071..d63d885 100644 --- a/world.tscn +++ b/world.tscn @@ -19,10 +19,29 @@ volumetric_fog_density = 0.01 [node name="Overlay" type="CanvasLayer" parent="."] -[node name="Score" type="Label" parent="Overlay"] +[node name="Control" type="Control" parent="Overlay"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="Score" type="Label" parent="Overlay/Control"] unique_name_in_owner = true -offset_right = 40.0 -offset_bottom = 23.0 +layout_mode = 1 +anchors_preset = 5 +anchor_left = 0.5 +anchor_right = 0.5 +offset_left = -70.0 +offset_top = 87.0 +offset_right = 63.0 +offset_bottom = 161.0 +grow_horizontal = 2 +size_flags_horizontal = 4 +size_flags_vertical = 0 +theme_override_font_sizes/font_size = 40 +horizontal_alignment = 1 [node name="Camera3D" type="Camera3D" parent="."] unique_name_in_owner = true @@ -40,5 +59,4 @@ environment = SubResource("Environment_20yoh") [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] transform = Transform3D(0.928376, 0.338154, -0.154177, -3.82119e-09, 0.414852, 0.909889, 0.371643, -0.844719, 0.385139, 0, 0, 0) -light_energy = 0.7 light_indirect_energy = 0.0