2025-08-30 15:46:36 +02:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://dh24t8804isms"]
|
2025-08-29 20:07:58 +02:00
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://27y0jliv6ckx" path="res://addons/LevelEditor/WaveMaker.gd" id="1_usfft"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://b47p2u458hsn0" path="res://addons/LevelEditor/UI/CustomOptionButton.gd" id="2_xjxpq"]
|
|
|
|
|
|
|
|
|
|
[node name="Menu" type="HBoxContainer"]
|
|
|
|
|
offset_right = 885.0
|
|
|
|
|
offset_bottom = 574.0
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
script = ExtResource("1_usfft")
|
|
|
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
|
|
|
custom_minimum_size = Vector2(20, 0)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="VBoxContainer2" type="VBoxContainer" parent="."]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 3
|
2025-08-30 00:46:34 +02:00
|
|
|
size_flags_vertical = 3
|
2025-08-29 20:07:58 +02:00
|
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer2"]
|
|
|
|
|
custom_minimum_size = Vector2(0, 20)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer2"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="LevelSelect" type="OptionButton" parent="VBoxContainer2/HBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
allow_reselect = true
|
|
|
|
|
script = ExtResource("2_xjxpq")
|
|
|
|
|
metadata/_custom_type_script = "uid://b47p2u458hsn0"
|
|
|
|
|
|
|
|
|
|
[node name="NewLevel" type="Button" parent="VBoxContainer2/HBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Nouveau Niveau"
|
|
|
|
|
|
|
|
|
|
[node name="Save" type="Button" parent="VBoxContainer2/HBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Sauvegarder"
|
|
|
|
|
|
2025-08-31 16:46:11 +02:00
|
|
|
[node name="RefreshUI" type="Button" parent="VBoxContainer2/HBoxContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Rafraichir"
|
|
|
|
|
|
2025-08-29 20:07:58 +02:00
|
|
|
[node name="ButtonContainer" type="HBoxContainer" parent="VBoxContainer2"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="Add wave" type="Button" parent="VBoxContainer2/ButtonContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Ajouter une vague"
|
|
|
|
|
|
2025-08-30 20:08:12 +02:00
|
|
|
[node name="RemoveWave" type="Button" parent="VBoxContainer2/ButtonContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Suprimer la vague"
|
|
|
|
|
|
2025-08-29 20:07:58 +02:00
|
|
|
[node name="ButtonContainer2" type="HBoxContainer" parent="VBoxContainer2"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="AutoLaunchLevel" type="CheckButton" parent="VBoxContainer2/ButtonContainer2"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer2/ButtonContainer2"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Lancer le niveau auto. "
|
|
|
|
|
|
2025-08-30 00:46:34 +02:00
|
|
|
[node name="ButtonContainer5" type="HBoxContainer" parent="VBoxContainer2"]
|
|
|
|
|
custom_minimum_size = Vector2(0, 30)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="TowerSelector" type="ItemList" parent="VBoxContainer2/ButtonContainer5"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
select_mode = 2
|
|
|
|
|
allow_search = false
|
|
|
|
|
auto_width = true
|
|
|
|
|
auto_height = true
|
2025-08-30 20:08:12 +02:00
|
|
|
item_count = 7
|
|
|
|
|
max_columns = 8
|
|
|
|
|
item_0/text = " PIERRE "
|
|
|
|
|
item_1/text = " ALINE "
|
|
|
|
|
item_2/text = " MAXENCE "
|
|
|
|
|
item_3/text = " VICTORIA "
|
|
|
|
|
item_4/text = " EVAN "
|
|
|
|
|
item_5/text = " ALEX "
|
|
|
|
|
item_6/text = " GERALDINE "
|
2025-08-30 00:46:34 +02:00
|
|
|
|
|
|
|
|
[node name="MarginContainer4" type="MarginContainer" parent="VBoxContainer2"]
|
|
|
|
|
custom_minimum_size = Vector2(0, 30)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
2025-08-29 20:07:58 +02:00
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer2"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
|
|
[node name="WaveContainer" type="TabContainer" parent="VBoxContainer2/ScrollContainer"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
clip_tabs = false
|
|
|
|
|
drag_to_rearrange_enabled = true
|
|
|
|
|
|
|
|
|
|
[connection signal="onValueChanged" from="VBoxContainer2/HBoxContainer/LevelSelect" to="." method="selectLevel"]
|
|
|
|
|
[connection signal="pressed" from="VBoxContainer2/HBoxContainer/NewLevel" to="." method="_on_new_level_pressed"]
|
|
|
|
|
[connection signal="pressed" from="VBoxContainer2/HBoxContainer/Save" to="." method="_on_save_pressed"]
|
2025-08-31 16:46:11 +02:00
|
|
|
[connection signal="pressed" from="VBoxContainer2/HBoxContainer/RefreshUI" to="." method="resetApp"]
|
2025-08-29 20:07:58 +02:00
|
|
|
[connection signal="pressed" from="VBoxContainer2/ButtonContainer/Add wave" to="." method="addWave"]
|
2025-08-30 20:08:12 +02:00
|
|
|
[connection signal="pressed" from="VBoxContainer2/ButtonContainer/RemoveWave" to="." method="removeWave"]
|
2025-08-29 20:07:58 +02:00
|
|
|
[connection signal="toggled" from="VBoxContainer2/ButtonContainer2/AutoLaunchLevel" to="." method="_on_auto_launch_wave_toggled"]
|
2025-08-30 00:46:34 +02:00
|
|
|
[connection signal="multi_selected" from="VBoxContainer2/ButtonContainer5/TowerSelector" to="." method="onSelectedTowerChange"]
|
2025-08-29 20:07:58 +02:00
|
|
|
[connection signal="active_tab_rearranged" from="VBoxContainer2/ScrollContainer/WaveContainer" to="." method="changeWaveOrder"]
|
|
|
|
|
[connection signal="tab_changed" from="VBoxContainer2/ScrollContainer/WaveContainer" to="." method="tabFocusHaschanged"]
|