triangles.tscn 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. [gd_scene load_steps=11 format=3 uid="uid://bke8ggl6keafb"]
  2. [ext_resource type="Texture2D" uid="uid://dsdb8hqm3fcks" path="res://exec/niveaux/fonds/ground21.png" id="1_va2ts"]
  3. [ext_resource type="PackedScene" uid="uid://cpo1b44exbbyf" path="res://composants/objets/raquette/raquette.tscn" id="2_mllki"]
  4. [ext_resource type="PackedScene" uid="uid://cux4pm68s7pr8" path="res://composants/objets/lanceur/lanceur.tscn" id="3_xiwfk"]
  5. [ext_resource type="Script" path="res://composants/objets/brique/conteneur_briques.gd" id="4_el4w0"]
  6. [ext_resource type="PackedScene" uid="uid://brd8yid3l7wgm" path="res://composants/objets/brique/brique.tscn" id="5_w87fw"]
  7. [ext_resource type="PackedScene" uid="uid://b28d5a4be36qa" path="res://composants/objets/arene/arene.tscn" id="6_jpa8v"]
  8. [ext_resource type="PackedScene" uid="uid://mj0r0qodppdk" path="res://composants/interface/perdu/perdu.tscn" id="7_85y4s"]
  9. [ext_resource type="PackedScene" uid="uid://byxtc8f6n5o3" path="res://composants/interface/gagne/gagne.tscn" id="8_nim5h"]
  10. [ext_resource type="PackedScene" uid="uid://ds3j5rjhys4xf" path="res://composants/interface/stock/stock.tscn" id="9_lcj17"]
  11. [ext_resource type="AudioStream" uid="uid://1p4lhi3rprps" path="res://ressources/musiques/atelier_godot_level_main_loop.ogg" id="10_840ac"]
  12. [node name="CarreSimple" type="Node2D"]
  13. [node name="Fond" type="TextureRect" parent="."]
  14. offset_right = 40.0
  15. offset_bottom = 40.0
  16. texture = ExtResource("1_va2ts")
  17. metadata/_edit_lock_ = true
  18. [node name="Raquette" parent="." instance=ExtResource("2_mllki")]
  19. position = Vector2(210, 400)
  20. [node name="Lanceur" parent="." instance=ExtResource("3_xiwfk")]
  21. position = Vector2(210, 208)
  22. [node name="Briques" type="Node2D" parent="."]
  23. script = ExtResource("4_el4w0")
  24. [node name="Brique1" parent="Briques" instance=ExtResource("5_w87fw")]
  25. position = Vector2(210, 176)
  26. pouvoir_type = 2
  27. [node name="Brique70" parent="Briques" instance=ExtResource("5_w87fw")]
  28. position = Vector2(180, 176)
  29. pouvoir_type = 2
  30. [node name="Brique2" parent="Briques" instance=ExtResource("5_w87fw")]
  31. position = Vector2(150, 144)
  32. [node name="Brique3" parent="Briques" instance=ExtResource("5_w87fw")]
  33. position = Vector2(120, 144)
  34. [node name="Brique4" parent="Briques" instance=ExtResource("5_w87fw")]
  35. position = Vector2(90, 144)
  36. [node name="Brique5" parent="Briques" instance=ExtResource("5_w87fw")]
  37. position = Vector2(60, 144)
  38. [node name="Brique6" parent="Briques" instance=ExtResource("5_w87fw")]
  39. position = Vector2(30, 144)
  40. [node name="Brique7" parent="Briques" instance=ExtResource("5_w87fw")]
  41. position = Vector2(0, 144)
  42. [node name="Brique8" parent="Briques" instance=ExtResource("5_w87fw")]
  43. position = Vector2(120, 128)
  44. [node name="Brique9" parent="Briques" instance=ExtResource("5_w87fw")]
  45. position = Vector2(90, 128)
  46. [node name="Brique10" parent="Briques" instance=ExtResource("5_w87fw")]
  47. position = Vector2(60, 128)
  48. [node name="Brique11" parent="Briques" instance=ExtResource("5_w87fw")]
  49. position = Vector2(30, 128)
  50. [node name="Brique12" parent="Briques" instance=ExtResource("5_w87fw")]
  51. position = Vector2(0, 128)
  52. [node name="Brique13" parent="Briques" instance=ExtResource("5_w87fw")]
  53. position = Vector2(90, 112)
  54. [node name="Brique14" parent="Briques" instance=ExtResource("5_w87fw")]
  55. position = Vector2(60, 112)
  56. [node name="Brique15" parent="Briques" instance=ExtResource("5_w87fw")]
  57. position = Vector2(30, 112)
  58. [node name="Brique16" parent="Briques" instance=ExtResource("5_w87fw")]
  59. position = Vector2(0, 112)
  60. [node name="Brique17" parent="Briques" instance=ExtResource("5_w87fw")]
  61. position = Vector2(60, 96)
  62. [node name="Brique18" parent="Briques" instance=ExtResource("5_w87fw")]
  63. position = Vector2(30, 96)
  64. [node name="Brique19" parent="Briques" instance=ExtResource("5_w87fw")]
  65. position = Vector2(0, 96)
  66. [node name="Brique20" parent="Briques" instance=ExtResource("5_w87fw")]
  67. position = Vector2(30, 80)
  68. [node name="Brique21" parent="Briques" instance=ExtResource("5_w87fw")]
  69. position = Vector2(0, 80)
  70. [node name="Brique22" parent="Briques" instance=ExtResource("5_w87fw")]
  71. position = Vector2(0, 64)
  72. [node name="Brique23" parent="Briques" instance=ExtResource("5_w87fw")]
  73. position = Vector2(390, 144)
  74. [node name="Brique24" parent="Briques" instance=ExtResource("5_w87fw")]
  75. position = Vector2(360, 144)
  76. [node name="Brique25" parent="Briques" instance=ExtResource("5_w87fw")]
  77. position = Vector2(330, 144)
  78. [node name="Brique26" parent="Briques" instance=ExtResource("5_w87fw")]
  79. position = Vector2(300, 144)
  80. [node name="Brique27" parent="Briques" instance=ExtResource("5_w87fw")]
  81. position = Vector2(270, 144)
  82. [node name="Brique28" parent="Briques" instance=ExtResource("5_w87fw")]
  83. position = Vector2(240, 144)
  84. [node name="Brique45" parent="Briques" instance=ExtResource("5_w87fw")]
  85. position = Vector2(150, 176)
  86. [node name="Brique46" parent="Briques" instance=ExtResource("5_w87fw")]
  87. position = Vector2(120, 176)
  88. [node name="Brique47" parent="Briques" instance=ExtResource("5_w87fw")]
  89. position = Vector2(90, 176)
  90. [node name="Brique48" parent="Briques" instance=ExtResource("5_w87fw")]
  91. position = Vector2(60, 176)
  92. [node name="Brique49" parent="Briques" instance=ExtResource("5_w87fw")]
  93. position = Vector2(30, 176)
  94. [node name="Brique50" parent="Briques" instance=ExtResource("5_w87fw")]
  95. position = Vector2(0, 176)
  96. [node name="Brique51" parent="Briques" instance=ExtResource("5_w87fw")]
  97. position = Vector2(390, 176)
  98. [node name="Brique52" parent="Briques" instance=ExtResource("5_w87fw")]
  99. position = Vector2(360, 176)
  100. [node name="Brique53" parent="Briques" instance=ExtResource("5_w87fw")]
  101. position = Vector2(330, 176)
  102. [node name="Brique54" parent="Briques" instance=ExtResource("5_w87fw")]
  103. position = Vector2(300, 176)
  104. [node name="Brique55" parent="Briques" instance=ExtResource("5_w87fw")]
  105. position = Vector2(270, 176)
  106. [node name="Brique56" parent="Briques" instance=ExtResource("5_w87fw")]
  107. position = Vector2(240, 176)
  108. [node name="Brique44" parent="Briques" instance=ExtResource("5_w87fw")]
  109. modulate = Color(0, 0, 0, 1)
  110. position = Vector2(210, 160)
  111. nombre_de_vies = 4
  112. [node name="Brique69" parent="Briques" instance=ExtResource("5_w87fw")]
  113. modulate = Color(0, 0, 0, 1)
  114. position = Vector2(180, 160)
  115. nombre_de_vies = 4
  116. [node name="Brique57" parent="Briques" instance=ExtResource("5_w87fw")]
  117. modulate = Color(0, 0, 0, 1)
  118. position = Vector2(150, 160)
  119. nombre_de_vies = 4
  120. [node name="Brique58" parent="Briques" instance=ExtResource("5_w87fw")]
  121. modulate = Color(0, 0, 0, 1)
  122. position = Vector2(120, 160)
  123. nombre_de_vies = 4
  124. [node name="Brique59" parent="Briques" instance=ExtResource("5_w87fw")]
  125. modulate = Color(0, 0, 0, 1)
  126. position = Vector2(90, 160)
  127. nombre_de_vies = 4
  128. [node name="Brique60" parent="Briques" instance=ExtResource("5_w87fw")]
  129. modulate = Color(0, 0, 0, 1)
  130. position = Vector2(60, 160)
  131. nombre_de_vies = 4
  132. [node name="Brique61" parent="Briques" instance=ExtResource("5_w87fw")]
  133. modulate = Color(0, 0, 0, 1)
  134. position = Vector2(30, 160)
  135. nombre_de_vies = 4
  136. [node name="Brique62" parent="Briques" instance=ExtResource("5_w87fw")]
  137. modulate = Color(0, 0, 0, 1)
  138. position = Vector2(0, 160)
  139. nombre_de_vies = 4
  140. [node name="Brique63" parent="Briques" instance=ExtResource("5_w87fw")]
  141. modulate = Color(0, 0, 0, 1)
  142. position = Vector2(390, 160)
  143. nombre_de_vies = 4
  144. [node name="Brique64" parent="Briques" instance=ExtResource("5_w87fw")]
  145. modulate = Color(0, 0, 0, 1)
  146. position = Vector2(360, 160)
  147. nombre_de_vies = 4
  148. [node name="Brique65" parent="Briques" instance=ExtResource("5_w87fw")]
  149. modulate = Color(0, 0, 0, 1)
  150. position = Vector2(330, 160)
  151. nombre_de_vies = 4
  152. [node name="Brique66" parent="Briques" instance=ExtResource("5_w87fw")]
  153. modulate = Color(0, 0, 0, 1)
  154. position = Vector2(300, 160)
  155. nombre_de_vies = 4
  156. [node name="Brique67" parent="Briques" instance=ExtResource("5_w87fw")]
  157. modulate = Color(0, 0, 0, 1)
  158. position = Vector2(270, 160)
  159. nombre_de_vies = 4
  160. [node name="Brique68" parent="Briques" instance=ExtResource("5_w87fw")]
  161. modulate = Color(0, 0, 0, 1)
  162. position = Vector2(240, 160)
  163. nombre_de_vies = 4
  164. [node name="Brique29" parent="Briques" instance=ExtResource("5_w87fw")]
  165. position = Vector2(390, 128)
  166. [node name="Brique30" parent="Briques" instance=ExtResource("5_w87fw")]
  167. position = Vector2(360, 128)
  168. [node name="Brique31" parent="Briques" instance=ExtResource("5_w87fw")]
  169. position = Vector2(330, 128)
  170. [node name="Brique32" parent="Briques" instance=ExtResource("5_w87fw")]
  171. position = Vector2(300, 128)
  172. [node name="Brique33" parent="Briques" instance=ExtResource("5_w87fw")]
  173. position = Vector2(270, 128)
  174. [node name="Brique34" parent="Briques" instance=ExtResource("5_w87fw")]
  175. position = Vector2(390, 112)
  176. [node name="Brique35" parent="Briques" instance=ExtResource("5_w87fw")]
  177. position = Vector2(360, 112)
  178. [node name="Brique36" parent="Briques" instance=ExtResource("5_w87fw")]
  179. position = Vector2(330, 112)
  180. [node name="Brique37" parent="Briques" instance=ExtResource("5_w87fw")]
  181. position = Vector2(300, 112)
  182. [node name="Brique38" parent="Briques" instance=ExtResource("5_w87fw")]
  183. position = Vector2(390, 96)
  184. [node name="Brique39" parent="Briques" instance=ExtResource("5_w87fw")]
  185. position = Vector2(360, 96)
  186. [node name="Brique40" parent="Briques" instance=ExtResource("5_w87fw")]
  187. position = Vector2(330, 96)
  188. [node name="Brique41" parent="Briques" instance=ExtResource("5_w87fw")]
  189. position = Vector2(390, 80)
  190. [node name="Brique42" parent="Briques" instance=ExtResource("5_w87fw")]
  191. position = Vector2(360, 80)
  192. [node name="Brique43" parent="Briques" instance=ExtResource("5_w87fw")]
  193. position = Vector2(390, 64)
  194. [node name="Arene" parent="." instance=ExtResource("6_jpa8v")]
  195. metadata/_edit_lock_ = true
  196. [node name="Message" type="PanelContainer" parent="."]
  197. visible = false
  198. offset_left = 20.0
  199. offset_top = 20.0
  200. offset_right = 400.0
  201. offset_bottom = 400.0
  202. [node name="Perdu" parent="Message" instance=ExtResource("7_85y4s")]
  203. visible = false
  204. layout_mode = 2
  205. [node name="Gagne" parent="Message" instance=ExtResource("8_nim5h")]
  206. visible = false
  207. layout_mode = 2
  208. [node name="Stock" parent="." instance=ExtResource("9_lcj17")]
  209. offset_bottom = 420.0
  210. [node name="Musique" type="AudioStreamPlayer" parent="."]
  211. process_mode = 3
  212. stream = ExtResource("10_840ac")
  213. autoplay = true
  214. bus = &"Musique"
  215. [connection signal="nb_balles_change" from="Lanceur" to="Stock" method="_quand_nombre_balles_change"]
  216. [connection signal="partie_perdue" from="Lanceur" to="Message" method="show"]
  217. [connection signal="partie_perdue" from="Lanceur" to="Message/Perdu" method="show"]
  218. [connection signal="plus_de_briques" from="Briques" to="Lanceur" method="queue_free"]
  219. [connection signal="plus_de_briques" from="Briques" to="Message" method="show"]
  220. [connection signal="plus_de_briques" from="Briques" to="Message/Gagne" method="show"]
  221. [connection signal="balle_detruite" from="Arene" to="Lanceur" method="_quand_balle_detruite"]