123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187 |
- [gd_scene load_steps=11 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="Texture2D" uid="uid://byid0wqsvr6xg" path="res://exec/niveaux/fonds/ground01.png" id="1_hdm68"]
- [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="Script" path="res://composants/objets/brique/conteneur_briques.gd" id="3_dsde7"]
- [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"]
- [ext_resource type="PackedScene" uid="uid://byxtc8f6n5o3" path="res://composants/interface/gagne/gagne.tscn" id="7_16b2w"]
- [ext_resource type="PackedScene" uid="uid://ds3j5rjhys4xf" path="res://composants/interface/stock/stock.tscn" id="8_f28fe"]
- [ext_resource type="AudioStream" uid="uid://1p4lhi3rprps" path="res://ressources/musiques/atelier_godot_level_main_loop.ogg" id="10_4so2q"]
- [node name="CarreSimple" type="Node2D"]
- [node name="Fond" type="TextureRect" parent="."]
- offset_right = 40.0
- offset_bottom = 40.0
- texture = ExtResource("1_hdm68")
- [node name="Raquette" parent="." instance=ExtResource("1_dbta1")]
- 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="."]
- script = ExtResource("3_dsde7")
- [node name="Brique1" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0.666667, 0.666667, 0.666667, 1)
- nombre_de_vies = 2
- [node name="Brique2" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0.666667, 0.666667, 0.666667, 1)
- position = Vector2(30, 0)
- nombre_de_vies = 2
- [node name="Brique3" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0.666667, 0.666667, 0.666667, 1)
- position = Vector2(60, 0)
- nombre_de_vies = 2
- [node name="Brique4" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0.666667, 0.666667, 0.666667, 1)
- position = Vector2(90, 0)
- nombre_de_vies = 2
- [node name="Brique5" parent="Briques" instance=ExtResource("2_j0emn")]
- position = Vector2(120, 0)
- pouvoir_type = 1
- [node name="Brique6" parent="Briques" instance=ExtResource("2_j0emn")]
- position = Vector2(150, 0)
- pouvoir_type = 1
- [node name="Brique7" parent="Briques" instance=ExtResource("2_j0emn")]
- position = Vector2(180, 0)
- pouvoir_type = 1
- [node name="Brique8" parent="Briques" instance=ExtResource("2_j0emn")]
- position = Vector2(210, 0)
- pouvoir_type = 1
- [node name="Brique9" parent="Briques" instance=ExtResource("2_j0emn")]
- position = Vector2(240, 0)
- pouvoir_type = 1
- [node name="Brique10" parent="Briques" instance=ExtResource("2_j0emn")]
- position = Vector2(270, 0)
- pouvoir_type = 1
- [node name="Brique11" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0.666667, 0.666667, 0.666667, 1)
- position = Vector2(300, 0)
- nombre_de_vies = 2
- [node name="Brique12" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0.666667, 0.666667, 0.666667, 1)
- position = Vector2(330, 0)
- nombre_de_vies = 2
- [node name="Brique13" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0.666667, 0.666667, 0.666667, 1)
- position = Vector2(360, 0)
- nombre_de_vies = 2
- [node name="Brique14" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0.666667, 0.666667, 0.666667, 1)
- position = Vector2(390, 0)
- nombre_de_vies = 2
- [node name="Brique15" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0, 0, 0, 1)
- position = Vector2(120, 96)
- nombre_de_vies = 4
- [node name="Brique16" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0, 0, 0, 1)
- position = Vector2(150, 96)
- nombre_de_vies = 4
- [node name="Brique17" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0, 0, 0, 1)
- position = Vector2(180, 96)
- nombre_de_vies = 4
- [node name="Brique18" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0, 0, 0, 1)
- position = Vector2(210, 96)
- nombre_de_vies = 4
- [node name="Brique19" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0, 0, 0, 1)
- position = Vector2(240, 96)
- nombre_de_vies = 4
- [node name="Brique20" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0, 0, 0, 1)
- position = Vector2(270, 96)
- nombre_de_vies = 4
- [node name="Brique35" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0, 0, 0, 1)
- position = Vector2(120, 112)
- nombre_de_vies = 4
- [node name="Brique36" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0, 0, 0, 1)
- position = Vector2(150, 112)
- nombre_de_vies = 4
- [node name="Brique37" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0, 0, 0, 1)
- position = Vector2(180, 112)
- nombre_de_vies = 4
- [node name="Brique38" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0, 0, 0, 1)
- position = Vector2(210, 112)
- nombre_de_vies = 4
- [node name="Brique39" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0, 0, 0, 1)
- position = Vector2(240, 112)
- nombre_de_vies = 4
- [node name="Brique40" parent="Briques" instance=ExtResource("2_j0emn")]
- modulate = Color(0, 0, 0, 1)
- position = Vector2(270, 112)
- nombre_de_vies = 4
- [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
- [node name="Gagne" parent="Message" instance=ExtResource("7_16b2w")]
- visible = false
- layout_mode = 2
- [node name="Stock" parent="." instance=ExtResource("8_f28fe")]
- offset_bottom = 420.0
- [node name="Musique" type="AudioStreamPlayer" parent="."]
- process_mode = 3
- stream = ExtResource("10_4so2q")
- 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"]
|