diff --git a/addons/enhanced_gridmap/meshlibrary/default.tres b/addons/enhanced_gridmap/meshlibrary/default.tres index 94b5d2d..3dba62a 100644 --- a/addons/enhanced_gridmap/meshlibrary/default.tres +++ b/addons/enhanced_gridmap/meshlibrary/default.tres @@ -1,99 +1,19 @@ -[gd_resource type="MeshLibrary" load_steps=17 format=4 uid="uid://54tpx8cmksfc"] +[gd_resource type="MeshLibrary" load_steps=11 format=3 uid="uid://54tpx8cmksfc"] [ext_resource type="ArrayMesh" uid="uid://dqguomxd16u0i" path="res://assets/models/meshes/start.res" id="1_xdwel"] [ext_resource type="ArrayMesh" uid="uid://dspusnbkr74hg" path="res://assets/models/meshes/hover.res" id="2_5gp4i"] [ext_resource type="Material" uid="uid://bsyh0x4cy5qyr" path="res://assets/models/meshes/end.tres" id="3_qi66w"] -[ext_resource type="Texture2D" uid="uid://dpkx1a780pvwv" path="res://assets/textures/tile_diamond.png" id="3_xej11"] [ext_resource type="ArrayMesh" uid="uid://d4himvyb81in8" path="res://assets/models/meshes/non-walkable.res" id="4_h83ju"] [ext_resource type="ArrayMesh" uid="uid://bgvropltcot0q" path="res://assets/models/meshes/normal.res" id="5_san4u"] [ext_resource type="ArrayMesh" uid="uid://36tgon3b60db" path="res://assets/models/tiles/tile_heart.tres" id="6_r6sve"] +[ext_resource type="ArrayMesh" uid="uid://dr80txgr61irt" path="res://assets/models/tiles/tile_diamond.tres" id="8_rj3ss"] [ext_resource type="ArrayMesh" uid="uid://b5ta7tcw0iscd" path="res://assets/models/tiles/tile_coin.tres" id="9_44311"] - -[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2vf4e"] -resource_name = "boost" -transparency = 1 -cull_mode = 2 -albedo_color = Color(0.91, 0.91, 0.91, 0.45098) -albedo_texture = ExtResource("3_xej11") - -[sub_resource type="ArrayMesh" id="ArrayMesh_0hihf"] -_surfaces = [{ -"aabb": AABB(-0.282176, -0.000324821, -0.282176, 0.564351, 0.050792, 0.564351), -"format": 34896613377, -"index_count": 36, -"index_data": PackedByteArray("BwAEAAUABwAGAAQABQACAAMABQAEAAIAAAAEAAYAAAACAAQABQABAAcABQADAAEAAgABAAMAAgAAAAEAAQAGAAcAAQAAAAYA"), -"name": "boost", -"primitive": 3, -"uv_scale": Vector4(0, 0, 0, 0), -"vertex_count": 8, -"vertex_data": PackedByteArray("AAD/////AAAAAP7/AAAAAP///////wAA///+/wAAAAD//wAA//8AAP//AAAAAAAAAAAAAP//AAAAAAAAAAAAAA==") -}] -blend_shape_mode = 0 - -[sub_resource type="ArrayMesh" id="ArrayMesh_3eode"] -resource_name = "tile_diamond" -_surfaces = [{ -"aabb": AABB(-0.282176, -0.000324821, -0.282176, 0.564351, 0.050792, 0.564351), -"attribute_data": PackedByteArray("sPss5W0hot47+9DosPv6720hXCE7+6/6sPvl75Heot6r9qfksPu0+pHeXCHM5KfkSvvl78X6sfqr9kDkSvu0+sX6tuTM5EDkSvss5c7ksfrU+tDoSvv6787ktuTU+q/6"), -"format": 34896613399, -"index_count": 36, -"index_data": PackedByteArray("FgANABAAFgATAA0AEQAIAAsAEQAOAAgAAAAMABIAAAAGAAwADwADABUADwAJAAMABwAEAAoABwABAAQABQAUABcABQACABQA"), -"material": SubResource("StandardMaterial3D_2vf4e"), -"name": "tile_coin_diamond", -"primitive": 3, -"uv_scale": Vector4(0, 0, 0, 0), -"vertex_count": 24, -"vertex_data": PackedByteArray("AAD//////78AAP//////vwAA/////6oqAAD+/wAAAAAAAP7/AAD/vwAA/v8AAKoq/////////7//////////v//////////////+/wAAAAD///7/AAD/v////v8AAP////8AAP///7///wAA////P///AAD///////8AAAAAAAD//wAAAAD/P///AAAAAP//AAAAAP///78AAAAA////PwAAAAD//6oqAAAAAAAAAAAAAAAAAAD/PwAAAAAAAKoq/////////39U1VTV/7//v////39U1VTV/////////3//v/9//7//v////3//v/9//////wAA/3//v/9//7//vwAA/3//v/9//////wAA/39U1VTV/7//vwAA/39U1VTV") -}] -blend_shape_mode = 0 -shadow_mesh = SubResource("ArrayMesh_0hihf") +[ext_resource type="ArrayMesh" uid="uid://cv4bedhida00g" path="res://assets/models/tiles/tile_star.tres" id="9_y8bbi"] [sub_resource type="PlaneMesh" id="PlaneMesh_ti6kf"] material = ExtResource("3_qi66w") size = Vector2(1, 1) -[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_3rnsi"] -load_path = "res://.godot/imported/tile_star.png-a6668e97668152283af0c5d51d859399.s3tc.ctex" - -[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7evl5"] -resource_name = "boost" -transparency = 1 -cull_mode = 2 -albedo_color = Color(0.91, 0.91, 0.91, 0.45098) -albedo_texture = SubResource("CompressedTexture2D_3rnsi") - -[sub_resource type="ArrayMesh" id="ArrayMesh_dp2ba"] -_surfaces = [{ -"aabb": AABB(-0.282176, -0.000324821, -0.282176, 0.564351, 0.050792, 0.564351), -"format": 34896613377, -"index_count": 36, -"index_data": PackedByteArray("BwAEAAUABwAGAAQABQACAAMABQAEAAIAAAAEAAYAAAACAAQABQABAAcABQADAAEAAgABAAMAAgAAAAEAAQAGAAcAAQAAAAYA"), -"name": "boost", -"primitive": 3, -"uv_scale": Vector4(0, 0, 0, 0), -"vertex_count": 8, -"vertex_data": PackedByteArray("AAD/////AAAAAP7/AAAAAP///////wAA///+/wAAAAD//wAA//8AAP//AAAAAAAAAAAAAP//AAAAAAAAAAAAAA==") -}] -blend_shape_mode = 0 - -[sub_resource type="ArrayMesh" id="ArrayMesh_mdvhl"] -resource_name = "tile_star" -_surfaces = [{ -"aabb": AABB(-0.282176, -0.000324821, -0.282176, 0.564351, 0.050792, 0.564351), -"attribute_data": PackedByteArray("sPss5W0hot47+9DosPv6720hXCE7+6/6sPvl75Heot6r9qfksPu0+pHeXCHM5KfkSvvl78X6sfqr9kDkSvu0+sX6tuTM5EDkSvss5c7ksfrU+tDoSvv6787ktuTU+q/6"), -"format": 34896613399, -"index_count": 36, -"index_data": PackedByteArray("FgANABAAFgATAA0AEQAIAAsAEQAOAAgAAAAMABIAAAAGAAwADwADABUADwAJAAMABwAEAAoABwABAAQABQAUABcABQACABQA"), -"material": SubResource("StandardMaterial3D_7evl5"), -"name": "tile_star_mat", -"primitive": 3, -"uv_scale": Vector4(0, 0, 0, 0), -"vertex_count": 24, -"vertex_data": PackedByteArray("AAD//////78AAP//////vwAA/////6oqAAD+/wAAAAAAAP7/AAD/vwAA/v8AAKoq/////////7//////////v//////////////+/wAAAAD///7/AAD/v////v8AAP////8AAP///7///wAA////P///AAD///////8AAAAAAAD//wAAAAD/P///AAAAAP//AAAAAP///78AAAAA////PwAAAAD//6oqAAAAAAAAAAAAAAAAAAD/PwAAAAAAAKoq/////////39U1VTV/7//v////39U1VTV/////////3//v/9//7//v////3//v/9//////wAA/3//v/9//7//vwAA/3//v/9//////wAA/39U1VTV/7//vwAA/39U1VTV") -}] -blend_shape_mode = 0 -shadow_mesh = SubResource("ArrayMesh_dp2ba") - [resource] item/0/name = "normal" item/0/mesh = ExtResource("1_xdwel") @@ -137,21 +57,26 @@ item/7/mesh_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.9, 0) item/7/shapes = [] item/7/navigation_mesh_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) item/7/navigation_layers = 1 -item/8/name = "tile_star" -item/8/mesh = SubResource("ArrayMesh_mdvhl") +item/8/name = "tile_diamond" +item/8/mesh = ExtResource("8_rj3ss") item/8/mesh_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.9, 0) item/8/shapes = [] item/8/navigation_mesh_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) item/8/navigation_layers = 1 -item/9/name = "tile_coin" -item/9/mesh = ExtResource("9_44311") +item/9/name = "tile_star" +item/9/mesh = ExtResource("9_y8bbi") item/9/mesh_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.9, 0) item/9/shapes = [] item/9/navigation_mesh_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) item/9/navigation_layers = 1 -item/10/name = "tile_diamond" -item/10/mesh = SubResource("ArrayMesh_3eode") +item/10/name = "tile_coin" +item/10/mesh = ExtResource("9_44311") item/10/mesh_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.9, 0) item/10/shapes = [] item/10/navigation_mesh_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) item/10/navigation_layers = 1 +item/11/name = "" +item/11/mesh_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) +item/11/shapes = [] +item/11/navigation_mesh_transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) +item/11/navigation_layers = 1 diff --git a/tiles_armagedon_a1.res b/assets/models/meshes/tiles_armagedon_a1.res similarity index 100% rename from tiles_armagedon_a1.res rename to assets/models/meshes/tiles_armagedon_a1.res diff --git a/scenes/main.gd b/scenes/main.gd index e2529e8..d01ae49 100644 --- a/scenes/main.gd +++ b/scenes/main.gd @@ -180,9 +180,32 @@ func _on_playerboard_slot_clicked(event, slot_index): ActionState.PUTTING: local_player_character.handle_put_slot_selected(slot_index) +func update_goals_ui(): + if not local_player_character: + return + + for i in range(9): # 9 slots in the goals UI + var slot = $PlayergoalsUI.get_child(i) + var goal_value = local_player_character.goals[i] + + # Hide all tile textures first + slot.get_node("TileHeart").hide() + slot.get_node("TileDiamond").hide() + slot.get_node("TileStar").hide() + slot.get_node("TileCoin").hide() + + # Show the appropriate texture based on goal value + match goal_value: + 7: slot.get_node("TileHeart").show() + 8: slot.get_node("TileDiamond").show() + 9: slot.get_node("TileStar").show() + 10: slot.get_node("TileCoin").show() + func update_playerboard_ui(): if not local_player_character: return + + update_goals_ui() # Update goals UI whenever playerboard updates for i in range(25): var slot = playerboard_ui.get_child(i) @@ -270,6 +293,7 @@ func add_player_character(peer_id): local_player_character = player_character update_button_states() update_playerboard_ui() + update_goals_ui() func add_bot(bot_id): rpc("create_bot", bot_id) diff --git a/scenes/main.tscn b/scenes/main.tscn index f63cdfc..dcb4362 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=14 format=3 uid="uid://dxn87yj8qnfpp"] +[gd_scene load_steps=18 format=3 uid="uid://dxn87yj8qnfpp"] [ext_resource type="MeshLibrary" uid="uid://54tpx8cmksfc" path="res://addons/enhanced_gridmap/meshlibrary/default.tres" id="1_110wo"] [ext_resource type="Script" path="res://scenes/main.gd" id="1_xcpe3"] @@ -7,11 +7,15 @@ [ext_resource type="StyleBox" uid="uid://dlw1ogamn741n" path="res://assets/styles/box_flat.tres" id="5_dvx6y"] [ext_resource type="Texture2D" uid="uid://2yrc6rl4dmd8" path="res://assets/textures/player_board_and_blue_print/tile_null.tres" id="6_2vy7d"] [ext_resource type="Texture2D" uid="uid://cwxgdi7b4ps40" path="res://assets/textures/Hilight.png" id="7_2nq2l"] +[ext_resource type="Texture2D" uid="uid://bhg7uhpdxksno" path="res://assets/textures/player_board_and_blue_print/tile_star.tres" id="7_icbqr"] [ext_resource type="Texture2D" uid="uid://c2bj21abtgda1" path="res://assets/models/pboard/HighlightRect.tres" id="7_vv0nt"] [ext_resource type="Texture2D" uid="uid://0wjk16jlgfq" path="res://assets/models/pboard/SelectRect.tres" id="8_8meci"] [ext_resource type="Texture2D" uid="uid://dojnv8o6we4ey" path="res://assets/textures/Selected.png" id="8_b18m4"] +[ext_resource type="Texture2D" uid="uid://u378heff6oio" path="res://assets/textures/player_board_and_blue_print/tile_heart.tres" id="8_dqhc7"] [ext_resource type="Texture2D" uid="uid://68x88jj25yxg" path="res://assets/textures/Adjacent.png" id="9_6gcb6"] [ext_resource type="Texture2D" uid="uid://dasaeaytvhll0" path="res://assets/models/pboard/AdjacentRect.tres" id="9_aspsw"] +[ext_resource type="Texture2D" uid="uid://cq80fn561r2jm" path="res://assets/textures/player_board_and_blue_print/tile_diamond.tres" id="9_uyhwp"] +[ext_resource type="Texture2D" uid="uid://3m65qapks1kp" path="res://assets/textures/player_board_and_blue_print/tile_coin.tres" id="10_lkxas"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1cewu"] @@ -53,6 +57,413 @@ offset_bottom = 59.0 grow_horizontal = 2 theme_override_styles/panel = ExtResource("5_dvx6y") +[node name="PlayergoalsUI" type="GridContainer" parent="."] +anchors_preset = 2 +anchor_top = 1.0 +anchor_bottom = 1.0 +offset_left = 40.0 +offset_top = -392.0 +offset_right = 156.0 +offset_bottom = -276.0 +grow_vertical = 0 +columns = 3 + +[node name="Slot1" type="TextureRect" parent="PlayergoalsUI"] +layout_mode = 2 +texture = ExtResource("6_2vy7d") + +[node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_dqhc7") + +[node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_uyhwp") + +[node name="TileStar" type="TextureRect" parent="PlayergoalsUI/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_icbqr") + +[node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot1"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_lkxas") + +[node name="Slot2" type="TextureRect" parent="PlayergoalsUI"] +layout_mode = 2 +texture = ExtResource("6_2vy7d") + +[node name="TileStar" type="TextureRect" parent="PlayergoalsUI/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_icbqr") + +[node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_dqhc7") + +[node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_uyhwp") + +[node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot2"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_lkxas") + +[node name="Slot3" type="TextureRect" parent="PlayergoalsUI"] +layout_mode = 2 +texture = ExtResource("6_2vy7d") + +[node name="TileStar" type="TextureRect" parent="PlayergoalsUI/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_icbqr") + +[node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_dqhc7") + +[node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_uyhwp") + +[node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot3"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_lkxas") + +[node name="Slot4" type="TextureRect" parent="PlayergoalsUI"] +layout_mode = 2 +texture = ExtResource("6_2vy7d") + +[node name="TileStar" type="TextureRect" parent="PlayergoalsUI/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_icbqr") + +[node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_dqhc7") + +[node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_uyhwp") + +[node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot4"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_lkxas") + +[node name="Slot5" type="TextureRect" parent="PlayergoalsUI"] +layout_mode = 2 +texture = ExtResource("6_2vy7d") + +[node name="TileStar" type="TextureRect" parent="PlayergoalsUI/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_icbqr") + +[node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_dqhc7") + +[node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_uyhwp") + +[node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot5"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_lkxas") + +[node name="Slot6" type="TextureRect" parent="PlayergoalsUI"] +layout_mode = 2 +texture = ExtResource("6_2vy7d") + +[node name="TileStar" type="TextureRect" parent="PlayergoalsUI/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_icbqr") + +[node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_dqhc7") + +[node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_uyhwp") + +[node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot6"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_lkxas") + +[node name="Slot7" type="TextureRect" parent="PlayergoalsUI"] +layout_mode = 2 +texture = ExtResource("6_2vy7d") + +[node name="TileStar" type="TextureRect" parent="PlayergoalsUI/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_icbqr") + +[node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_dqhc7") + +[node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_uyhwp") + +[node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot7"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_lkxas") + +[node name="Slot8" type="TextureRect" parent="PlayergoalsUI"] +layout_mode = 2 +texture = ExtResource("6_2vy7d") + +[node name="TileStar" type="TextureRect" parent="PlayergoalsUI/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_icbqr") + +[node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_dqhc7") + +[node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_uyhwp") + +[node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot8"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_lkxas") + +[node name="Slot9" type="TextureRect" parent="PlayergoalsUI"] +layout_mode = 2 +texture = ExtResource("6_2vy7d") + +[node name="TileStar" type="TextureRect" parent="PlayergoalsUI/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("7_icbqr") + +[node name="TileHeart" type="TextureRect" parent="PlayergoalsUI/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_dqhc7") + +[node name="TileDiamond" type="TextureRect" parent="PlayergoalsUI/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("9_uyhwp") + +[node name="TileCoin" type="TextureRect" parent="PlayergoalsUI/Slot9"] +visible = false +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("10_lkxas") + [node name="PlayerboardUI" type="GridContainer" parent="."] clip_contents = true anchors_preset = 2