feat: Implement the main game scene with manager initialization, comprehensive UI setup including a dynamic message bar, tile respawn logic, and core multiplayer integration.

This commit is contained in:
Yogi Wiguna
2026-02-06 12:30:20 +08:00
parent e34a7467d0
commit b3c044e1e9
10 changed files with 1182 additions and 136 deletions
+26
View File
@@ -0,0 +1,26 @@
shader_type canvas_item;
// Positive values lean right, negative lean left
uniform float skew_x : hint_range(-2.0, 2.0) = 0.0;
// Positive values lean down, negative lean up
uniform float skew_y : hint_range(-2.0, 2.0) = 0.0;
void vertex() {
// 1. Get the size of the Control node
vec2 size = 1.0 / TEXTURE_PIXEL_SIZE;
// 2. Move the pivot to the center for a natural tilt
// Without this, it skews from the top-left corner
VERTEX -= size * 0.5;
// 3. Apply the Skew math
// We use a temporary variable so the calculations don't interfere
float old_x = VERTEX.x;
float old_y = VERTEX.y;
VERTEX.x = old_x + (old_y * skew_x);
VERTEX.y = old_y + (old_x * skew_y);
// 4. Move back from the center
VERTEX += size * 0.5;
}
+1
View File
@@ -0,0 +1 @@
uid://blkxmiijmkakh
+21
View File
@@ -0,0 +1,21 @@
shader_type canvas_item;
// Photoshop-style corner offsets in pixels
uniform vec2 top_left = vec2(0.0);
uniform vec2 top_right = vec2(0.0);
uniform vec2 bottom_left = vec2(0.0);
uniform vec2 bottom_right = vec2(0.0);
void vertex() {
// 1. Calculate UV based on the vertex position relative to size
vec2 size = 1.0 / TEXTURE_PIXEL_SIZE;
vec2 uv = VERTEX / size;
// 2. Linear interpolation to find the offset for this specific vertex
// This maps the square to whatever quadrilateral you define
vec2 top_row = mix(top_left, top_right, uv.x);
vec2 bottom_row = mix(bottom_left, bottom_right, uv.x);
vec2 final_offset = mix(top_row, bottom_row, uv.y);
VERTEX += final_offset;
}
+1
View File
@@ -0,0 +1 @@
uid://b4jor2qt7hwxn
+9
View File
@@ -0,0 +1,9 @@
[gd_resource type="ShaderMaterial" format=3 uid="uid://f6wt058avgca"]
[ext_resource type="Shader" uid="uid://b4jor2qt7hwxn" path="res://assets/shaders/tilt_shader.gdshader" id="1_5xkx8"]
[resource]
shader = ExtResource("1_5xkx8")
shader_parameter/x_rot = 0.0
shader_parameter/y_rot = 0.0
shader_parameter/scale = 1.0
+3
View File
@@ -0,0 +1,3 @@
[gd_resource type="ShaderMaterial" format=3 uid="uid://dp3wad2clk6a2"]
[resource]
+18
View File
@@ -1123,6 +1123,24 @@ func _on_leaderboard_updated(sorted_scores: Array):
})
rpc("sync_leaderboard_data", player_data)
# Update player rank visuals for everyone (Client + Server)
var all_players = get_tree().get_nodes_in_group("Players")
var sorted_players = []
for p in all_players:
var peer_id = p.name.to_int()
var score = goals_cycle_manager.get_player_score(peer_id) if goals_cycle_manager else 0
sorted_players.append({"node": p, "score": score})
# Sort by score descending
sorted_players.sort_custom(func(a, b): return a.score > b.score)
# Assign rank
for i in range(sorted_players.size()):
var p_node = sorted_players[i].node
var rank = i + 1
if p_node.has_method("update_rank_visuals"):
p_node.update_rank_visuals(rank)
func _on_global_timer_updated(time_remaining: float):
"""Update the global match timer display."""
var global_timer_panel = get_node_or_null("GlobalMatchTimer")
+1073 -133
View File
@@ -4,6 +4,7 @@
[ext_resource type="Script" uid="uid://co1ads72by6na" path="res://scenes/main.gd" id="1_xcpe3"]
[ext_resource type="Script" uid="uid://bja8ixryvthu0" path="res://addons/enhanced_gridmap/enhanced_gridmap.gd" id="2_hbe1v"]
[ext_resource type="Environment" uid="uid://jbptgqvstei3" path="res://assets/main-environment.tres" id="4_ky38j"]
[ext_resource type="Shader" uid="uid://b4jor2qt7hwxn" path="res://assets/shaders/tilt_shader.gdshader" id="5_dgi5k"]
[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"]
@@ -34,6 +35,20 @@
[ext_resource type="Script" uid="uid://b54tfa0n6kogi" path="res://scripts/managers/touch_controls.gd" id="touch_manager"]
[ext_resource type="Script" uid="uid://djiml4sh61dc1" path="res://scripts/ui/virtual_joystick.gd" id="virtual_joystick"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_dgi5k"]
shader = ExtResource("5_dgi5k")
shader_parameter/top_left = Vector2(0, 0)
shader_parameter/top_right = Vector2(0, 0)
shader_parameter/bottom_left = Vector2(0, 0)
shader_parameter/bottom_right = Vector2(0, 0)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_j8jky"]
shader = ExtResource("5_dgi5k")
shader_parameter/top_left = Vector2(0, 0)
shader_parameter/top_right = Vector2(0, 0)
shader_parameter/bottom_left = Vector2(0, 0)
shader_parameter/bottom_right = Vector2(0, 0)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_playerboard"]
content_margin_left = 8.0
content_margin_top = 8.0
@@ -86,35 +101,31 @@ current = true
fov = 35.5
size = 15.0
[node name="PlayerboardPanel" type="PanelContainer" parent="." unique_id=1098203639]
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 19.0
offset_top = -233.0
offset_right = 232.0
offset_bottom = 7.0
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_playerboard")
[node name="Node2D" type="CanvasGroup" parent="." unique_id=1147917458]
visible = false
material = SubResource("ShaderMaterial_dgi5k")
[node name="PlayerboardUI" type="GridContainer" parent="." unique_id=1467095753]
[node name="PlayerboardUI" type="GridContainer" parent="Node2D" unique_id=1467095753]
clip_contents = true
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 28.0
offset_top = -199.0
offset_right = 224.0
offset_bottom = -3.0
offset_left = 31.170862
offset_top = 70.189735
offset_right = 247.17087
offset_bottom = 286.18973
grow_vertical = 2
scale = Vector2(1.08, 1.08)
pivot_offset = Vector2(108, 108)
size_flags_horizontal = 3
columns = 5
[node name="Slot1" type="TextureRect" parent="PlayerboardUI" unique_id=437579278]
[node name="Slot1" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=437579278]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot1" unique_id=25265642]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot1" unique_id=25265642]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -124,7 +135,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_vv0nt")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot1" unique_id=425101652]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot1" unique_id=425101652]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -134,7 +145,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_8meci")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot1" unique_id=474770972]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot1" unique_id=474770972]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -144,11 +155,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_aspsw")
[node name="Slot2" type="TextureRect" parent="PlayerboardUI" unique_id=2093447516]
[node name="Slot2" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=2093447516]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot2" unique_id=1815496006]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot2" unique_id=1815496006]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -158,7 +170,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot2" unique_id=2070845443]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot2" unique_id=2070845443]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -168,7 +180,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot2" unique_id=80495420]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot2" unique_id=80495420]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -178,11 +190,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot3" type="TextureRect" parent="PlayerboardUI" unique_id=567388197]
[node name="Slot3" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=567388197]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot3" unique_id=1235431548]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot3" unique_id=1235431548]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -192,7 +205,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot3" unique_id=691943234]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot3" unique_id=691943234]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -202,7 +215,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot3" unique_id=2067388138]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot3" unique_id=2067388138]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -212,11 +225,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot4" type="TextureRect" parent="PlayerboardUI" unique_id=1314539282]
[node name="Slot4" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=1314539282]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot4" unique_id=440517067]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot4" unique_id=440517067]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -226,7 +240,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot4" unique_id=430237718]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot4" unique_id=430237718]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -236,7 +250,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot4" unique_id=1072389582]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot4" unique_id=1072389582]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -246,11 +260,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot5" type="TextureRect" parent="PlayerboardUI" unique_id=1422565924]
[node name="Slot5" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=1422565924]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot5" unique_id=1240431710]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot5" unique_id=1240431710]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -260,7 +275,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot5" unique_id=423651528]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot5" unique_id=423651528]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -270,7 +285,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot5" unique_id=617694974]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot5" unique_id=617694974]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -280,11 +295,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot6" type="TextureRect" parent="PlayerboardUI" unique_id=391803586]
[node name="Slot6" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=391803586]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot6" unique_id=2145551174]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot6" unique_id=2145551174]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -294,7 +310,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot6" unique_id=227531604]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot6" unique_id=227531604]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -304,7 +320,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot6" unique_id=2077038349]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot6" unique_id=2077038349]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -314,11 +330,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot7" type="TextureRect" parent="PlayerboardUI" unique_id=1477191713]
[node name="Slot7" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=1477191713]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot7" unique_id=1185991774]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot7" unique_id=1185991774]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -328,7 +345,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot7" unique_id=1566163728]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot7" unique_id=1566163728]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -338,7 +355,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot7" unique_id=1481246844]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot7" unique_id=1481246844]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -348,11 +365,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot8" type="TextureRect" parent="PlayerboardUI" unique_id=938114837]
[node name="Slot8" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=938114837]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot8" unique_id=401721987]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot8" unique_id=401721987]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -362,7 +380,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot8" unique_id=1376951592]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot8" unique_id=1376951592]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -372,7 +390,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot8" unique_id=1102977868]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot8" unique_id=1102977868]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -382,11 +400,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot9" type="TextureRect" parent="PlayerboardUI" unique_id=534534704]
[node name="Slot9" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=534534704]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot9" unique_id=1770346068]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot9" unique_id=1770346068]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -396,7 +415,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot9" unique_id=766423578]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot9" unique_id=766423578]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -406,7 +425,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot9" unique_id=1181489398]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot9" unique_id=1181489398]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -416,11 +435,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot10" type="TextureRect" parent="PlayerboardUI" unique_id=636451025]
[node name="Slot10" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=636451025]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot10" unique_id=1245004854]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot10" unique_id=1245004854]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -430,7 +450,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot10" unique_id=30620563]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot10" unique_id=30620563]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -440,7 +460,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot10" unique_id=1363271414]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot10" unique_id=1363271414]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -450,11 +470,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot11" type="TextureRect" parent="PlayerboardUI" unique_id=2051524509]
[node name="Slot11" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=2051524509]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot11" unique_id=1614021688]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot11" unique_id=1614021688]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -464,7 +485,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot11" unique_id=758281654]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot11" unique_id=758281654]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -474,7 +495,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot11" unique_id=163093378]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot11" unique_id=163093378]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -484,11 +505,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot12" type="TextureRect" parent="PlayerboardUI" unique_id=925276846]
[node name="Slot12" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=925276846]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot12" unique_id=1576858084]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot12" unique_id=1576858084]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -498,7 +520,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot12" unique_id=1873974196]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot12" unique_id=1873974196]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -508,7 +530,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot12" unique_id=900814145]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot12" unique_id=900814145]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -518,11 +540,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot13" type="TextureRect" parent="PlayerboardUI" unique_id=909495835]
[node name="Slot13" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=909495835]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot13" unique_id=1624905781]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot13" unique_id=1624905781]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -532,7 +555,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot13" unique_id=486248413]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot13" unique_id=486248413]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -542,7 +565,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot13" unique_id=422644295]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot13" unique_id=422644295]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -552,11 +575,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot14" type="TextureRect" parent="PlayerboardUI" unique_id=737644860]
[node name="Slot14" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=737644860]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot14" unique_id=1032216015]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot14" unique_id=1032216015]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -566,7 +590,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot14" unique_id=696978614]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot14" unique_id=696978614]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -576,7 +600,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot14" unique_id=1064892480]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot14" unique_id=1064892480]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -586,11 +610,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot15" type="TextureRect" parent="PlayerboardUI" unique_id=1136147007]
[node name="Slot15" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=1136147007]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot15" unique_id=1580182980]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot15" unique_id=1580182980]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -600,7 +625,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot15" unique_id=1765391901]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot15" unique_id=1765391901]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -610,7 +635,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot15" unique_id=133958212]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot15" unique_id=133958212]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -620,11 +645,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot16" type="TextureRect" parent="PlayerboardUI" unique_id=2109205430]
[node name="Slot16" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=2109205430]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot16" unique_id=446182783]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot16" unique_id=446182783]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -634,7 +660,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot16" unique_id=1827753928]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot16" unique_id=1827753928]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -644,7 +670,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot16" unique_id=1344057414]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot16" unique_id=1344057414]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -654,11 +680,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot17" type="TextureRect" parent="PlayerboardUI" unique_id=351204899]
[node name="Slot17" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=351204899]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot17" unique_id=1640516746]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot17" unique_id=1640516746]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -668,7 +695,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot17" unique_id=132867691]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot17" unique_id=132867691]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -678,7 +705,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot17" unique_id=803227694]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot17" unique_id=803227694]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -688,11 +715,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot18" type="TextureRect" parent="PlayerboardUI" unique_id=536350471]
[node name="Slot18" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=536350471]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot18" unique_id=212705071]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot18" unique_id=212705071]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -702,7 +730,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot18" unique_id=1101007998]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot18" unique_id=1101007998]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -712,7 +740,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot18" unique_id=1030093572]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot18" unique_id=1030093572]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -722,11 +750,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot19" type="TextureRect" parent="PlayerboardUI" unique_id=1461676840]
[node name="Slot19" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=1461676840]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot19" unique_id=1439023536]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot19" unique_id=1439023536]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -736,7 +765,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot19" unique_id=1264764326]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot19" unique_id=1264764326]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -746,7 +775,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot19" unique_id=299709465]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot19" unique_id=299709465]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -756,11 +785,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot20" type="TextureRect" parent="PlayerboardUI" unique_id=542215590]
[node name="Slot20" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=542215590]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot20" unique_id=1169738682]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot20" unique_id=1169738682]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -770,7 +800,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot20" unique_id=208032353]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot20" unique_id=208032353]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -780,7 +810,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot20" unique_id=1033462955]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot20" unique_id=1033462955]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -790,11 +820,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot21" type="TextureRect" parent="PlayerboardUI" unique_id=439690507]
[node name="Slot21" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=439690507]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot21" unique_id=692211878]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot21" unique_id=692211878]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -804,7 +835,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot21" unique_id=594256606]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot21" unique_id=594256606]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -814,7 +845,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot21" unique_id=1772295337]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot21" unique_id=1772295337]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -824,11 +855,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot22" type="TextureRect" parent="PlayerboardUI" unique_id=1746946315]
[node name="Slot22" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=1746946315]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot22" unique_id=1547273425]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot22" unique_id=1547273425]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -838,7 +870,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot22" unique_id=1649825132]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot22" unique_id=1649825132]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -848,7 +880,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot22" unique_id=1471131645]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot22" unique_id=1471131645]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -858,11 +890,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot23" type="TextureRect" parent="PlayerboardUI" unique_id=1913562869]
[node name="Slot23" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=1913562869]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot23" unique_id=268623096]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot23" unique_id=268623096]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -872,7 +905,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot23" unique_id=1421300869]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot23" unique_id=1421300869]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -882,7 +915,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot23" unique_id=163510096]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot23" unique_id=163510096]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -892,11 +925,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot24" type="TextureRect" parent="PlayerboardUI" unique_id=1467291481]
[node name="Slot24" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=1467291481]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot24" unique_id=2015669012]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot24" unique_id=2015669012]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -906,7 +940,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot24" unique_id=1880311014]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot24" unique_id=1880311014]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -916,7 +950,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot24" unique_id=1906720138]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot24" unique_id=1906720138]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -926,11 +960,12 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="Slot25" type="TextureRect" parent="PlayerboardUI" unique_id=350944223]
[node name="Slot25" type="TextureRect" parent="Node2D/PlayerboardUI" unique_id=350944223]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot25" unique_id=1747417979]
[node name="HighlightRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot25" unique_id=1747417979]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -940,7 +975,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("7_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot25" unique_id=1587427271]
[node name="SelectRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot25" unique_id=1587427271]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -950,7 +985,7 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot25" unique_id=597526788]
[node name="AdjacentRect" type="TextureRect" parent="Node2D/PlayerboardUI/Slot25" unique_id=597526788]
visible = false
layout_mode = 1
anchors_preset = 15
@@ -960,6 +995,912 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("9_6gcb6")
[node name="PlayerboardPanel" type="PanelContainer" parent="." unique_id=1098203639]
material = SubResource("ShaderMaterial_j8jky")
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 25.0
offset_top = -309.0
offset_right = 282.0
offset_bottom = -61.0
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_playerboard")
[node name="PlayerboardUI" type="GridContainer" parent="." unique_id=48093356]
clip_contents = true
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 37.0
offset_top = -302.0
offset_right = 253.0
offset_bottom = -86.0
grow_vertical = 2
scale = Vector2(1.08, 1.08)
size_flags_horizontal = 3
columns = 5
[node name="Slot1" type="TextureRect" parent="PlayerboardUI" unique_id=1399081516]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot1" unique_id=73796370]
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_vv0nt")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot1" unique_id=1419479429]
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_8meci")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot1" unique_id=280168514]
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_aspsw")
[node name="Slot2" type="TextureRect" parent="PlayerboardUI" unique_id=462730820]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot2" unique_id=1975520133]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot2" unique_id=1608039666]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot2" unique_id=34878910]
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_6gcb6")
[node name="Slot3" type="TextureRect" parent="PlayerboardUI" unique_id=1883039379]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot3" unique_id=128555296]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot3" unique_id=1985613689]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot3" unique_id=1744577453]
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_6gcb6")
[node name="Slot4" type="TextureRect" parent="PlayerboardUI" unique_id=162585145]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot4" unique_id=1878819233]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot4" unique_id=1292098113]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot4" unique_id=1504241456]
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_6gcb6")
[node name="Slot5" type="TextureRect" parent="PlayerboardUI" unique_id=1644684927]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot5" unique_id=64305041]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot5" unique_id=1190668306]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot5" unique_id=222315602]
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_6gcb6")
[node name="Slot6" type="TextureRect" parent="PlayerboardUI" unique_id=481932710]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot6" unique_id=191595590]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot6" unique_id=928765606]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot6" unique_id=294354992]
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_6gcb6")
[node name="Slot7" type="TextureRect" parent="PlayerboardUI" unique_id=1184367354]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot7" unique_id=2112625734]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot7" unique_id=1761236766]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot7" unique_id=874391367]
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_6gcb6")
[node name="Slot8" type="TextureRect" parent="PlayerboardUI" unique_id=1244318204]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot8" unique_id=755408237]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot8" unique_id=640314117]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot8" unique_id=1529176319]
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_6gcb6")
[node name="Slot9" type="TextureRect" parent="PlayerboardUI" unique_id=2073068517]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot9" unique_id=733008534]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot9" unique_id=288656621]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot9" unique_id=857038803]
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_6gcb6")
[node name="Slot10" type="TextureRect" parent="PlayerboardUI" unique_id=1184621406]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot10" unique_id=7279465]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot10" unique_id=1097751170]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot10" unique_id=1699961786]
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_6gcb6")
[node name="Slot11" type="TextureRect" parent="PlayerboardUI" unique_id=1688573384]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot11" unique_id=226280733]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot11" unique_id=1998225844]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot11" unique_id=1180311453]
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_6gcb6")
[node name="Slot12" type="TextureRect" parent="PlayerboardUI" unique_id=644780641]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot12" unique_id=652930136]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot12" unique_id=1699088104]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot12" unique_id=1072407377]
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_6gcb6")
[node name="Slot13" type="TextureRect" parent="PlayerboardUI" unique_id=591046129]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot13" unique_id=797546522]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot13" unique_id=1767468123]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot13" unique_id=366226154]
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_6gcb6")
[node name="Slot14" type="TextureRect" parent="PlayerboardUI" unique_id=238780074]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot14" unique_id=1273869281]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot14" unique_id=1037905262]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot14" unique_id=944771687]
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_6gcb6")
[node name="Slot15" type="TextureRect" parent="PlayerboardUI" unique_id=1663725669]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot15" unique_id=1891754186]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot15" unique_id=93476819]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot15" unique_id=609689370]
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_6gcb6")
[node name="Slot16" type="TextureRect" parent="PlayerboardUI" unique_id=628611489]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot16" unique_id=754328744]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot16" unique_id=1152390013]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot16" unique_id=695895201]
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_6gcb6")
[node name="Slot17" type="TextureRect" parent="PlayerboardUI" unique_id=14337200]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot17" unique_id=1908525374]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot17" unique_id=1938430010]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot17" unique_id=1187550807]
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_6gcb6")
[node name="Slot18" type="TextureRect" parent="PlayerboardUI" unique_id=1450009773]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot18" unique_id=286299595]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot18" unique_id=166221410]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot18" unique_id=324198818]
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_6gcb6")
[node name="Slot19" type="TextureRect" parent="PlayerboardUI" unique_id=863242693]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot19" unique_id=739753928]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot19" unique_id=1396505845]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot19" unique_id=233557579]
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_6gcb6")
[node name="Slot20" type="TextureRect" parent="PlayerboardUI" unique_id=2086008463]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot20" unique_id=1608997623]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot20" unique_id=1826090845]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot20" unique_id=1046262306]
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_6gcb6")
[node name="Slot21" type="TextureRect" parent="PlayerboardUI" unique_id=1451444134]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot21" unique_id=2136156725]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot21" unique_id=606552769]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot21" unique_id=1120516969]
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_6gcb6")
[node name="Slot22" type="TextureRect" parent="PlayerboardUI" unique_id=141949470]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot22" unique_id=1138719122]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot22" unique_id=367089612]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot22" unique_id=441881724]
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_6gcb6")
[node name="Slot23" type="TextureRect" parent="PlayerboardUI" unique_id=1345458769]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot23" unique_id=563959407]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot23" unique_id=948060413]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot23" unique_id=1540856367]
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_6gcb6")
[node name="Slot24" type="TextureRect" parent="PlayerboardUI" unique_id=1840834103]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot24" unique_id=1036547495]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot24" unique_id=703640093]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot24" unique_id=1249854708]
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_6gcb6")
[node name="Slot25" type="TextureRect" parent="PlayerboardUI" unique_id=1179195394]
custom_minimum_size = Vector2(40, 40)
layout_mode = 2
texture = ExtResource("6_2vy7d")
[node name="HighlightRect" type="TextureRect" parent="PlayerboardUI/Slot25" unique_id=797763971]
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_2nq2l")
[node name="SelectRect" type="TextureRect" parent="PlayerboardUI/Slot25" unique_id=125513581]
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_b18m4")
[node name="AdjacentRect" type="TextureRect" parent="PlayerboardUI/Slot25" unique_id=2054303245]
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_6gcb6")
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=2131054934]
offset = Vector2(15, 50)
scale = Vector2(1.11, 1.0303639)
transform = Transform2D(1.11, 0, 0.105, 1.025, 15, 50)
[node name="PlayerBoardLabel" type="Label" parent="." unique_id=341385584]
anchors_preset = 4
anchor_top = 0.5
@@ -976,10 +1917,10 @@ text = "X0"
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_left = 29.0
offset_top = -228.0
offset_right = 149.0
offset_bottom = -202.0
offset_left = 30.0
offset_top = -53.0
offset_right = 150.0
offset_bottom = -27.0
grow_vertical = 2
[node name="HBox" type="HBoxContainer" parent="PowerUpBar" unique_id=334600330]
@@ -1007,6 +1948,18 @@ layout_mode = 2
custom_minimum_size = Vector2(20, 16)
layout_mode = 2
[node name="GoalsTimer" type="PanelContainer" parent="." unique_id=2106663301]
offset_left = 155.0
offset_top = 305.0
offset_right = 187.0
offset_bottom = 333.0
[node name="TimerLabel" type="Label" parent="GoalsTimer" unique_id=466345203]
layout_mode = 2
theme_override_font_sizes/font_size = 14
text = "00"
horizontal_alignment = 1
[node name="ActionMenu" type="Control" parent="." unique_id=1310927215]
visible = false
layout_mode = 3
@@ -1187,8 +2140,6 @@ alignment = 1
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=12971344]
environment = ExtResource("4_ky38j")
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=2131054934]
[node name="AllPlayerGoals" type="HBoxContainer" parent="." unique_id=1868958332]
visible = false
y_sort_enabled = true
@@ -9572,18 +10523,6 @@ theme_override_font_sizes/font_size = 14
text = "0"
horizontal_alignment = 2
[node name="GoalsTimer" type="PanelContainer" parent="." unique_id=2106663301]
offset_left = 160.0
offset_top = 130.0
offset_right = 192.0
offset_bottom = 158.0
[node name="TimerLabel" type="Label" parent="GoalsTimer" unique_id=466345203]
layout_mode = 2
theme_override_font_sizes/font_size = 14
text = "00"
horizontal_alignment = 1
[node name="GlobalMatchTimer" type="PanelContainer" parent="." unique_id=1714357974]
anchors_preset = 5
anchor_left = 0.5
@@ -9605,6 +10544,7 @@ text = "3:00"
horizontal_alignment = 1
[node name="TouchControls" type="CanvasLayer" parent="." unique_id=1390485948]
visible = false
script = ExtResource("touch_manager")
[node name="TouchControls" type="Control" parent="TouchControls" unique_id=1539594058]
+19
View File
@@ -599,6 +599,25 @@ func sync_modulate(color: Color) -> void:
if active_char_node:
_apply_tint_recursive(active_char_node, color)
func update_rank_visuals(rank: int):
var pos_label = get_node_or_null("Position")
if not pos_label:
return
if rank <= 3:
pos_label.visible = true
if race_manager:
pos_label.text = race_manager.get_ordinal_string(rank)
else:
pos_label.text = str(rank)
match rank:
1: pos_label.modulate = Color(0.85, 0.0, 0.0) # Red
2: pos_label.modulate = Color(0.0, 0.0, 1.0) # Blue
3: pos_label.modulate = Color(1.0, 0.9, 0.0) # Yellow
else:
pos_label.visible = false
func _apply_tint_recursive(node: Node, color: Color):
if node is MeshInstance3D:
# Simple way to tint: use material_overlay with an unshaded material if possible,
+11 -3
View File
@@ -99,10 +99,8 @@ mesh = SubResource("CapsuleMesh_l8ldl")
shape = SubResource("SphereShape3D_3oo5r")
[node name="Name" type="Label3D" parent="." unique_id=848046946]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.47085, 0)
visible = false
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.0281162, 0)
billboard = 1
modulate = Color(0.32, 0.614667, 1, 1)
text = "username"
font = SubResource("FontVariation_q2tkp")
font_size = 48
@@ -110,6 +108,16 @@ outline_size = 26
uppercase = true
autowrap_mode = 2
[node name="Position" type="Label3D" parent="." unique_id=482425681]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.83275956, 1.5372815, 0)
billboard = 1
modulate = Color(0.32, 0.614667, 1, 1)
text = "1st"
font = SubResource("FontVariation_q2tkp")
font_size = 62
outline_size = 26
autowrap_mode = 2
[node name="Bubble" type="Sprite3D" parent="." unique_id=1131454414]
transform = Transform3D(0.625, 0, 0, 0, 0.5, 0, 0, 0, 0.625, 0, 2.63593, 0)
visible = false