Files
TierMakerGodot/game.tscn

93 lines
2.7 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://ck0t4k3guvmfm"]
[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"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_yj5pd"]
bg_color = Color(0.788235, 0.788235, 0.788235, 1)
[node name="Game" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_vertical = 3
script = ExtResource("1_vl33u")
_CardSize = Vector2(150, 150)
[node name="GameContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="RowContainer" type="VBoxContainer" parent="GameContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
[node name="Row_A" parent="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")]
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")]
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")]
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")]
layout_mode = 2
_RowColor = Color(0.298039, 0.87451, 0.952941, 1)
_RowText = "F"
RowId = "5"
[node name="UnassignedCardPanel" type="PanelContainer" parent="GameContainer"]
layout_mode = 2
size_flags_vertical = 3
theme_override_styles/panel = SubResource("StyleBoxFlat_yj5pd")
script = ExtResource("3_dbs2t")
[node name="UnassignedCardContainer" type="HFlowContainer" parent="GameContainer/UnassignedCardPanel"]
unique_name_in_owner = true
layout_mode = 2
[node name="PictureDropHandler" type="Control" 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="."]
item_count = 2
item_0/text = "Rename"
item_0/id = 0
item_1/text = "Change Picture"
item_1/id = 1
[node name="RowContextMenu" type="PopupMenu" parent="."]
item_count = 1
item_0/text = ""
item_0/id = 0