basically function but needs a lot of refinement

This commit is contained in:
2024-04-23 03:24:23 -05:00
parent 3ac7bf33c4
commit d3beca8014
26 changed files with 985 additions and 345 deletions

View File

@@ -2,10 +2,10 @@
[ext_resource type="PackedScene" uid="uid://b7pebyti48f7b" path="res://row.tscn" id="1_numg7"]
[ext_resource type="Script" path="res://game.cs" id="1_vl33u"]
[ext_resource type="Script" path="res://UnassignedCardPanel.cs" id="3_dbs2t"]
[ext_resource type="Script" path="res://PictureDropHandler.cs" id="3_owd27"]
[ext_resource type="Script" path="res://TwitchChatWatcher.cs" id="5_qurdj"]
[ext_resource type="Script" path="res://CommandHandler.cs" id="5_yfhlo"]
[ext_resource type="PackedScene" uid="uid://jm7tss267q8y" path="res://settings_popup.tscn" id="6_e1cou"]
[ext_resource type="PackedScene" uid="uid://dxvues6b3g2tn" path="res://card_edit_popup.tscn" id="6_eqvov"]
[node name="Game" type="Control"]
layout_mode = 3
@@ -18,7 +18,7 @@ size_flags_vertical = 3
script = ExtResource("1_vl33u")
_CardSize = Vector2(150, 150)
[node name="GameContainer" type="VBoxContainer" parent="."]
[node name="GameScrollContainer" type="ScrollContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -26,46 +26,57 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="RowContainer" type="VBoxContainer" parent="GameContainer"]
[node name="GameContainer" type="VBoxContainer" parent="GameScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="RowContainer" type="VBoxContainer" parent="GameScrollContainer/GameContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
[node name="Row_A" parent="GameContainer/RowContainer" instance=ExtResource("1_numg7")]
[node name="Row_A" parent="GameScrollContainer/GameContainer/RowContainer" instance=ExtResource("1_numg7")]
layout_mode = 2
_RowColor = Color(0.964706, 0.482353, 0.494118, 1)
_RowText = "A"
RowId = "1"
[node name="Row_B" parent="GameContainer/RowContainer" instance=ExtResource("1_numg7")]
[node name="Row_B" parent="GameScrollContainer/GameContainer/RowContainer" instance=ExtResource("1_numg7")]
layout_mode = 2
_RowColor = Color(0.996078, 0.878431, 0.541176, 1)
_RowText = "B"
RowId = "2"
[node name="Row_C" parent="GameContainer/RowContainer" instance=ExtResource("1_numg7")]
[node name="Row_C" parent="GameScrollContainer/GameContainer/RowContainer" instance=ExtResource("1_numg7")]
layout_mode = 2
_RowColor = Color(0.988235, 1, 0.494118, 1)
_RowText = "C"
RowId = "3"
[node name="Row_D" parent="GameContainer/RowContainer" instance=ExtResource("1_numg7")]
[node name="Row_D" parent="GameScrollContainer/GameContainer/RowContainer" instance=ExtResource("1_numg7")]
layout_mode = 2
_RowColor = Color(0.639216, 0.937255, 0.34902, 1)
_RowText = "D"
RowId = "4"
[node name="Row_F" parent="GameContainer/RowContainer" instance=ExtResource("1_numg7")]
[node name="Row_F" parent="GameScrollContainer/GameContainer/RowContainer" instance=ExtResource("1_numg7")]
layout_mode = 2
_RowColor = Color(0.298039, 0.87451, 0.952941, 1)
_RowText = "F"
RowId = "5"
[node name="PictureDropHandler" type="Control" parent="."]
[node name="UnassignedCardPanel" type="PanelContainer" parent="GameScrollContainer/GameContainer"]
layout_mode = 2
size_flags_vertical = 3
script = ExtResource("3_dbs2t")
[node name="UnassignedCardContainer" type="HFlowContainer" parent="GameScrollContainer/GameContainer/UnassignedCardPanel"]
unique_name_in_owner = true
layout_mode = 2
[node name="PictureDropHandler" type="Node" parent="."]
unique_name_in_owner = true
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("3_owd27")
[node name="CardContextMenu" type="PopupMenu" parent="."]
@@ -80,12 +91,10 @@ item_count = 1
item_0/text = ""
item_0/id = 0
[node name="TwitchChatWatcher" type="Node" parent="."]
script = ExtResource("5_qurdj")
[node name="CommandHandler" type="Node" parent="."]
script = ExtResource("5_yfhlo")
[node name="SettingsPopup" parent="." instance=ExtResource("6_e1cou")]
unique_name_in_owner = true
visible = false
[connection signal="IncomingCommand" from="TwitchChatWatcher" to="CommandHandler" method="IncomingCommand"]
[node name="CardEditPopup" parent="." instance=ExtResource("6_eqvov")]
unique_name_in_owner = true
visible = false