|
@@ -1,9 +1,10 @@
|
|
|
-[gd_scene load_steps=5 format=3 uid="uid://cyyb8weydthjc"]
|
|
|
+[gd_scene load_steps=6 format=3 uid="uid://cyyb8weydthjc"]
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cpo1b44exbbyf" path="res://composants/objets/raquette/raquette.tscn" id="1_dbta1"]
|
|
|
[ext_resource type="PackedScene" uid="uid://brd8yid3l7wgm" path="res://composants/objets/brique/brique.tscn" id="2_j0emn"]
|
|
|
[ext_resource type="PackedScene" uid="uid://cux4pm68s7pr8" path="res://composants/objets/lanceur/lanceur.tscn" id="2_s5baa"]
|
|
|
[ext_resource type="PackedScene" uid="uid://b28d5a4be36qa" path="res://composants/objets/arene/arene.tscn" id="4_imfht"]
|
|
|
+[ext_resource type="PackedScene" uid="uid://mj0r0qodppdk" path="res://composants/interface/perdu/perdu.tscn" id="5_4gti5"]
|
|
|
|
|
|
[node name="CarreSimple" type="Node2D"]
|
|
|
|
|
@@ -12,6 +13,7 @@ position = Vector2(210, 400)
|
|
|
|
|
|
[node name="Lanceur" parent="." instance=ExtResource("2_s5baa")]
|
|
|
position = Vector2(195, 144)
|
|
|
+nombre_de_balles = 2
|
|
|
|
|
|
[node name="Briques" type="Node2D" parent="."]
|
|
|
|
|
@@ -141,4 +143,17 @@ pouvoir_type = 0
|
|
|
[node name="Arene" parent="." instance=ExtResource("4_imfht")]
|
|
|
metadata/_edit_lock_ = true
|
|
|
|
|
|
+[node name="Message" type="PanelContainer" parent="."]
|
|
|
+visible = false
|
|
|
+offset_left = 20.0
|
|
|
+offset_top = 20.0
|
|
|
+offset_right = 400.0
|
|
|
+offset_bottom = 400.0
|
|
|
+
|
|
|
+[node name="Perdu" parent="Message" instance=ExtResource("5_4gti5")]
|
|
|
+visible = false
|
|
|
+layout_mode = 2
|
|
|
+
|
|
|
+[connection signal="partie_perdue" from="Lanceur" to="Message/Perdu" method="show"]
|
|
|
+[connection signal="partie_perdue" from="Lanceur" to="Message" method="show"]
|
|
|
[connection signal="balle_detruite" from="Arene" to="Lanceur" method="_quand_balle_detruite"]
|