[gd_scene load_steps=12 format=3 uid="uid://b2578e5i8ubvg"]

[ext_resource type="Texture2D" uid="uid://bkofjydij1plu" path="res://exec/niveaux/fonds/ground03.png" id="1_vbsyh"]
[ext_resource type="PackedScene" uid="uid://cpo1b44exbbyf" path="res://composants/objets/raquette/raquette.tscn" id="2_7tgxw"]
[ext_resource type="PackedScene" uid="uid://cux4pm68s7pr8" path="res://composants/objets/lanceur/lanceur.tscn" id="3_03gbi"]
[ext_resource type="Script" path="res://composants/objets/brique/conteneur_briques.gd" id="4_d6rir"]
[ext_resource type="PackedScene" uid="uid://brd8yid3l7wgm" path="res://composants/objets/brique/brique.tscn" id="5_7a1ew"]
[ext_resource type="Script" path="res://composants/mouvements/descente_lente.gd" id="5_bjyla"]
[ext_resource type="PackedScene" uid="uid://b28d5a4be36qa" path="res://composants/objets/arene/arene.tscn" id="6_ehlvm"]
[ext_resource type="PackedScene" uid="uid://mj0r0qodppdk" path="res://composants/interface/perdu/perdu.tscn" id="7_llkas"]
[ext_resource type="PackedScene" uid="uid://byxtc8f6n5o3" path="res://composants/interface/gagne/gagne.tscn" id="8_6oiwq"]
[ext_resource type="PackedScene" uid="uid://ds3j5rjhys4xf" path="res://composants/interface/stock/stock.tscn" id="9_2ypka"]
[ext_resource type="AudioStream" uid="uid://1p4lhi3rprps" path="res://ressources/musiques/atelier_godot_level_main_loop.ogg" id="10_6ro2t"]

[node name="FallingDart" type="Node2D"]

[node name="Fond" type="TextureRect" parent="."]
offset_right = 40.0
offset_bottom = 40.0
texture = ExtResource("1_vbsyh")

[node name="Raquette" parent="." instance=ExtResource("2_7tgxw")]
position = Vector2(210, 400)

[node name="Lanceur" parent="." instance=ExtResource("3_03gbi")]
position = Vector2(210, 336)
nombre_de_balles = 2

[node name="Briques" type="Node2D" parent="."]
position = Vector2(0, -272)
script = ExtResource("4_d6rir")
mouvement = ExtResource("5_bjyla")

[node name="SpaceShip1" type="Node2D" parent="Briques"]
position = Vector2(210, 272)
script = ExtResource("4_d6rir")

[node name="Brique1" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
position = Vector2(30, 0)

[node name="Brique2" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
position = Vector2(60, 0)
pouvoir_type = 4

[node name="Brique3" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
position = Vector2(90, 0)
pouvoir_type = 1

[node name="Brique4" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
position = Vector2(120, 0)
pouvoir_type = 4

[node name="Brique5" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
position = Vector2(0, 16)

[node name="Brique6" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
position = Vector2(30, 16)

[node name="Brique7" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
modulate = Color(0.666667, 0.666667, 0.666667, 1)
position = Vector2(60, 16)
nombre_de_vies = 2

[node name="Brique8" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
position = Vector2(90, 16)
pouvoir_type = 2

[node name="Brique9" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
modulate = Color(0.666667, 0.666667, 0.666667, 1)
position = Vector2(120, 16)
nombre_de_vies = 2

[node name="Brique10" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
position = Vector2(150, 16)

[node name="Brique11" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
position = Vector2(30, 32)

[node name="Brique12" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
modulate = Color(0.666667, 0.666667, 0.666667, 1)
position = Vector2(60, 32)
nombre_de_vies = 2

[node name="Brique13" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
position = Vector2(90, 32)

[node name="Brique18" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
modulate = Color(0.666667, 0.666667, 0.666667, 1)
position = Vector2(60, 48)
nombre_de_vies = 2

[node name="Brique19" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
position = Vector2(90, 48)

[node name="Brique21" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
position = Vector2(90, 64)

[node name="Brique20" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
modulate = Color(0.666667, 0.666667, 0.666667, 1)
position = Vector2(120, 48)
nombre_de_vies = 2

[node name="Brique14" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
modulate = Color(0.666667, 0.666667, 0.666667, 1)
position = Vector2(120, 32)
nombre_de_vies = 2

[node name="Brique15" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
position = Vector2(150, 0)

[node name="Brique16" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
position = Vector2(180, 16)

[node name="Brique17" parent="Briques/SpaceShip1" instance=ExtResource("5_7a1ew")]
position = Vector2(150, 32)

[node name="SpaceShip2" type="Node2D" parent="Briques"]
script = ExtResource("4_d6rir")

[node name="Brique1" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
position = Vector2(30, 0)

[node name="Brique2" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
position = Vector2(60, 0)
pouvoir_type = 4

[node name="Brique3" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
position = Vector2(90, 0)
pouvoir_type = 1

[node name="Brique4" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
position = Vector2(120, 0)
pouvoir_type = 4

[node name="Brique5" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
position = Vector2(0, 16)

[node name="Brique6" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
position = Vector2(30, 16)

[node name="Brique7" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
modulate = Color(0.666667, 0.666667, 0.666667, 1)
position = Vector2(60, 16)
nombre_de_vies = 2

[node name="Brique8" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
position = Vector2(90, 16)
pouvoir_type = 2

[node name="Brique9" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
modulate = Color(0.666667, 0.666667, 0.666667, 1)
position = Vector2(120, 16)
nombre_de_vies = 2

[node name="Brique10" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
position = Vector2(150, 16)

[node name="Brique11" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
position = Vector2(30, 32)

[node name="Brique12" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
modulate = Color(0.666667, 0.666667, 0.666667, 1)
position = Vector2(60, 32)
nombre_de_vies = 2

[node name="Brique13" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
position = Vector2(90, 32)

[node name="Brique18" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
modulate = Color(0.666667, 0.666667, 0.666667, 1)
position = Vector2(60, 48)
nombre_de_vies = 2

[node name="Brique19" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
position = Vector2(90, 48)

[node name="Brique21" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
position = Vector2(90, 64)

[node name="Brique20" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
modulate = Color(0.666667, 0.666667, 0.666667, 1)
position = Vector2(120, 48)
nombre_de_vies = 2

[node name="Brique14" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
modulate = Color(0.666667, 0.666667, 0.666667, 1)
position = Vector2(120, 32)
nombre_de_vies = 2

[node name="Brique15" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
position = Vector2(150, 0)

[node name="Brique16" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
position = Vector2(180, 16)

[node name="Brique17" parent="Briques/SpaceShip2" instance=ExtResource("5_7a1ew")]
position = Vector2(150, 32)

[node name="Arene" parent="." instance=ExtResource("6_ehlvm")]
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("7_llkas")]
visible = false
layout_mode = 2

[node name="Gagne" parent="Message" instance=ExtResource("8_6oiwq")]
visible = false
layout_mode = 2

[node name="Stock" parent="." instance=ExtResource("9_2ypka")]
offset_bottom = 420.0

[node name="Musique" type="AudioStreamPlayer" parent="."]
process_mode = 3
stream = ExtResource("10_6ro2t")
autoplay = true
bus = &"Musique"

[connection signal="nb_balles_change" from="Lanceur" to="Stock" method="_quand_nombre_balles_change"]
[connection signal="partie_perdue" from="Lanceur" to="Message" method="show"]
[connection signal="partie_perdue" from="Lanceur" to="Message/Perdu" method="show"]
[connection signal="plus_de_briques" from="Briques" to="Lanceur" method="queue_free"]
[connection signal="plus_de_briques" from="Briques" to="Message" method="show"]
[connection signal="plus_de_briques" from="Briques" to="Message/Gagne" method="show"]
[connection signal="balle_detruite" from="Arene" to="Lanceur" method="_quand_balle_detruite"]
