286 lines
10 KiB
Text
286 lines
10 KiB
Text
[gd_scene load_steps=16 format=3 uid="uid://p6a6rb7sgeqd"]
|
|
|
|
[ext_resource type="Script" uid="uid://bhylcok1l6eke" path="res://UI/gui.gd" id="2_sac4j"]
|
|
[ext_resource type="Script" uid="uid://blnmjxmusrsa7" path="res://UI/GameStyleBoxFlat.gd" id="4_h4fn5"]
|
|
[ext_resource type="Theme" uid="uid://bbp4qcbwkeg7x" path="res://default_theme.tres" id="5_wpcnu"]
|
|
[ext_resource type="Texture2D" uid="uid://csl43eb7qjhe4" path="res://Assets/Icones/dog-house.svg" id="7_fffne"]
|
|
[ext_resource type="PackedScene" uid="uid://dqb5o8w7u50hc" path="res://UI/gui_button.tscn" id="7_parkk"]
|
|
[ext_resource type="Texture2D" uid="uid://dfnf26suc8yb6" path="res://Assets/Icones/sideswipe.svg" id="8_ay13l"]
|
|
[ext_resource type="Texture2D" uid="uid://dootdihg7gkoj" path="res://Assets/Icones/exit-door.svg" id="8_decjp"]
|
|
[ext_resource type="Script" uid="uid://s4t3oa4v87xe" path="res://UI/InfoPanel.gd" id="9_3lugd"]
|
|
[ext_resource type="Texture2D" uid="uid://b4m5ejfdrm8s0" path="res://Assets/Icones/power-button.svg" id="9_reygo"]
|
|
[ext_resource type="Texture2D" uid="uid://uptdcefxlv4c" path="res://Assets/Icones/ppdf_bio_image_placeholder_2.png" id="10_parkk"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_h4fn5"]
|
|
bg_color = Color(0.933333, 0.933333, 0.933333, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nxmp4"]
|
|
bg_color = Color(0.180392, 0.180392, 0.180392, 0)
|
|
border_color = Color(0.099986, 0.099986, 0.0999859, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_epgl5"]
|
|
bg_color = Color(0.727498, 0.222072, 0.249347, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3lugd"]
|
|
bg_color = Color(0.933, 0.933, 0.933, 1)
|
|
script = ExtResource("4_h4fn5")
|
|
color = 4
|
|
metadata/_custom_type_script = "uid://blnmjxmusrsa7"
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_parkk"]
|
|
bg_color = Color(0.721569, 0.600196, 0.355686, 1)
|
|
script = ExtResource("4_h4fn5")
|
|
color = 2
|
|
metadata/_custom_type_script = "uid://blnmjxmusrsa7"
|
|
|
|
[node name="GUI" type="Control"]
|
|
process_mode = 3
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
theme = ExtResource("5_wpcnu")
|
|
script = ExtResource("2_sac4j")
|
|
|
|
[node name="WaveCooldown" type="Label" parent="."]
|
|
process_mode = 1
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -90.0
|
|
offset_right = 90.0
|
|
offset_bottom = 50.0
|
|
grow_horizontal = 2
|
|
theme_override_font_sizes/font_size = 40
|
|
|
|
[node name="TowerButtonPanel" type="HBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 3
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -562.0
|
|
offset_top = -200.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
theme_override_constants/separation = 0
|
|
|
|
[node name="InfoPanel" type="PanelContainer" parent="TowerButtonPanel"]
|
|
custom_minimum_size = Vector2(200, 0)
|
|
layout_mode = 2
|
|
mouse_filter = 1
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_h4fn5")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="TowerButtonPanel/InfoPanel"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 10
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_right = 10
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="TowerButtonPanel/InfoPanel/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="LabelMoney" type="Label" parent="TowerButtonPanel/InfoPanel/MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_vertical = 1
|
|
tooltip_text = "La thune."
|
|
mouse_filter = 1
|
|
theme_override_colors/font_color = Color(0.2, 0.2, 0.2, 1)
|
|
text = "1'000'000 €"
|
|
horizontal_alignment = 2
|
|
vertical_alignment = 2
|
|
|
|
[node name="LabelTowerInCube" type="Label" parent="TowerButtonPanel/InfoPanel/MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
tooltip_text = "Le nombre de héros disponible dans le cube !"
|
|
mouse_filter = 1
|
|
theme_override_colors/font_color = Color(0.2, 0.2, 0.2, 1)
|
|
text = "0"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="LabelTowerOnTerrain" type="Label" parent="TowerButtonPanel/InfoPanel/MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
tooltip_text = "Le nombre de héros en action sur le terrain !"
|
|
mouse_filter = 1
|
|
theme_override_colors/font_color = Color(0.2, 0.2, 0.2, 1)
|
|
text = "0"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="WaveNumber" type="Label" parent="TowerButtonPanel/InfoPanel/MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0.2, 0.2, 0.2, 1)
|
|
|
|
[node name="CubeIntegrity" type="ProgressBar" parent="TowerButtonPanel"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(10, 0)
|
|
layout_mode = 2
|
|
size_flags_vertical = 1
|
|
tooltip_text = "Les points d'intégrités du Cube. S'ils arrivent à 0, fin de la partie."
|
|
mouse_filter = 1
|
|
theme_override_styles/background = SubResource("StyleBoxFlat_nxmp4")
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_epgl5")
|
|
max_value = 50.0
|
|
value = 50.0
|
|
fill_mode = 3
|
|
show_percentage = false
|
|
|
|
[node name="ControlPanelBase" type="PanelContainer" parent="TowerButtonPanel"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_filter = 1
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_3lugd")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="TowerButtonPanel/ControlPanelBase"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 0
|
|
theme_override_constants/margin_left = 10
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_right = 10
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="ButtonContainer" type="GridContainer" parent="TowerButtonPanel/ControlPanelBase/MarginContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 0
|
|
columns = 4
|
|
|
|
[node name="CubeBtn" parent="TowerButtonPanel/ControlPanelBase/MarginContainer/ButtonContainer" instance=ExtResource("7_parkk")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_parkk")
|
|
toggle_mode = true
|
|
texture = ExtResource("7_fffne")
|
|
|
|
[node name="QuitLevelBtn" parent="TowerButtonPanel/ControlPanelBase/MarginContainer/ButtonContainer" instance=ExtResource("7_parkk")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
texture = ExtResource("8_decjp")
|
|
|
|
[node name="QuitGameBtn" parent="TowerButtonPanel/ControlPanelBase/MarginContainer/ButtonContainer" instance=ExtResource("7_parkk")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
texture = ExtResource("9_reygo")
|
|
|
|
[node name="NextWaveBtn" parent="TowerButtonPanel/ControlPanelBase/MarginContainer/ButtonContainer" instance=ExtResource("7_parkk")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
texture = ExtResource("8_ay13l")
|
|
|
|
[node name="InfoPanel" type="HBoxContainer" parent="."]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -246.0
|
|
offset_right = 353.0
|
|
grow_vertical = 0
|
|
theme_override_constants/separation = 0
|
|
script = ExtResource("9_3lugd")
|
|
|
|
[node name="InfoContainer" type="PanelContainer" parent="InfoPanel"]
|
|
custom_minimum_size = Vector2(200, 0)
|
|
layout_mode = 2
|
|
mouse_filter = 1
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_h4fn5")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="InfoPanel/InfoContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 10
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_right = 10
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="InfoPanel/InfoContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="InfoPanel/InfoContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 20
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="InfoPanel/InfoContainer/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="TowerName" type="Label" parent="InfoPanel/InfoContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_vertical = 1
|
|
tooltip_text = "La thune."
|
|
mouse_filter = 1
|
|
theme_override_colors/font_color = Color(0.2, 0.2, 0.2, 1)
|
|
text = "Name"
|
|
horizontal_alignment = 2
|
|
vertical_alignment = 2
|
|
|
|
[node name="TowerEnergy" type="Label" parent="InfoPanel/InfoContainer/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
tooltip_text = "Le nombre de héros en action sur le terrain !"
|
|
mouse_filter = 1
|
|
theme_override_colors/font_color = Color(0.2, 0.2, 0.2, 1)
|
|
text = "0/0"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="TowerIcon" type="TextureRect" parent="InfoPanel/InfoContainer/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme = ExtResource("5_wpcnu")
|
|
texture = ExtResource("10_parkk")
|
|
expand_mode = 3
|
|
|
|
[node name="TowerDamage" type="Label" parent="InfoPanel/InfoContainer/MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
tooltip_text = "Le nombre de héros disponible dans le cube !"
|
|
mouse_filter = 1
|
|
theme_override_colors/font_color = Color(0.2, 0.2, 0.2, 1)
|
|
text = "0"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="TowerCooldown" type="Label" parent="InfoPanel/InfoContainer/MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
tooltip_text = "Le nombre de héros en action sur le terrain !"
|
|
mouse_filter = 1
|
|
theme_override_colors/font_color = Color(0.2, 0.2, 0.2, 1)
|
|
text = "0"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="TowerBio" type="Label" parent="InfoPanel/InfoContainer/MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
tooltip_text = "Le nombre de héros en action sur le terrain !"
|
|
mouse_filter = 1
|
|
theme_override_colors/font_color = Color(0.2, 0.2, 0.2, 1)
|
|
horizontal_alignment = 2
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="InfoPanel"]
|
|
layout_mode = 2
|
|
mouse_filter = 1
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_3lugd")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="InfoPanel/PanelContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 10
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_right = 10
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="UpgradeContainer" type="GridContainer" parent="InfoPanel/PanelContainer/MarginContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 0
|