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 0000000..10ee13e Binary files /dev/null and b/gmtk_2024/textures/BrackableBlock-Sheet.png differ diff --git a/gmtk_2024/textures/cursor_normal.png b/gmtk_2024/textures/cursor_normal.png new file mode 100644 index 0000000..7af18c2 Binary files /dev/null and b/gmtk_2024/textures/cursor_normal.png differ diff --git a/gmtk_2024/textures/cursor_scale_down.png b/gmtk_2024/textures/cursor_scale_down.png new file mode 100644 index 0000000..2541297 Binary files /dev/null and b/gmtk_2024/textures/cursor_scale_down.png differ diff --git a/gmtk_2024/textures/cursor_scale_up.png b/gmtk_2024/textures/cursor_scale_up.png new file mode 100644 index 0000000..c3d888c Binary files /dev/null and b/gmtk_2024/textures/cursor_scale_up.png differ