Debug zombie spawner
This commit is contained in:
parent
116ebff0c2
commit
0fff33d196
69 changed files with 564 additions and 100 deletions
41
scenes/debug_zombie_spawner.tscn
Normal file
41
scenes/debug_zombie_spawner.tscn
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://cubfkr2mkgxjc"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dac0bvlhho7u4" path="res://scripts/DebugZombieSpawner.cs" id="1_m367a"]
|
||||
|
||||
[node name="DebugZombieSpawner" type="PopupPanel" node_paths=PackedStringArray("label", "line", "spin")]
|
||||
initial_position = 1
|
||||
size = Vector2i(200, 100)
|
||||
visible = true
|
||||
script = ExtResource("1_m367a")
|
||||
label = NodePath("Vbox/Similars")
|
||||
line = NodePath("Vbox/Line/LineEdit")
|
||||
spin = NodePath("Vbox/Line/SpinBox")
|
||||
|
||||
[node name="Vbox" type="VBoxContainer" parent="."]
|
||||
offset_left = 4.0
|
||||
offset_top = 4.0
|
||||
offset_right = 196.0
|
||||
offset_bottom = 96.0
|
||||
|
||||
[node name="Line" type="HBoxContainer" parent="Vbox"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="LineEdit" type="LineEdit" parent="Vbox/Line"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
focus_next = NodePath("../SpinBox")
|
||||
max_length = 16
|
||||
|
||||
[node name="SpinBox" type="SpinBox" parent="Vbox/Line"]
|
||||
layout_mode = 2
|
||||
min_value = 1.0
|
||||
max_value = 50.0
|
||||
value = 1.0
|
||||
|
||||
[node name="Similars" type="Label" parent="Vbox"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[connection signal="popup_hide" from="." to="." method="OnPopupHide"]
|
||||
[connection signal="text_changed" from="Vbox/Line/LineEdit" to="." method="OnTextChanged"]
|
||||
[connection signal="text_submitted" from="Vbox/Line/LineEdit" to="." method="OnTextSubmitted"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue