SP now in Icon on bottom left of game screen, just above cards.

- Added SP and ST images in icons/
This commit is contained in:
waterss
2026-03-31 11:51:15 -04:00
parent 98822819dc
commit dccdb8a4f8
6 changed files with 154 additions and 47 deletions
@@ -1,8 +1,13 @@
[gd_scene load_steps=3 format=3 uid="uid://b17evi1hw4dqu"]
[gd_scene load_steps=6 format=3 uid="uid://b17evi1hw4dqu"]
[ext_resource type="Script" uid="uid://b8x84lb58h6gx" path="res://scenes/game/game_screen.gd" id="1_gscr"]
[ext_resource type="Texture2D" uid="uid://dvmripj4jux0b" path="res://icons/SP-Symbol-White.png" id="2_056su"]
[ext_resource type="PackedScene" path="res://scenes/game/InGameSettings.tscn" id="2_igs"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_wukpb"]
[sub_resource type="Theme" id="Theme_056su"]
[node name="GameScreen" type="Node3D"]
script = ExtResource("1_gscr")
@@ -54,10 +59,10 @@ vertical_alignment = 1
[node name="TurnOrderStrip" type="HBoxContainer" parent="HUD/TopBar"]
unique_name_in_owner = true
visible = false
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 4
visible = false
[node name="OpponentPanel" type="HBoxContainer" parent="HUD/TopBar"]
unique_name_in_owner = true
@@ -93,6 +98,39 @@ layout_mode = 2
theme_override_font_sizes/font_size = 11
text = "Discard"
[node name="SP-ST Panel Container" type="PanelContainer" parent="HUD"]
offset_left = 12.0
offset_top = 374.0
offset_right = 88.0
offset_bottom = 508.0
theme_override_styles/panel = SubResource("StyleBoxEmpty_wukpb")
[node name="VBoxContainer" type="VBoxContainer" parent="HUD/SP-ST Panel Container"]
layout_mode = 2
alignment = 2
[node name="TextureRect" type="TextureRect" parent="HUD/SP-ST Panel Container/VBoxContainer"]
self_modulate = Color(0, 0.8117647, 0.77254903, 0.38039216)
texture_filter = 5
custom_minimum_size = Vector2(1.78, 76)
layout_mode = 2
theme = SubResource("Theme_056su")
texture = ExtResource("2_056su")
expand_mode = 1
[node name="SpLabel" type="Label" parent="HUD/SP-ST Panel Container/VBoxContainer/TextureRect"]
unique_name_in_owner = true
layout_mode = 0
offset_left = 15.0
offset_top = 5.0
offset_right = 62.0
offset_bottom = 51.0
theme_override_colors/font_color = Color(0.012617188, 0.012617188, 0.012617188, 1)
theme_override_font_sizes/font_size = 33
text = "88"
horizontal_alignment = 1
vertical_alignment = 1
[node name="HandArea" type="PanelContainer" parent="HUD"]
anchors_preset = -1
anchor_top = 1.0
@@ -136,12 +174,6 @@ theme_override_constants/margin_bottom = 8
layout_mode = 2
theme_override_constants/separation = 6
[node name="SpLabel" type="Label" parent="HUD/RightPanel/RightMargin/RightVBox"]
unique_name_in_owner = true
layout_mode = 2
theme_override_font_sizes/font_size = 14
text = "SP: 0"
[node name="StLabel" type="Label" parent="HUD/RightPanel/RightMargin/RightVBox"]
unique_name_in_owner = true
layout_mode = 2
@@ -316,6 +348,39 @@ text = "Return to Main Menu"
[node name="InGameSettings" parent="HUD" instance=ExtResource("2_igs")]
unique_name_in_owner = true
[node name="CamCtrlPanel" type="PanelContainer" parent="HUD"]
unique_name_in_owner = true
visible = false
offset_left = 8.0
offset_top = 56.0
offset_right = 104.0
offset_bottom = 200.0
[node name="CamCtrlVBox" type="VBoxContainer" parent="HUD/CamCtrlPanel"]
layout_mode = 2
theme_override_constants/separation = 4
[node name="CamOrbitBtn" type="Button" parent="HUD/CamCtrlPanel/CamCtrlVBox"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 44)
layout_mode = 2
toggle_mode = true
text = "Orbit"
[node name="CamPanBtn" type="Button" parent="HUD/CamCtrlPanel/CamCtrlVBox"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 44)
layout_mode = 2
toggle_mode = true
text = "Pan"
[node name="CamZoomBtn" type="Button" parent="HUD/CamCtrlPanel/CamCtrlVBox"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 44)
layout_mode = 2
toggle_mode = true
text = "Zoom"
[node name="HoldTimer" type="Timer" parent="."]
unique_name_in_owner = true
wait_time = 0.5
@@ -325,41 +390,3 @@ one_shot = true
unique_name_in_owner = true
wait_time = 3.0
one_shot = true
[node name="CamCtrlPanel" type="PanelContainer" parent="HUD"]
unique_name_in_owner = true
anchors_preset = -1
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 8.0
offset_top = 56.0
offset_right = 104.0
offset_bottom = 200.0
visible = false
[node name="CamCtrlVBox" type="VBoxContainer" parent="HUD/CamCtrlPanel"]
layout_mode = 2
theme_override_constants/separation = 4
[node name="CamOrbitBtn" type="Button" parent="HUD/CamCtrlPanel/CamCtrlVBox"]
unique_name_in_owner = true
layout_mode = 2
custom_minimum_size = Vector2(0, 44)
toggle_mode = true
text = "Orbit"
[node name="CamPanBtn" type="Button" parent="HUD/CamCtrlPanel/CamCtrlVBox"]
unique_name_in_owner = true
layout_mode = 2
custom_minimum_size = Vector2(0, 44)
toggle_mode = true
text = "Pan"
[node name="CamZoomBtn" type="Button" parent="HUD/CamCtrlPanel/CamCtrlVBox"]
unique_name_in_owner = true
layout_mode = 2
custom_minimum_size = Vector2(0, 44)
toggle_mode = true
text = "Zoom"