From 72770cbfd20a2f0ab77df11c2723c08f97982972 Mon Sep 17 00:00:00 2001 From: Voyager Date: Sat, 15 Aug 2026 19:32:58 -0400 Subject: [PATCH] feat: add main menu bubble icons --- ui/icons/main_menu/continue.png | Bin 0 -> 1844 bytes ui/icons/main_menu/continue.png.import | 40 +++++++++++++++++++++++++ ui/icons/main_menu/new_game.png | Bin 0 -> 802 bytes ui/icons/main_menu/new_game.png.import | 40 +++++++++++++++++++++++++ ui/pause_menu.tscn | 4 +-- ui/title_screen.gd | 2 -- ui/title_screen.tscn | 29 +++++++----------- 7 files changed, 93 insertions(+), 22 deletions(-) create mode 100644 ui/icons/main_menu/continue.png create mode 100644 ui/icons/main_menu/continue.png.import create mode 100644 ui/icons/main_menu/new_game.png create mode 100644 ui/icons/main_menu/new_game.png.import diff --git a/ui/icons/main_menu/continue.png b/ui/icons/main_menu/continue.png new file mode 100644 index 0000000000000000000000000000000000000000..02edd202422afce898ec0e1e9023b67905ebfdd6 GIT binary patch literal 1844 zcmX|CdpuNW7(UG~H>MekaT_ydCe4@&s)-aaZjA{sB$uwc-L@?XwG>KhZke_c>8_P- zJFHd|6{De)s8&-$zx1OW%4M_)+0cGx#_sR;o$tKw_dW0PKJRn>I5{CJ#6*HM0fHc+ z#NRg*yhX@^LxcU?t%HLQgbEA^T0|1WB`@bAdbHc(rNF)M0kewZ%!ZLV9OaX|E?dIcI2oJ>JAe<~Apd!Qb zOjtr74QRkJ9d&pFgMl58F5r-^Yxkc#9FvP>a4{_8mOyvF*diq$*6(;EK=4FsHs~-j z7ovfWwH07#d>qU}Fd#)_JLqGOLbSyY6b=GB7#R@iIKizEjOfQ9i?0I%avlW3h)c)< zBnTK!V-px$#2J{UcLNV|u{17HrI)AcIGe_Y_=p%?t=>a~5JwXr^8zGdI3LV769YEb z9vtH7GqUlZyHE%)1f3*Miw7FOf(5`R{WwInkVFS;4miDs44xsAPne1McqW)}=6mV! zh@SuW5dm~C2=JDNu?6~hh#`8xNEPBOBAB7?rAzg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VqlAlk^ofSUp>6)B0 zBo3Rp`#3|m`NGEzeun(i&7|Vhi}N7ziCH0}&Vp8zle|8V4IE z000056dVT+76uU(2OA~@6dDE<90U>>01yxc5f=jx76uj{2OA{^7$OE19ta&M01^@g z5*P*+AO{#B2p=m5A1VkQDF_}a{hU=f0000ubW%=J0QC9Q$8+qpqU`6U^7i9M#nAnq zvi-`&5}|n+`fCh3>r%c>nim2-uMvJF%6o{sVEOi+t83`o{${)kiZ3_z~hkGsz5K zPHj~#Da2t`0suoWx@i`W{a~&>Pssr6M?A*^ST3+YIslT)H3e8qaRWHlmu5gN$_RwH z6-_7<2uaZ)m@AQ)M1nFr%hJ%EfNd@53|KDMT+tXHB1&Pvs`Us;$_5Zg3~Omba(&HJ zgr(w~p++CEVSqFX)z}_r_W)J(e3JCdp z_n_MPwwp#=G0y=G%cmb59lK;yB$ScJSrx0Mk_P}zrZSz=DhE0{pNL+N--7OCeN8b2 z_H62PK(4BDdcR1(>`Q|b62>feOErnD>zIa2c!KCHf>r>75CCMi5d=W6E*CrPiWu|d z;K{!mZ
LW{;TS7JyGvRSv4@l3@d#Q*>R literal 0 HcmV?d00001 diff --git a/ui/icons/main_menu/new_game.png.import b/ui/icons/main_menu/new_game.png.import new file mode 100644 index 0000000..8f78965 --- /dev/null +++ b/ui/icons/main_menu/new_game.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://s4g23wyojpq7" +path="res://.godot/imported/new_game.png-5da99ab1028706b5372a3db83952bc63.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://ui/icons/main_menu/new_game.png" +dest_files=["res://.godot/imported/new_game.png-5da99ab1028706b5372a3db83952bc63.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/ui/pause_menu.tscn b/ui/pause_menu.tscn index 941e26e..dbea731 100644 --- a/ui/pause_menu.tscn +++ b/ui/pause_menu.tscn @@ -13,7 +13,7 @@ [ext_resource type="Texture2D" path="res://ui/icons/pictograms/online_dark.png" id="11_online_dark"] [ext_resource type="Texture2D" path="res://ui/icons/pictograms/save_dark.png" id="12_save_dark"] [ext_resource type="Texture2D" path="res://ui/icons/pictograms/settings_dark.png" id="13_settings_dark"] -[ext_resource type="Texture2D" path="res://ui/icons/pictograms/undo_dark.png" id="14_undo_dark"] +[ext_resource type="Texture2D" path="res://ui/icons/main_menu/continue.png" id="14_continue"] [ext_resource type="Texture2D" path="res://ui/icons/pictograms/x_dark.png" id="15_x_dark"] [node name="PauseMenu" type="Control"] @@ -93,7 +93,7 @@ compact_reference_size = Vector2(608, 448) unique_name_in_owner = true custom_minimum_size = Vector2(0, 0) texture_filter = 1 -icon = ExtResource("14_undo_dark") +icon = ExtResource("14_continue") tooltip_text = "return to game" accessibility_name = "return to game" neutral_size = Vector2(174, 164) diff --git a/ui/title_screen.gd b/ui/title_screen.gd index 7406c17..8fa371e 100644 --- a/ui/title_screen.gd +++ b/ui/title_screen.gd @@ -107,7 +107,6 @@ enum ConfirmationAction { @onready var _delete_button: BubbleButtonType = %DeleteSaveButton @onready var _quit_button: BubbleButtonType = %QuitButton @onready var _join_game_button: BubbleButtonType = %JoinGameButton -@onready var _new_game_label: Label = %NewGameLabel @onready var _delete_save_label: Label = %DeleteSaveLabel @onready var _feedback_label: RichTextLabel = %FeedbackLabel @onready var _confirmation_page: TitleConfirmationBubblePageType = ( @@ -434,7 +433,6 @@ func _update_title_layout() -> void: ) if not _title_settings_transition_active: call_deferred("_capture_title_bubble_rest_position") - _new_game_label.text = "new\ngame" if compact_layout else "new game" _delete_save_label.text = ( "delete\nsave" if compact_layout else "delete save" ) diff --git a/ui/title_screen.tscn b/ui/title_screen.tscn index febc43b..7c098ef 100644 --- a/ui/title_screen.tscn +++ b/ui/title_screen.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=19 format=3] +[gd_scene load_steps=21 format=3] [ext_resource type="Script" path="res://ui/title_screen.gd" id="1_script"] [ext_resource type="Theme" path="res://ui/game_theme.tres" id="2_theme"] @@ -15,6 +15,8 @@ [ext_resource type="Texture2D" path="res://ui/icons/pictograms/settings_dark.png" id="13_settings_dark"] [ext_resource type="Texture2D" path="res://ui/icons/pictograms/x_dark.png" id="14_x_dark"] [ext_resource type="PackedScene" path="res://ui/title_credits_page.tscn" id="15_credits_page"] +[ext_resource type="Texture2D" path="res://ui/icons/main_menu/continue.png" id="16_continue"] +[ext_resource type="Texture2D" path="res://ui/icons/main_menu/new_game.png" id="17_new_game"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_title_water"] shader = ExtResource("4_water_shader") @@ -261,7 +263,10 @@ offset_left = 123.0 offset_top = 86.0 offset_right = 307.0 offset_bottom = 264.0 -text = "continue" +texture_filter = 1 +icon = ExtResource("16_continue") +tooltip_text = "continue" +accessibility_name = "continue" script = ExtResource("7_bubble_button") profile = ExtResource("9_bubble_profile") neutral_size = Vector2(184, 178) @@ -281,13 +286,16 @@ offset_left = 42.0 offset_top = 4.0 offset_right = 170.0 offset_bottom = 126.0 +texture_filter = 1 +icon = ExtResource("17_new_game") +tooltip_text = "new game" +accessibility_name = "new game" script = ExtResource("7_bubble_button") profile = ExtResource("9_bubble_profile") neutral_size = Vector2(128, 122) desktop_anchor = Vector2(106, 65) compact_anchor = Vector2(106, 68) compact_minimum_size = Vector2(84, 84) -label_control_path = NodePath("NewGameLabel") minimum_font_size = 15 maximum_font_size = 23 horizontal_amplitude = 2.3 @@ -297,21 +305,6 @@ motion_phase = 1.2 deformation_amplitude = 0.018 deformation_period = 5.9 -[node name="NewGameLabel" type="Label" parent="ResponsiveTitleStage/TitlePresentationScaleRoot/Center/MainContent/ButtonCenter/BubbleLayoutSlot/BubbleMotionRoot/BubbleField/NewGameButton"] -unique_name_in_owner = true -layout_mode = 1 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 -mouse_filter = 2 -theme_override_colors/font_color = Color(0.035, 0.145, 0.22, 1) -theme_override_constants/line_spacing = -3 -text = "new game" -horizontal_alignment = 1 -vertical_alignment = 1 - [node name="SettingsButton" type="Button" parent="ResponsiveTitleStage/TitlePresentationScaleRoot/Center/MainContent/ButtonCenter/BubbleLayoutSlot/BubbleMotionRoot/BubbleField"] unique_name_in_owner = true offset_left = 264.0