[gd_scene load_steps=22 format=3 uid="uid://p6a6rb7sgeqd"] [ext_resource type="Script" uid="uid://d2x8oy4os7ysn" path="res://UI/label_money.gd" id="1_cwd3r"] [ext_resource type="Script" uid="uid://c350dletl5pde" path="res://UI/label_tower_in_cube.gd" id="2_6ujs1"] [ext_resource type="Script" uid="uid://bhylcok1l6eke" path="res://UI/gui.gd" id="2_sac4j"] [ext_resource type="Script" uid="uid://dmcgoepvytnn" path="res://UI/cube_integrity.gd" id="2_sj6ny"] [ext_resource type="Script" uid="uid://kngsgirej7lx" path="res://UI/label_tower_on_terrain.gd" id="3_wg577"] [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="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="Texture2D" uid="uid://bb4wihq1n1wm7" path="res://Assets/Icones/labrador-head.svg" id="9_decjp"] [ext_resource type="Texture2D" uid="uid://b4m5ejfdrm8s0" path="res://Assets/Icones/power-button.svg" id="9_reygo"] [ext_resource type="Texture2D" uid="uid://cob1lydkirn20" path="res://Assets/Icones/raccoon-head.svg" id="10_reygo"] [ext_resource type="Texture2D" uid="uid://boxdrq4nrq7hv" path="res://Assets/Icones/flamingo.svg" id="11_76b7g"] [ext_resource type="PackedScene" uid="uid://dqb5o8w7u50hc" path="res://UI/tower_button-v2.tscn" id="11_ay13l"] [ext_resource type="Texture2D" uid="uid://m6jwakrus50v" path="res://Assets/Icones/sea-star.svg" id="12_ih1k6"] [ext_resource type="Texture2D" uid="uid://dwwgho6f8f4kj" path="res://Assets/Icones/penguin.svg" id="13_ryolu"] [ext_resource type="Texture2D" uid="uid://c4ir6y45pchpl" path="res://Assets/Icones/seahorse.svg" id="14_hndjt"] [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.933333, 0.933333, 0.933333, 1) [node name="GUI" type="Control"] 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="HBoxContainer" 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 = -357.0 offset_top = -352.0 grow_horizontal = 0 grow_vertical = 0 theme_override_constants/separation = 0 [node name="InfoPanel" type="Panel" parent="HBoxContainer"] custom_minimum_size = Vector2(189, 0) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_h4fn5") [node name="MarginContainer" type="MarginContainer" parent="HBoxContainer/InfoPanel"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 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="HBoxContainer/InfoPanel/MarginContainer"] layout_mode = 2 [node name="LabelMoney" type="Label" parent="HBoxContainer/InfoPanel/MarginContainer/VBoxContainer"] 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 script = ExtResource("1_cwd3r") [node name="LabelTowerInCube" type="Label" parent="HBoxContainer/InfoPanel/MarginContainer/VBoxContainer"] 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 script = ExtResource("2_6ujs1") [node name="LabelTowerOnTerrain" type="Label" parent="HBoxContainer/InfoPanel/MarginContainer/VBoxContainer"] 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 script = ExtResource("3_wg577") [node name="CubeIntegrity" type="ProgressBar" parent="HBoxContainer"] custom_minimum_size = Vector2(10, 5) 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." theme_override_styles/background = SubResource("StyleBoxFlat_nxmp4") theme_override_styles/fill = SubResource("StyleBoxFlat_epgl5") value = 50.0 fill_mode = 3 show_percentage = false script = ExtResource("2_sj6ny") [node name="ControlPanelBase" type="Panel" parent="HBoxContainer"] custom_minimum_size = Vector2(352, 352) layout_mode = 2 theme = ExtResource("5_wpcnu") theme_override_styles/panel = SubResource("StyleBoxFlat_3lugd") [node name="MarginContainer" type="MarginContainer" parent="HBoxContainer/ControlPanelBase"] layout_mode = 1 anchors_preset = 3 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -352.0 offset_top = -352.0 grow_horizontal = 0 grow_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="GridContainer" type="GridContainer" parent="HBoxContainer/ControlPanelBase/MarginContainer"] layout_mode = 2 columns = 4 [node name="ButtonCube" type="Button" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer"] custom_minimum_size = Vector2(80, 80) layout_mode = 2 tooltip_text = "Sélectionner le cube" mouse_default_cursor_shape = 2 [node name="TextureRect" type="TextureRect" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonCube"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("7_fffne") expand_mode = 1 [node name="ButtonQuitLevel" type="Button" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer"] custom_minimum_size = Vector2(80, 80) layout_mode = 2 tooltip_text = "Quitter le niveau" mouse_default_cursor_shape = 2 [node name="TextureRect" type="TextureRect" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonQuitLevel"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("8_decjp") expand_mode = 1 [node name="ButtonQuitGame" type="Button" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer"] custom_minimum_size = Vector2(80, 80) layout_mode = 2 tooltip_text = "Quitter le jeu" mouse_default_cursor_shape = 2 [node name="TextureRect" type="TextureRect" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonQuitGame"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("9_reygo") expand_mode = 1 [node name="ButtonReturn" type="Button" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer"] custom_minimum_size = Vector2(80, 80) layout_mode = 2 tooltip_text = "Revenir en arrière" mouse_default_cursor_shape = 2 [node name="TextureRect" type="TextureRect" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonReturn"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("8_ay13l") expand_mode = 1 [node name="ButtonPierre" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer" instance=ExtResource("11_ay13l")] layout_mode = 2 towerType = 1 [node name="TextureRect" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonPierre" index="0"] texture = ExtResource("9_decjp") [node name="ButtonAline" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer" instance=ExtResource("11_ay13l")] layout_mode = 2 towerType = 2 [node name="TextureRect" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonAline" index="0"] texture = ExtResource("10_reygo") [node name="ButtonMaxcence2" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer" instance=ExtResource("11_ay13l")] layout_mode = 2 towerType = 3 [node name="TextureRect" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonMaxcence2" index="0"] texture = ExtResource("11_76b7g") [node name="ButtonVictoria" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer" instance=ExtResource("11_ay13l")] layout_mode = 2 towerType = 4 [node name="TextureRect" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonVictoria" index="0"] texture = ExtResource("12_ih1k6") [node name="ButtonEvan" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer" instance=ExtResource("11_ay13l")] layout_mode = 2 towerType = 5 [node name="TextureRect" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonEvan" index="0"] texture = ExtResource("13_ryolu") [node name="ButtonAlex" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer" instance=ExtResource("11_ay13l")] layout_mode = 2 towerType = 6 [node name="TextureRect" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonAlex" index="0"] texture = ExtResource("14_hndjt") [node name="Button11" type="Button" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer"] custom_minimum_size = Vector2(80, 80) layout_mode = 2 mouse_default_cursor_shape = 2 [node name="Button12" type="Button" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer"] custom_minimum_size = Vector2(80, 80) layout_mode = 2 mouse_default_cursor_shape = 2 [node name="Button13" type="Button" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer"] custom_minimum_size = Vector2(80, 80) layout_mode = 2 mouse_default_cursor_shape = 2 [node name="Button14" type="Button" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer"] custom_minimum_size = Vector2(80, 80) layout_mode = 2 mouse_default_cursor_shape = 2 [node name="Button15" type="Button" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer"] custom_minimum_size = Vector2(80, 80) layout_mode = 2 mouse_default_cursor_shape = 2 [node name="Button16" type="Button" parent="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer"] custom_minimum_size = Vector2(80, 80) layout_mode = 2 mouse_default_cursor_shape = 2 [connection signal="pressed" from="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonCube" to="." method="_on_button_cube_pressed"] [connection signal="pressed" from="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonQuitLevel" to="." method="_on_button_quit_level_pressed"] [connection signal="pressed" from="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonQuitGame" to="." method="_on_button_quit_game_pressed"] [editable path="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonPierre"] [editable path="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonAline"] [editable path="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonMaxcence2"] [editable path="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonVictoria"] [editable path="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonEvan"] [editable path="HBoxContainer/ControlPanelBase/MarginContainer/GridContainer/ButtonAlex"]