triangles.tscn 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  1. [gd_scene load_steps=11 format=3 uid="uid://c7o51scoh4v5g"]
  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://dn34bt1402hc4" path="res://ressources/musiques/atelier_godot_level_alternate_loop.ogg" id="10_sj2ml"]
  12. [node name="Triangles" 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. [node name="Brique70" parent="Briques" instance=ExtResource("5_w87fw")]
  27. position = Vector2(180, 176)
  28. [node name="Brique2" parent="Briques" instance=ExtResource("5_w87fw")]
  29. position = Vector2(150, 144)
  30. [node name="Brique3" parent="Briques" instance=ExtResource("5_w87fw")]
  31. position = Vector2(120, 144)
  32. [node name="Brique4" parent="Briques" instance=ExtResource("5_w87fw")]
  33. position = Vector2(90, 144)
  34. [node name="Brique5" parent="Briques" instance=ExtResource("5_w87fw")]
  35. position = Vector2(60, 144)
  36. [node name="Brique6" parent="Briques" instance=ExtResource("5_w87fw")]
  37. position = Vector2(30, 144)
  38. [node name="Brique7" parent="Briques" instance=ExtResource("5_w87fw")]
  39. position = Vector2(0, 144)
  40. [node name="Brique8" parent="Briques" instance=ExtResource("5_w87fw")]
  41. position = Vector2(120, 128)
  42. [node name="Brique9" parent="Briques" instance=ExtResource("5_w87fw")]
  43. position = Vector2(90, 128)
  44. [node name="Brique10" parent="Briques" instance=ExtResource("5_w87fw")]
  45. position = Vector2(60, 128)
  46. [node name="Brique11" parent="Briques" instance=ExtResource("5_w87fw")]
  47. position = Vector2(30, 128)
  48. [node name="Brique12" parent="Briques" instance=ExtResource("5_w87fw")]
  49. position = Vector2(0, 128)
  50. [node name="Brique13" parent="Briques" instance=ExtResource("5_w87fw")]
  51. position = Vector2(90, 112)
  52. [node name="Brique14" parent="Briques" instance=ExtResource("5_w87fw")]
  53. position = Vector2(60, 112)
  54. [node name="Brique15" parent="Briques" instance=ExtResource("5_w87fw")]
  55. position = Vector2(30, 112)
  56. [node name="Brique16" parent="Briques" instance=ExtResource("5_w87fw")]
  57. position = Vector2(0, 112)
  58. [node name="Brique17" parent="Briques" instance=ExtResource("5_w87fw")]
  59. position = Vector2(60, 96)
  60. [node name="Brique18" parent="Briques" instance=ExtResource("5_w87fw")]
  61. position = Vector2(30, 96)
  62. [node name="Brique19" parent="Briques" instance=ExtResource("5_w87fw")]
  63. position = Vector2(0, 96)
  64. [node name="Brique20" parent="Briques" instance=ExtResource("5_w87fw")]
  65. position = Vector2(30, 80)
  66. [node name="Brique21" parent="Briques" instance=ExtResource("5_w87fw")]
  67. position = Vector2(0, 80)
  68. [node name="Brique22" parent="Briques" instance=ExtResource("5_w87fw")]
  69. position = Vector2(0, 64)
  70. pouvoir_type = 1
  71. [node name="Brique23" parent="Briques" instance=ExtResource("5_w87fw")]
  72. position = Vector2(390, 144)
  73. [node name="Brique24" parent="Briques" instance=ExtResource("5_w87fw")]
  74. position = Vector2(360, 144)
  75. [node name="Brique25" parent="Briques" instance=ExtResource("5_w87fw")]
  76. position = Vector2(330, 144)
  77. [node name="Brique26" parent="Briques" instance=ExtResource("5_w87fw")]
  78. position = Vector2(300, 144)
  79. [node name="Brique27" parent="Briques" instance=ExtResource("5_w87fw")]
  80. position = Vector2(270, 144)
  81. [node name="Brique28" parent="Briques" instance=ExtResource("5_w87fw")]
  82. position = Vector2(240, 144)
  83. [node name="Brique45" parent="Briques" instance=ExtResource("5_w87fw")]
  84. position = Vector2(150, 176)
  85. [node name="Brique46" parent="Briques" instance=ExtResource("5_w87fw")]
  86. position = Vector2(120, 176)
  87. [node name="Brique47" parent="Briques" instance=ExtResource("5_w87fw")]
  88. position = Vector2(90, 176)
  89. [node name="Brique48" parent="Briques" instance=ExtResource("5_w87fw")]
  90. position = Vector2(60, 176)
  91. [node name="Brique49" parent="Briques" instance=ExtResource("5_w87fw")]
  92. position = Vector2(30, 176)
  93. [node name="Brique50" parent="Briques" instance=ExtResource("5_w87fw")]
  94. position = Vector2(0, 176)
  95. pouvoir_type = 2
  96. [node name="Brique51" parent="Briques" instance=ExtResource("5_w87fw")]
  97. position = Vector2(390, 176)
  98. pouvoir_type = 2
  99. [node name="Brique52" parent="Briques" instance=ExtResource("5_w87fw")]
  100. position = Vector2(360, 176)
  101. [node name="Brique53" parent="Briques" instance=ExtResource("5_w87fw")]
  102. position = Vector2(330, 176)
  103. [node name="Brique54" parent="Briques" instance=ExtResource("5_w87fw")]
  104. position = Vector2(300, 176)
  105. [node name="Brique55" parent="Briques" instance=ExtResource("5_w87fw")]
  106. position = Vector2(270, 176)
  107. [node name="Brique56" parent="Briques" instance=ExtResource("5_w87fw")]
  108. position = Vector2(240, 176)
  109. [node name="Brique44" parent="Briques" instance=ExtResource("5_w87fw")]
  110. position = Vector2(210, 160)
  111. pouvoir_type = 5
  112. [node name="Brique69" parent="Briques" instance=ExtResource("5_w87fw")]
  113. position = Vector2(180, 160)
  114. pouvoir_type = 5
  115. [node name="Brique57" parent="Briques" instance=ExtResource("5_w87fw")]
  116. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  117. position = Vector2(150, 160)
  118. nombre_de_vies = 2
  119. [node name="Brique58" parent="Briques" instance=ExtResource("5_w87fw")]
  120. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  121. position = Vector2(120, 160)
  122. nombre_de_vies = 2
  123. [node name="Brique59" parent="Briques" instance=ExtResource("5_w87fw")]
  124. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  125. position = Vector2(90, 160)
  126. nombre_de_vies = 2
  127. [node name="Brique60" parent="Briques" instance=ExtResource("5_w87fw")]
  128. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  129. position = Vector2(60, 160)
  130. nombre_de_vies = 2
  131. [node name="Brique61" parent="Briques" instance=ExtResource("5_w87fw")]
  132. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  133. position = Vector2(30, 160)
  134. nombre_de_vies = 2
  135. [node name="Brique62" parent="Briques" instance=ExtResource("5_w87fw")]
  136. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  137. position = Vector2(0, 160)
  138. nombre_de_vies = 2
  139. [node name="Brique63" parent="Briques" instance=ExtResource("5_w87fw")]
  140. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  141. position = Vector2(390, 160)
  142. nombre_de_vies = 2
  143. [node name="Brique64" parent="Briques" instance=ExtResource("5_w87fw")]
  144. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  145. position = Vector2(360, 160)
  146. nombre_de_vies = 2
  147. [node name="Brique65" parent="Briques" instance=ExtResource("5_w87fw")]
  148. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  149. position = Vector2(330, 160)
  150. nombre_de_vies = 2
  151. [node name="Brique66" parent="Briques" instance=ExtResource("5_w87fw")]
  152. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  153. position = Vector2(300, 160)
  154. nombre_de_vies = 2
  155. [node name="Brique67" parent="Briques" instance=ExtResource("5_w87fw")]
  156. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  157. position = Vector2(270, 160)
  158. nombre_de_vies = 2
  159. [node name="Brique68" parent="Briques" instance=ExtResource("5_w87fw")]
  160. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  161. position = Vector2(240, 160)
  162. nombre_de_vies = 2
  163. [node name="Brique29" parent="Briques" instance=ExtResource("5_w87fw")]
  164. position = Vector2(390, 128)
  165. [node name="Brique30" parent="Briques" instance=ExtResource("5_w87fw")]
  166. position = Vector2(360, 128)
  167. [node name="Brique31" parent="Briques" instance=ExtResource("5_w87fw")]
  168. position = Vector2(330, 128)
  169. [node name="Brique32" parent="Briques" instance=ExtResource("5_w87fw")]
  170. position = Vector2(300, 128)
  171. [node name="Brique33" parent="Briques" instance=ExtResource("5_w87fw")]
  172. position = Vector2(270, 128)
  173. [node name="Brique34" parent="Briques" instance=ExtResource("5_w87fw")]
  174. position = Vector2(390, 112)
  175. [node name="Brique35" parent="Briques" instance=ExtResource("5_w87fw")]
  176. position = Vector2(360, 112)
  177. [node name="Brique36" parent="Briques" instance=ExtResource("5_w87fw")]
  178. position = Vector2(330, 112)
  179. [node name="Brique37" parent="Briques" instance=ExtResource("5_w87fw")]
  180. position = Vector2(300, 112)
  181. [node name="Brique38" parent="Briques" instance=ExtResource("5_w87fw")]
  182. position = Vector2(390, 96)
  183. [node name="Brique39" parent="Briques" instance=ExtResource("5_w87fw")]
  184. position = Vector2(360, 96)
  185. [node name="Brique40" parent="Briques" instance=ExtResource("5_w87fw")]
  186. position = Vector2(330, 96)
  187. [node name="Brique41" parent="Briques" instance=ExtResource("5_w87fw")]
  188. position = Vector2(390, 80)
  189. [node name="Brique42" parent="Briques" instance=ExtResource("5_w87fw")]
  190. position = Vector2(360, 80)
  191. [node name="Brique43" parent="Briques" instance=ExtResource("5_w87fw")]
  192. position = Vector2(390, 64)
  193. pouvoir_type = 1
  194. [node name="Brique71" parent="Briques" instance=ExtResource("5_w87fw")]
  195. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  196. position = Vector2(180, 128)
  197. nombre_de_vies = 2
  198. [node name="Brique72" parent="Briques" instance=ExtResource("5_w87fw")]
  199. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  200. position = Vector2(180, 144)
  201. nombre_de_vies = 2
  202. [node name="Brique73" parent="Briques" instance=ExtResource("5_w87fw")]
  203. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  204. position = Vector2(180, 112)
  205. nombre_de_vies = 2
  206. [node name="Brique74" parent="Briques" instance=ExtResource("5_w87fw")]
  207. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  208. position = Vector2(180, 96)
  209. nombre_de_vies = 2
  210. [node name="Brique75" parent="Briques" instance=ExtResource("5_w87fw")]
  211. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  212. position = Vector2(180, 80)
  213. nombre_de_vies = 2
  214. [node name="Brique76" parent="Briques" instance=ExtResource("5_w87fw")]
  215. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  216. position = Vector2(180, 64)
  217. nombre_de_vies = 2
  218. [node name="Brique77" parent="Briques" instance=ExtResource("5_w87fw")]
  219. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  220. position = Vector2(180, 48)
  221. nombre_de_vies = 2
  222. [node name="Brique78" parent="Briques" instance=ExtResource("5_w87fw")]
  223. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  224. position = Vector2(210, 128)
  225. nombre_de_vies = 2
  226. [node name="Brique79" parent="Briques" instance=ExtResource("5_w87fw")]
  227. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  228. position = Vector2(210, 144)
  229. nombre_de_vies = 2
  230. [node name="Brique80" parent="Briques" instance=ExtResource("5_w87fw")]
  231. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  232. position = Vector2(210, 112)
  233. nombre_de_vies = 2
  234. [node name="Brique81" parent="Briques" instance=ExtResource("5_w87fw")]
  235. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  236. position = Vector2(210, 96)
  237. nombre_de_vies = 2
  238. [node name="Brique82" parent="Briques" instance=ExtResource("5_w87fw")]
  239. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  240. position = Vector2(210, 80)
  241. nombre_de_vies = 2
  242. [node name="Brique83" parent="Briques" instance=ExtResource("5_w87fw")]
  243. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  244. position = Vector2(210, 64)
  245. nombre_de_vies = 2
  246. [node name="Brique84" parent="Briques" instance=ExtResource("5_w87fw")]
  247. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  248. position = Vector2(210, 48)
  249. nombre_de_vies = 2
  250. [node name="Brique85" parent="Briques" instance=ExtResource("5_w87fw")]
  251. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  252. position = Vector2(180, 32)
  253. nombre_de_vies = 2
  254. [node name="Brique86" parent="Briques" instance=ExtResource("5_w87fw")]
  255. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  256. position = Vector2(180, 16)
  257. nombre_de_vies = 2
  258. [node name="Brique87" parent="Briques" instance=ExtResource("5_w87fw")]
  259. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  260. position = Vector2(210, 32)
  261. nombre_de_vies = 2
  262. [node name="Brique88" parent="Briques" instance=ExtResource("5_w87fw")]
  263. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  264. position = Vector2(210, 16)
  265. nombre_de_vies = 2
  266. [node name="Brique89" parent="Briques" instance=ExtResource("5_w87fw")]
  267. position = Vector2(180, 0)
  268. pouvoir_type = 4
  269. [node name="Brique90" parent="Briques" instance=ExtResource("5_w87fw")]
  270. position = Vector2(210, 0)
  271. pouvoir_type = 4
  272. [node name="Arene" parent="." instance=ExtResource("6_jpa8v")]
  273. metadata/_edit_lock_ = true
  274. [node name="Message" type="PanelContainer" parent="."]
  275. visible = false
  276. offset_left = 20.0
  277. offset_top = 20.0
  278. offset_right = 400.0
  279. offset_bottom = 400.0
  280. [node name="Perdu" parent="Message" instance=ExtResource("7_85y4s")]
  281. visible = false
  282. layout_mode = 2
  283. [node name="Gagne" parent="Message" instance=ExtResource("8_nim5h")]
  284. visible = false
  285. layout_mode = 2
  286. [node name="Stock" parent="." instance=ExtResource("9_lcj17")]
  287. offset_bottom = 420.0
  288. [node name="Musique" type="AudioStreamPlayer" parent="."]
  289. process_mode = 3
  290. stream = ExtResource("10_sj2ml")
  291. autoplay = true
  292. bus = &"Musique"
  293. [connection signal="nb_balles_change" from="Lanceur" to="Stock" method="_quand_nombre_balles_change"]
  294. [connection signal="partie_perdue" from="Lanceur" to="Message" method="show"]
  295. [connection signal="partie_perdue" from="Lanceur" to="Message/Perdu" method="show"]
  296. [connection signal="plus_de_briques" from="Briques" to="Lanceur" method="queue_free"]
  297. [connection signal="plus_de_briques" from="Briques" to="Message" method="show"]
  298. [connection signal="plus_de_briques" from="Briques" to="Message/Gagne" method="show"]
  299. [connection signal="balle_detruite" from="Arene" to="Lanceur" method="_quand_balle_detruite"]