187 lines
5.8 KiB
Plaintext
187 lines
5.8 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://i5hw0qow332a"]
|
|
|
|
[ext_resource type="Script" path="res://HUD.gd" id="1_4qotk"]
|
|
[ext_resource type="Script" path="res://ToolSelect.gd" id="2_m1iu2"]
|
|
|
|
[node name="HUD" type="PanelContainer"]
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
grow_horizontal = 2
|
|
script = ExtResource("1_4qotk")
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
layout_mode = 2
|
|
|
|
[node name="ToolSelect" type="HBoxContainer" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 2
|
|
script = ExtResource("2_m1iu2")
|
|
|
|
[node name="VBoxContainer" type="HBoxContainer" parent="HBoxContainer/ToolSelect"]
|
|
layout_mode = 2
|
|
|
|
[node name="OptionButton" type="OptionButton" parent="HBoxContainer/ToolSelect/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Create Player" type="VBoxContainer" parent="HBoxContainer/ToolSelect/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Create Pool" type="HBoxContainer" parent="HBoxContainer/ToolSelect/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool"]
|
|
layout_mode = 2
|
|
text = "R:"
|
|
|
|
[node name="Red" type="LineEdit" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool"]
|
|
layout_mode = 2
|
|
text = "100"
|
|
placeholder_text = "0"
|
|
|
|
[node name="Label5" type="Label" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool"]
|
|
layout_mode = 2
|
|
text = "G:"
|
|
|
|
[node name="Green" type="LineEdit" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool"]
|
|
layout_mode = 2
|
|
text = "100"
|
|
placeholder_text = "0"
|
|
max_length = 5
|
|
|
|
[node name="Label4" type="Label" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool"]
|
|
layout_mode = 2
|
|
text = "B:"
|
|
|
|
[node name="Blue" type="LineEdit" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool"]
|
|
layout_mode = 2
|
|
text = "100"
|
|
placeholder_text = "0"
|
|
max_length = 5
|
|
|
|
[node name="Create Pool Circle" type="HBoxContainer" parent="HBoxContainer/ToolSelect/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool Circle"]
|
|
layout_mode = 2
|
|
text = "R:"
|
|
|
|
[node name="Red" type="LineEdit" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool Circle"]
|
|
layout_mode = 2
|
|
text = "100"
|
|
placeholder_text = "0"
|
|
max_length = 5
|
|
|
|
[node name="Label5" type="Label" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool Circle"]
|
|
layout_mode = 2
|
|
text = "G:"
|
|
|
|
[node name="Green" type="LineEdit" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool Circle"]
|
|
layout_mode = 2
|
|
text = "100"
|
|
placeholder_text = "0"
|
|
max_length = 5
|
|
|
|
[node name="Label4" type="Label" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool Circle"]
|
|
layout_mode = 2
|
|
text = "B:"
|
|
|
|
[node name="Blue" type="LineEdit" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool Circle"]
|
|
layout_mode = 2
|
|
text = "100"
|
|
placeholder_text = "0"
|
|
max_length = 5
|
|
|
|
[node name="Label2" type="Label" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool Circle"]
|
|
layout_mode = 2
|
|
text = "Radius:"
|
|
|
|
[node name="Radius" type="LineEdit" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool Circle"]
|
|
layout_mode = 2
|
|
text = "200"
|
|
placeholder_text = "0"
|
|
max_length = 5
|
|
|
|
[node name="Label3" type="Label" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool Circle"]
|
|
layout_mode = 2
|
|
text = "Count:"
|
|
|
|
[node name="Count" type="LineEdit" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Pool Circle"]
|
|
layout_mode = 2
|
|
text = "16"
|
|
placeholder_text = "0"
|
|
max_length = 5
|
|
|
|
[node name="Create Player Circle" type="HBoxContainer" parent="HBoxContainer/ToolSelect/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label2" type="Label" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Player Circle"]
|
|
layout_mode = 2
|
|
text = "Radius:"
|
|
|
|
[node name="Radius" type="LineEdit" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Player Circle"]
|
|
layout_mode = 2
|
|
text = "50"
|
|
placeholder_text = "0"
|
|
max_length = 5
|
|
|
|
[node name="Label3" type="Label" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Player Circle"]
|
|
layout_mode = 2
|
|
text = "Count:"
|
|
|
|
[node name="Count" type="LineEdit" parent="HBoxContainer/ToolSelect/VBoxContainer/Create Player Circle"]
|
|
layout_mode = 2
|
|
text = "16"
|
|
placeholder_text = "0"
|
|
max_length = 5
|
|
|
|
[node name="Paste" type="OptionButton" parent="HBoxContainer/ToolSelect/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Delete" type="VBoxContainer" parent="HBoxContainer/ToolSelect/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Control Player" type="VBoxContainer" parent="HBoxContainer/ToolSelect/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Button" type="Button" parent="HBoxContainer/ToolSelect/VBoxContainer/Control Player"]
|
|
layout_mode = 2
|
|
text = "Stop"
|
|
|
|
[node name="GOD" type="VBoxContainer" parent="HBoxContainer/ToolSelect/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="kill all" type="Button" parent="HBoxContainer/ToolSelect/VBoxContainer/GOD"]
|
|
layout_mode = 2
|
|
text = "Kill All"
|
|
|
|
[node name="Debug" type="Label" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 6
|
|
text = "debug"
|
|
|
|
[node name="Right" type="HBoxContainer" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
|
|
[node name="File" type="MenuButton" parent="HBoxContainer/Right"]
|
|
layout_mode = 2
|
|
text = "File..."
|
|
item_count = 6
|
|
popup/item_0/text = "New..."
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "Load..."
|
|
popup/item_1/id = 1
|
|
popup/item_2/text = "Save..."
|
|
popup/item_2/id = 2
|
|
popup/item_3/text = ""
|
|
popup/item_3/id = 3
|
|
popup/item_3/separator = true
|
|
popup/item_4/text = "Settings..."
|
|
popup/item_4/id = 4
|
|
popup/item_5/text = "Stats..."
|
|
popup/item_5/id = 5
|
|
|
|
[connection signal="item_selected" from="HBoxContainer/ToolSelect/VBoxContainer/OptionButton" to="HBoxContainer/ToolSelect" method="_on_option_button_item_selected"]
|
|
[connection signal="pressed" from="HBoxContainer/ToolSelect/VBoxContainer/Control Player/Button" to="." method="_on_control_stop_button_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/ToolSelect/VBoxContainer/GOD/kill all" to="." method="_on_kill_all_pressed"]
|