From 727e147e8b1610256c6583666c1fdee7e4a18b60 Mon Sep 17 00:00:00 2001 From: Fabio Date: Mon, 19 Aug 2024 03:48:56 +0200 Subject: [PATCH] update folder sprites --- gmtk_2024/menu/level_menu/level_button.tscn | 20 ++++++++++------ gmtk_2024/menu/level_menu/level_select.tscn | 24 ++++++++++++-------- gmtk_2024/textures/BrackableBlock-Sheet.png | Bin 0 -> 932 bytes gmtk_2024/textures/cursor_normal.png | Bin 0 -> 242 bytes gmtk_2024/textures/cursor_scale_down.png | Bin 0 -> 280 bytes gmtk_2024/textures/cursor_scale_up.png | Bin 0 -> 291 bytes 6 files changed, 28 insertions(+), 16 deletions(-) create mode 100644 gmtk_2024/textures/BrackableBlock-Sheet.png create mode 100644 gmtk_2024/textures/cursor_normal.png create mode 100644 gmtk_2024/textures/cursor_scale_down.png create mode 100644 gmtk_2024/textures/cursor_scale_up.png diff --git a/gmtk_2024/menu/level_menu/level_button.tscn b/gmtk_2024/menu/level_menu/level_button.tscn index 387d748..2f6dc9f 100644 --- a/gmtk_2024/menu/level_menu/level_button.tscn +++ b/gmtk_2024/menu/level_menu/level_button.tscn @@ -1,14 +1,20 @@ [gd_scene load_steps=7 format=3 uid="uid://t83eid7pf4iv"] -[ext_resource type="Texture2D" uid="uid://c4w61tw3unihl" path="res://textures/File-Icon.png" id="1_2sfn6"] -[ext_resource type="Texture2D" uid="uid://b46utc5xhr5w1" path="res://textures/File-Icon-Closed.png" id="2_6ev1f"] [ext_resource type="FontFile" uid="uid://d3pbvdemdbxes" path="res://CommodoreSixtyFour.ttf" id="3_732s0"] [ext_resource type="Texture2D" uid="uid://dvk7nu7pp4fl3" path="res://textures/File-Icon-Sheet.png" id="3_bbfoq"] [ext_resource type="Script" path="res://scripts/level_menu_level_button.gd" id="3_e83yn"] -[sub_resource type="AtlasTexture" id="AtlasTexture_u313o"] +[sub_resource type="AtlasTexture" id="AtlasTexture_xlv6q"] atlas = ExtResource("3_bbfoq") -region = Rect2(355, 6, 26, 24) +region = Rect2(99, 6, 26, 24) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ih6f2"] +atlas = ExtResource("3_bbfoq") +region = Rect2(354, 6, 28, 24) + +[sub_resource type="AtlasTexture" id="AtlasTexture_fekch"] +atlas = ExtResource("3_bbfoq") +region = Rect2(35, 6, 26, 24) [node name="LevelButton" type="TextureButton"] custom_minimum_size = Vector2(50, 50) @@ -17,9 +23,9 @@ offset_bottom = 40.0 size_flags_horizontal = 3 size_flags_vertical = 3 disabled = true -texture_normal = ExtResource("1_2sfn6") -texture_disabled = ExtResource("2_6ev1f") -texture_focused = SubResource("AtlasTexture_u313o") +texture_normal = SubResource("AtlasTexture_xlv6q") +texture_hover = SubResource("AtlasTexture_ih6f2") +texture_disabled = SubResource("AtlasTexture_fekch") ignore_texture_size = true stretch_mode = 5 script = ExtResource("3_e83yn") diff --git a/gmtk_2024/menu/level_menu/level_select.tscn b/gmtk_2024/menu/level_menu/level_select.tscn index 1d842bc..b0a0bb1 100644 --- a/gmtk_2024/menu/level_menu/level_select.tscn +++ b/gmtk_2024/menu/level_menu/level_select.tscn @@ -26,22 +26,23 @@ expand_mode = 1 [node name="Label" type="Label" parent="Background"] layout_mode = 0 -offset_left = 30.0 -offset_top = -8.0 -offset_right = 272.0 -offset_bottom = 42.0 +offset_left = -28.0 +offset_top = -12.0 +offset_right = 214.0 +offset_bottom = 24.0 theme = ExtResource("1_3v0vu") -theme_override_font_sizes/font_size = 45 +theme_override_colors/font_color = Color(0, 0, 0, 1) +theme_override_font_sizes/font_size = 30 text = "level select" horizontal_alignment = 1 vertical_alignment = 1 [node name="QuitButton" type="Button" parent="Background"] layout_mode = 0 -offset_left = 1232.0 -offset_top = 2.0 -offset_right = 1270.0 -offset_bottom = 40.0 +offset_left = 576.0 +offset_top = 1.0 +offset_right = 635.0 +offset_bottom = 18.0 flat = true [node name="ClipControl" type="Control" parent="Background"] @@ -60,8 +61,13 @@ layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 +offset_left = 65.2 +offset_top = 14.0 +offset_right = -93.1599 +offset_bottom = -25.4 grow_horizontal = 2 grow_vertical = 2 +scale = Vector2(1.06042, 1.058) columns = 3 [node name="LevelButton" parent="Background/ClipControl/GridContainer" instance=ExtResource("4_0d7hu")] diff --git a/gmtk_2024/textures/BrackableBlock-Sheet.png b/gmtk_2024/textures/BrackableBlock-Sheet.png new file mode 100644 index 0000000000000000000000000000000000000000..10ee13e539bb4c1c478a6db38996030242f2feed GIT binary patch literal 932 zcmV;V16%xwP)Px&L`g(JRCt{2n?G;bKp4iKI}i}!fq@|%kt&t7RmBI0vRY9xBvL<3zfDC37`%7s zR#hDZ*c&C z%kgwDWk}%l%h6{5&^&L(yv0#{T?GJy@9F@6==;pccyYggmmcSWj;otf6vfreDR_$`xDH~kztIm1)DPGCta;vyYwv3SfaSvy08lxr6f&NFn*#v6 zel09XKU!V$(%h19KRK9>+Q8^}T*QkJ^1zJp+AZJ*ux88|X(_ z>Ko{%t~6EN;&vV~0%l)-F#xFdI&tN!vbQG9Ro=2&5$Enbw(x=GQV|zKRb;q|vzn`Vvp`*_L8c$Nq=`w=U11gS>g^ zo=@4U4`4&`12ozPXVlYC=04n1-z7c+cv58U15lEAK}OLYOxJU09$dEmRtAvt+KoN2 z-s{BMnE`!zGeSk49=vNk`__AjY-fOs9%yrKpa>7P?n4yp!DZ|F3~=N~Gk~joziA&J zPxk3Uxa8n7fP;O1Y5V#;`w&Nk(Y*j0RQvuiJlMJq;WL2en6SPVK%w@a+IR2sJbTF0000)@-@p-!f-&O8WPcXCL2rdHiwf{6j@0oAn;NY`L4VeB=30 z7Dl&hKaJ_@SM&&$s>ByhZ`O}JtaRsZY3{aifr6&LWs8JA87<=aGi8DH7u7X>K-ci4 eMtG+A`Z8z%*&IL&0+)g(gD6i|KbLh*2~7aTgI9L| literal 0 HcmV?d00001 diff --git a/gmtk_2024/textures/cursor_scale_down.png b/gmtk_2024/textures/cursor_scale_down.png new file mode 100644 index 0000000000000000000000000000000000000000..2541297495608f48aae0f7d7199f1462e201bd4c GIT binary patch literal 280 zcmeAS@N?(olHy`uVBq!ia0vp@KrF<;1|%D@LyUkFV{wqX6T`Z5GB1G~mUKs7M+SzC z{oH>NS%Lf&o-U3d7XDKwdGj?J@VLB{TiP8r(RX@Im8;lZuTv8KDMHIz)LGe=JU_|4 z)A6HX*KwBA<7%s{^eau};`AMbE-zEn>2`R;W*IbtX~A^YYmalEE9cKI{k=4Grkd^3 z)cAdyB6*E0Okb!tNp5-hWlcN~_OjS_0xqeAp$P^LT zotbJWNwY+zPwD)q;IX%I{epj{8IwGf_sl%OALH$5Q=X`22Xr%EYJ_K+uP=iZkj(+a TAaE&oGKlhY^>bP0l+XkKiZ)!lvI6;=JzX3_Ec~xdvKBgIz~i!3#3ZJ1R+n;6k;|$pF^z4Qf1&!YYPqqYrI5u}-C^!PfD+vg*5)c6rn9-#+s9 z=cb!U`?r_`FMa)UN&K$zJ)pVO-7vd@VlCMWeZh5tHEDEl1d_&fW8%H(Ss(w5dRen`ta%W*948PNHB fsS%!OzP=1vKsE;ugTSTW$so$p)z4*}Q$iB}m78s* literal 0 HcmV?d00001