]> git.seodisparate.com - LD54/commitdiff
Touch interface and screen size fixes
authorStephen Seo <seo.disparate@gmail.com>
Thu, 21 Dec 2023 08:43:45 +0000 (17:43 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Thu, 21 Dec 2023 08:43:45 +0000 (17:43 +0900)
export_presets.cfg
player.tscn
project.godot

index 0c37f963f13e5df975c3929feb671899d4e170eb..a2fd0f2e9b668b6ca3a43c67892acf023286fa0f 100644 (file)
@@ -8,7 +8,7 @@ custom_features=""
 export_filter="all_resources"
 include_filter=""
 exclude_filter=""
-export_path="html_export/ld54.html"
+export_path="./ld54_html_export/ld54.html"
 encryption_include_filters=""
 encryption_exclude_filters=""
 encrypt_pck=false
index f757bc62d79c7c94e446a64947b4bec3617b997b..b9b2080eaa0258dcb37111f4703b4967b2bcbd28 100644 (file)
@@ -14,6 +14,8 @@ colors = PackedColorArray(1, 1, 1, 0.454902, 1, 1, 1, 0)
 
 [sub_resource type="GradientTexture2D" id="GradientTexture2D_iin72"]
 gradient = SubResource("Gradient_v7mm3")
+width = 128
+height = 128
 fill = 1
 fill_from = Vector2(0.5, 0.5)
 fill_to = Vector2(1, 0.5)
@@ -32,39 +34,39 @@ scale = Vector2(40, 40)
 texture = SubResource("CanvasTexture_ruce8")
 
 [node name="JumpTouchButton" type="TouchScreenButton" parent="."]
-position = Vector2(-32.9999, -95)
+position = Vector2(-64, -159)
 texture_normal = SubResource("GradientTexture2D_iin72")
 action = "jump"
 
 [node name="Label" type="Label" parent="JumpTouchButton"]
-offset_left = 12.0
-offset_top = 19.0
-offset_right = 53.0
-offset_bottom = 42.0
+offset_left = 42.0
+offset_top = 52.0
+offset_right = 83.0
+offset_bottom = 75.0
 text = "Jump"
 
 [node name="RightTouchButton" type="TouchScreenButton" parent="."]
-position = Vector2(40, -30)
+position = Vector2(53, -60)
 texture_normal = SubResource("GradientTexture2D_iin72")
 action = "right"
 
 [node name="Label" type="Label" parent="RightTouchButton"]
-offset_left = 12.0
-offset_top = 19.0
-offset_right = 53.0
-offset_bottom = 42.0
+offset_left = 43.0
+offset_top = 53.0
+offset_right = 84.0
+offset_bottom = 76.0
 text = "Right"
 
 [node name="LeftTouchButton" type="TouchScreenButton" parent="."]
-position = Vector2(-103, -30)
+position = Vector2(-184, -60)
 texture_normal = SubResource("GradientTexture2D_iin72")
 action = "left"
 
 [node name="Label" type="Label" parent="LeftTouchButton"]
-offset_left = 18.0
-offset_top = 20.0
-offset_right = 59.0
-offset_bottom = 43.0
+offset_left = 47.0
+offset_top = 53.0
+offset_right = 88.0
+offset_bottom = 76.0
 text = "Left"
 
 [node name="Camera2D" type="Camera2D" parent="."]
@@ -88,8 +90,8 @@ stream = ExtResource("2_ix2ut")
 stream = ExtResource("3_gq63f")
 
 [node name="GameTitleText" type="RichTextLabel" parent="."]
-offset_left = -138.0
-offset_top = 46.0
-offset_right = 335.0
-offset_bottom = 286.0
+offset_left = -229.0
+offset_top = 18.0
+offset_right = 244.0
+offset_bottom = 258.0
 scroll_active = false
index 91241cf62371792442c00f197a840119962f8c02..e1f8ae8f01ccd9198499ac662f2214ef0950527d 100644 (file)
@@ -15,6 +15,11 @@ run/main_scene="res://boxedSpace.tscn"
 config/features=PackedStringArray("4.2", "GL Compatibility")
 config/icon="res://icon.svg"
 
+[display]
+
+window/size/viewport_width=500
+window/size/viewport_height=500
+
 [input]
 
 jump={