From 82a82a5c141c8cf1dbebc8e3155c700603792078 Mon Sep 17 00:00:00 2001 From: Jonas Braus Date: Mon, 5 Aug 2024 01:25:50 +0200 Subject: [PATCH] minor --- export_presets.cfg | 74 ++++++++++++++++++++++++++++++++++++++ project.godot | 1 - scenes/levels/level_1.tscn | 34 +----------------- scripts/Label_Platform.gd | 15 -------- 4 files changed, 75 insertions(+), 49 deletions(-) delete mode 100644 scripts/Label_Platform.gd diff --git a/export_presets.cfg b/export_presets.cfg index 3194b74..90b5299 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -446,3 +446,77 @@ progressive_web_app/icon_144x144="" progressive_web_app/icon_180x180="" progressive_web_app/icon_512x512="" progressive_web_app/background_color=Color(0, 0, 0, 1) + +[preset.5] + +name="iOS" +platform="iOS" +runnable=true +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../../../../../home/jonas/Schreibtisch/Export_IOS/retromario.ipa" +encryption_include_filters="" +encryption_exclude_filters="" +encrypt_pck=false +encrypt_directory=false + +[preset.5.options] + +custom_template/debug="" +custom_template/release="" +architectures/arm64=true +application/app_store_team_id="12345" +application/code_sign_identity_debug="" +application/export_method_debug=1 +application/code_sign_identity_release="" +application/export_method_release=1 +application/targeted_device_family=2 +application/bundle_identifier="com.retro.mario" +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="" +icons/iphone_180x180="" +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 d56cd19..7c05f79 100644 --- a/project.godot +++ b/project.godot @@ -81,5 +81,4 @@ flower={ [rendering] textures/canvas_textures/default_texture_filter=0 -renderer/rendering_method.mobile="forward_plus" textures/vram_compression/import_etc2_astc=true diff --git a/scenes/levels/level_1.tscn b/scenes/levels/level_1.tscn index 40c9881..0ed8fb3 100644 --- a/scenes/levels/level_1.tscn +++ b/scenes/levels/level_1.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=21 format=3 uid="uid://dv50be68omp73"] +[gd_scene load_steps=20 format=3 uid="uid://dv50be68omp73"] [ext_resource type="Texture2D" uid="uid://chrld8oybp4me" path="res://assets/bg-1-1.png" id="1_p04bh"] [ext_resource type="PackedScene" uid="uid://dk1aby88pygtr" path="res://scenes/player.tscn" id="2_j2a2f"] @@ -11,7 +11,6 @@ [ext_resource type="PackedScene" uid="uid://be832pldgbeyk" path="res://scenes/pipe.tscn" id="9_sfjeq"] [ext_resource type="AudioStream" uid="uid://cdtrw675os7dh" path="res://assets/sounds/01. Ground Theme.mp3" id="10_n5jvu"] [ext_resource type="FontFile" uid="uid://cpwx7datjer6s" path="res://assets/PixelOperator8.ttf" id="11_1j7cv"] -[ext_resource type="Script" path="res://scripts/Label_Platform.gd" id="12_uc2k2"] [ext_resource type="Script" path="res://scripts/WorldBoundDown.gd" id="13_je7o8"] [ext_resource type="PackedScene" uid="uid://bm04qp5vgbi10" path="res://scenes/flag.tscn" id="14_ry537"] [ext_resource type="PackedScene" uid="uid://dflvi18e358ek" path="res://scenes/blocks/enimie_barrier.tscn" id="15_ac2kk"] @@ -19380,37 +19379,6 @@ stream = ExtResource("10_n5jvu") volume_db = -5.0 autoplay = true -[node name="Label" type="Label" parent="."] -offset_left = -136.0 -offset_top = -111.0 -offset_right = 98.0 -offset_bottom = -88.0 -theme_override_colors/font_color = Color(0.25332, 0.473895, 1, 1) -theme_override_fonts/font = ExtResource("11_1j7cv") -horizontal_alignment = 1 -vertical_alignment = 1 -script = ExtResource("12_uc2k2") - -[node name="Label2" type="Label" parent="."] -offset_left = -151.0 -offset_top = -87.0 -offset_right = 105.0 -offset_bottom = -64.0 -theme_override_colors/font_color = Color(0.25332, 0.473895, 1, 1) -theme_override_fonts/font = ExtResource("11_1j7cv") -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="Label3" type="Label" parent="."] -offset_left = 1048.0 -offset_top = -98.0 -offset_right = 1304.0 -offset_bottom = -75.0 -theme_override_colors/font_color = Color(0.25332, 0.473895, 1, 1) -theme_override_fonts/font = ExtResource("11_1j7cv") -horizontal_alignment = 1 -vertical_alignment = 1 - [node name="WorldBoundDown" type="Area2D" parent="."] collision_layer = 32768 collision_mask = 2 diff --git a/scripts/Label_Platform.gd b/scripts/Label_Platform.gd deleted file mode 100644 index acdc6d4..0000000 --- a/scripts/Label_Platform.gd +++ /dev/null @@ -1,15 +0,0 @@ -extends Label -@onready var label = $"." -@onready var label_2 = $"../Label2" -@onready var label_3 = $"../Label3" - - -func _ready(): - var platform = "" - match OS.get_name(): - "Windows", "macOS", "Linux", "FreeBSD", "NetBSD", "OpenBSD", "BSD", "Web": - label.text = "A, S, D To Move" - label_2.text = "Space To Jump" - label_3.text = "E To Fire" - "Android", "iOS": - pass