jdll2024.tscn 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. [gd_scene load_steps=10 format=3 uid="uid://dh15j87pa6rul"]
  2. [ext_resource type="PackedScene" uid="uid://cpo1b44exbbyf" path="res://composants/objets/raquette/raquette.tscn" id="1_2omxn"]
  3. [ext_resource type="Texture2D" uid="uid://byivppnn85c4n" path="res://exec/niveaux/fonds/jdll2024gradient.svg" id="1_y1m81"]
  4. [ext_resource type="PackedScene" uid="uid://cux4pm68s7pr8" path="res://composants/objets/lanceur/lanceur.tscn" id="2_3odcq"]
  5. [ext_resource type="Script" path="res://composants/objets/brique/conteneur_briques.gd" id="3_qi6l6"]
  6. [ext_resource type="PackedScene" uid="uid://brd8yid3l7wgm" path="res://composants/objets/brique/brique.tscn" id="4_upd8n"]
  7. [ext_resource type="PackedScene" uid="uid://b28d5a4be36qa" path="res://composants/objets/arene/arene.tscn" id="5_j3mb3"]
  8. [ext_resource type="PackedScene" uid="uid://mj0r0qodppdk" path="res://composants/interface/perdu/perdu.tscn" id="6_rsl83"]
  9. [ext_resource type="PackedScene" uid="uid://ds3j5rjhys4xf" path="res://composants/interface/stock/stock.tscn" id="8_ej7nx"]
  10. [ext_resource type="AudioStream" uid="uid://1p4lhi3rprps" path="res://ressources/musiques/atelier_godot_level_main_loop.ogg" id="10_mh31g"]
  11. [node name="Jdll2024" type="Node2D"]
  12. [node name="Fond" type="TextureRect" parent="."]
  13. offset_right = 40.0
  14. offset_bottom = 40.0
  15. texture = ExtResource("1_y1m81")
  16. [node name="Raquette" parent="." instance=ExtResource("1_2omxn")]
  17. position = Vector2(210, 400)
  18. [node name="Lanceur" parent="." instance=ExtResource("2_3odcq")]
  19. position = Vector2(195, 192)
  20. nombre_de_balles = 2
  21. [node name="Briques" type="Node2D" parent="."]
  22. script = ExtResource("3_qi6l6")
  23. [node name="Brique2" parent="Briques" instance=ExtResource("4_upd8n")]
  24. position = Vector2(30, 32)
  25. [node name="Brique3" parent="Briques" instance=ExtResource("4_upd8n")]
  26. position = Vector2(60, 32)
  27. [node name="Brique4" parent="Briques" instance=ExtResource("4_upd8n")]
  28. position = Vector2(90, 32)
  29. [node name="Brique5" parent="Briques" instance=ExtResource("4_upd8n")]
  30. position = Vector2(120, 32)
  31. [node name="Brique6" parent="Briques" instance=ExtResource("4_upd8n")]
  32. position = Vector2(150, 32)
  33. [node name="Brique7" parent="Briques" instance=ExtResource("4_upd8n")]
  34. position = Vector2(180, 32)
  35. [node name="Brique8" parent="Briques" instance=ExtResource("4_upd8n")]
  36. position = Vector2(240, 32)
  37. [node name="Brique9" parent="Briques" instance=ExtResource("4_upd8n")]
  38. position = Vector2(270, 32)
  39. [node name="Brique10" parent="Briques" instance=ExtResource("4_upd8n")]
  40. position = Vector2(300, 32)
  41. [node name="Brique11" parent="Briques" instance=ExtResource("4_upd8n")]
  42. position = Vector2(330, 32)
  43. [node name="Brique12" parent="Briques" instance=ExtResource("4_upd8n")]
  44. position = Vector2(360, 32)
  45. [node name="Brique13" parent="Briques" instance=ExtResource("4_upd8n")]
  46. position = Vector2(210, 32)
  47. [node name="Brique16" parent="Briques" instance=ExtResource("4_upd8n")]
  48. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  49. position = Vector2(30, 48)
  50. [node name="Brique17" parent="Briques" instance=ExtResource("4_upd8n")]
  51. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  52. position = Vector2(60, 48)
  53. [node name="Brique18" parent="Briques" instance=ExtResource("4_upd8n")]
  54. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  55. position = Vector2(90, 48)
  56. [node name="Brique19" parent="Briques" instance=ExtResource("4_upd8n")]
  57. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  58. position = Vector2(120, 48)
  59. [node name="Brique20" parent="Briques" instance=ExtResource("4_upd8n")]
  60. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  61. position = Vector2(150, 48)
  62. [node name="Brique21" parent="Briques" instance=ExtResource("4_upd8n")]
  63. position = Vector2(180, 48)
  64. [node name="Brique22" parent="Briques" instance=ExtResource("4_upd8n")]
  65. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  66. position = Vector2(240, 48)
  67. [node name="Brique23" parent="Briques" instance=ExtResource("4_upd8n")]
  68. position = Vector2(270, 48)
  69. [node name="Brique24" parent="Briques" instance=ExtResource("4_upd8n")]
  70. position = Vector2(300, 48)
  71. [node name="Brique25" parent="Briques" instance=ExtResource("4_upd8n")]
  72. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  73. position = Vector2(330, 48)
  74. [node name="Brique26" parent="Briques" instance=ExtResource("4_upd8n")]
  75. position = Vector2(360, 48)
  76. [node name="Brique27" parent="Briques" instance=ExtResource("4_upd8n")]
  77. position = Vector2(210, 48)
  78. [node name="Brique30" parent="Briques" instance=ExtResource("4_upd8n")]
  79. position = Vector2(30, 64)
  80. [node name="Brique31" parent="Briques" instance=ExtResource("4_upd8n")]
  81. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  82. position = Vector2(60, 64)
  83. [node name="Brique32" parent="Briques" instance=ExtResource("4_upd8n")]
  84. position = Vector2(90, 64)
  85. [node name="Brique33" parent="Briques" instance=ExtResource("4_upd8n")]
  86. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  87. position = Vector2(120, 64)
  88. [node name="Brique34" parent="Briques" instance=ExtResource("4_upd8n")]
  89. position = Vector2(150, 64)
  90. [node name="Brique35" parent="Briques" instance=ExtResource("4_upd8n")]
  91. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  92. position = Vector2(180, 64)
  93. [node name="Brique36" parent="Briques" instance=ExtResource("4_upd8n")]
  94. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  95. position = Vector2(240, 64)
  96. [node name="Brique37" parent="Briques" instance=ExtResource("4_upd8n")]
  97. position = Vector2(270, 64)
  98. [node name="Brique38" parent="Briques" instance=ExtResource("4_upd8n")]
  99. position = Vector2(300, 64)
  100. [node name="Brique39" parent="Briques" instance=ExtResource("4_upd8n")]
  101. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  102. position = Vector2(330, 64)
  103. [node name="Brique40" parent="Briques" instance=ExtResource("4_upd8n")]
  104. position = Vector2(360, 64)
  105. [node name="Brique41" parent="Briques" instance=ExtResource("4_upd8n")]
  106. position = Vector2(210, 64)
  107. [node name="Brique44" parent="Briques" instance=ExtResource("4_upd8n")]
  108. position = Vector2(30, 80)
  109. [node name="Brique45" parent="Briques" instance=ExtResource("4_upd8n")]
  110. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  111. position = Vector2(60, 80)
  112. [node name="Brique46" parent="Briques" instance=ExtResource("4_upd8n")]
  113. position = Vector2(90, 80)
  114. [node name="Brique47" parent="Briques" instance=ExtResource("4_upd8n")]
  115. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  116. position = Vector2(120, 80)
  117. [node name="Brique48" parent="Briques" instance=ExtResource("4_upd8n")]
  118. position = Vector2(150, 80)
  119. [node name="Brique49" parent="Briques" instance=ExtResource("4_upd8n")]
  120. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  121. position = Vector2(180, 80)
  122. [node name="Brique50" parent="Briques" instance=ExtResource("4_upd8n")]
  123. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  124. position = Vector2(240, 80)
  125. [node name="Brique51" parent="Briques" instance=ExtResource("4_upd8n")]
  126. position = Vector2(270, 80)
  127. [node name="Brique52" parent="Briques" instance=ExtResource("4_upd8n")]
  128. position = Vector2(300, 80)
  129. [node name="Brique53" parent="Briques" instance=ExtResource("4_upd8n")]
  130. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  131. position = Vector2(330, 80)
  132. [node name="Brique54" parent="Briques" instance=ExtResource("4_upd8n")]
  133. position = Vector2(360, 80)
  134. [node name="Brique55" parent="Briques" instance=ExtResource("4_upd8n")]
  135. position = Vector2(210, 80)
  136. [node name="Brique58" parent="Briques" instance=ExtResource("4_upd8n")]
  137. position = Vector2(30, 96)
  138. [node name="Brique59" parent="Briques" instance=ExtResource("4_upd8n")]
  139. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  140. position = Vector2(60, 96)
  141. [node name="Brique60" parent="Briques" instance=ExtResource("4_upd8n")]
  142. position = Vector2(90, 96)
  143. [node name="Brique61" parent="Briques" instance=ExtResource("4_upd8n")]
  144. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  145. position = Vector2(120, 96)
  146. [node name="Brique62" parent="Briques" instance=ExtResource("4_upd8n")]
  147. position = Vector2(150, 96)
  148. [node name="Brique63" parent="Briques" instance=ExtResource("4_upd8n")]
  149. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  150. position = Vector2(180, 96)
  151. [node name="Brique64" parent="Briques" instance=ExtResource("4_upd8n")]
  152. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  153. position = Vector2(240, 96)
  154. [node name="Brique65" parent="Briques" instance=ExtResource("4_upd8n")]
  155. position = Vector2(270, 96)
  156. [node name="Brique66" parent="Briques" instance=ExtResource("4_upd8n")]
  157. position = Vector2(300, 96)
  158. [node name="Brique67" parent="Briques" instance=ExtResource("4_upd8n")]
  159. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  160. position = Vector2(330, 96)
  161. [node name="Brique68" parent="Briques" instance=ExtResource("4_upd8n")]
  162. position = Vector2(360, 96)
  163. [node name="Brique69" parent="Briques" instance=ExtResource("4_upd8n")]
  164. position = Vector2(210, 96)
  165. [node name="Brique72" parent="Briques" instance=ExtResource("4_upd8n")]
  166. position = Vector2(30, 112)
  167. [node name="Brique73" parent="Briques" instance=ExtResource("4_upd8n")]
  168. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  169. position = Vector2(60, 112)
  170. [node name="Brique74" parent="Briques" instance=ExtResource("4_upd8n")]
  171. position = Vector2(90, 112)
  172. [node name="Brique75" parent="Briques" instance=ExtResource("4_upd8n")]
  173. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  174. position = Vector2(120, 112)
  175. [node name="Brique76" parent="Briques" instance=ExtResource("4_upd8n")]
  176. position = Vector2(150, 112)
  177. [node name="Brique77" parent="Briques" instance=ExtResource("4_upd8n")]
  178. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  179. position = Vector2(180, 112)
  180. [node name="Brique78" parent="Briques" instance=ExtResource("4_upd8n")]
  181. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  182. position = Vector2(240, 112)
  183. [node name="Brique79" parent="Briques" instance=ExtResource("4_upd8n")]
  184. position = Vector2(270, 112)
  185. [node name="Brique80" parent="Briques" instance=ExtResource("4_upd8n")]
  186. position = Vector2(300, 112)
  187. [node name="Brique81" parent="Briques" instance=ExtResource("4_upd8n")]
  188. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  189. position = Vector2(330, 112)
  190. [node name="Brique82" parent="Briques" instance=ExtResource("4_upd8n")]
  191. position = Vector2(360, 112)
  192. [node name="Brique83" parent="Briques" instance=ExtResource("4_upd8n")]
  193. position = Vector2(210, 112)
  194. [node name="Brique86" parent="Briques" instance=ExtResource("4_upd8n")]
  195. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  196. position = Vector2(30, 128)
  197. [node name="Brique87" parent="Briques" instance=ExtResource("4_upd8n")]
  198. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  199. position = Vector2(60, 128)
  200. [node name="Brique88" parent="Briques" instance=ExtResource("4_upd8n")]
  201. position = Vector2(90, 128)
  202. [node name="Brique89" parent="Briques" instance=ExtResource("4_upd8n")]
  203. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  204. position = Vector2(120, 128)
  205. [node name="Brique90" parent="Briques" instance=ExtResource("4_upd8n")]
  206. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  207. position = Vector2(150, 128)
  208. [node name="Brique91" parent="Briques" instance=ExtResource("4_upd8n")]
  209. position = Vector2(180, 128)
  210. [node name="Brique92" parent="Briques" instance=ExtResource("4_upd8n")]
  211. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  212. position = Vector2(240, 128)
  213. [node name="Brique93" parent="Briques" instance=ExtResource("4_upd8n")]
  214. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  215. position = Vector2(270, 128)
  216. [node name="Brique94" parent="Briques" instance=ExtResource("4_upd8n")]
  217. position = Vector2(300, 128)
  218. [node name="Brique95" parent="Briques" instance=ExtResource("4_upd8n")]
  219. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  220. position = Vector2(330, 128)
  221. [node name="Brique96" parent="Briques" instance=ExtResource("4_upd8n")]
  222. modulate = Color(0.333333, 0.333333, 0.333333, 1)
  223. position = Vector2(360, 128)
  224. [node name="Brique97" parent="Briques" instance=ExtResource("4_upd8n")]
  225. position = Vector2(210, 128)
  226. [node name="Brique100" parent="Briques" instance=ExtResource("4_upd8n")]
  227. position = Vector2(30, 144)
  228. [node name="Brique101" parent="Briques" instance=ExtResource("4_upd8n")]
  229. position = Vector2(60, 144)
  230. [node name="Brique102" parent="Briques" instance=ExtResource("4_upd8n")]
  231. position = Vector2(90, 144)
  232. [node name="Brique103" parent="Briques" instance=ExtResource("4_upd8n")]
  233. position = Vector2(120, 144)
  234. [node name="Brique104" parent="Briques" instance=ExtResource("4_upd8n")]
  235. position = Vector2(150, 144)
  236. [node name="Brique105" parent="Briques" instance=ExtResource("4_upd8n")]
  237. position = Vector2(180, 144)
  238. [node name="Brique106" parent="Briques" instance=ExtResource("4_upd8n")]
  239. position = Vector2(240, 144)
  240. [node name="Brique107" parent="Briques" instance=ExtResource("4_upd8n")]
  241. position = Vector2(270, 144)
  242. [node name="Brique108" parent="Briques" instance=ExtResource("4_upd8n")]
  243. position = Vector2(300, 144)
  244. [node name="Brique109" parent="Briques" instance=ExtResource("4_upd8n")]
  245. position = Vector2(330, 144)
  246. [node name="Brique110" parent="Briques" instance=ExtResource("4_upd8n")]
  247. position = Vector2(360, 144)
  248. [node name="Brique111" parent="Briques" instance=ExtResource("4_upd8n")]
  249. position = Vector2(210, 144)
  250. [node name="Brique112" parent="Briques" instance=ExtResource("4_upd8n")]
  251. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  252. position = Vector2(30, 160)
  253. [node name="Brique124" parent="Briques" instance=ExtResource("4_upd8n")]
  254. position = Vector2(150, 272)
  255. [node name="Brique125" parent="Briques" instance=ExtResource("4_upd8n")]
  256. position = Vector2(330, 224)
  257. [node name="Brique126" parent="Briques" instance=ExtResource("4_upd8n")]
  258. position = Vector2(270, 272)
  259. [node name="Brique128" parent="Briques" instance=ExtResource("4_upd8n")]
  260. position = Vector2(120, 224)
  261. [node name="Brique129" parent="Briques" instance=ExtResource("4_upd8n")]
  262. position = Vector2(60, 272)
  263. [node name="Brique127" parent="Briques" instance=ExtResource("4_upd8n")]
  264. position = Vector2(210, 224)
  265. [node name="Brique113" parent="Briques" instance=ExtResource("4_upd8n")]
  266. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  267. position = Vector2(60, 160)
  268. [node name="Brique114" parent="Briques" instance=ExtResource("4_upd8n")]
  269. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  270. position = Vector2(90, 160)
  271. [node name="Brique115" parent="Briques" instance=ExtResource("4_upd8n")]
  272. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  273. position = Vector2(120, 160)
  274. [node name="Brique116" parent="Briques" instance=ExtResource("4_upd8n")]
  275. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  276. position = Vector2(150, 160)
  277. [node name="Brique117" parent="Briques" instance=ExtResource("4_upd8n")]
  278. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  279. position = Vector2(180, 160)
  280. [node name="Brique118" parent="Briques" instance=ExtResource("4_upd8n")]
  281. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  282. position = Vector2(240, 160)
  283. [node name="Brique119" parent="Briques" instance=ExtResource("4_upd8n")]
  284. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  285. position = Vector2(270, 160)
  286. [node name="Brique120" parent="Briques" instance=ExtResource("4_upd8n")]
  287. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  288. position = Vector2(300, 160)
  289. [node name="Brique121" parent="Briques" instance=ExtResource("4_upd8n")]
  290. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  291. position = Vector2(330, 160)
  292. [node name="Brique122" parent="Briques" instance=ExtResource("4_upd8n")]
  293. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  294. position = Vector2(360, 160)
  295. [node name="Brique123" parent="Briques" instance=ExtResource("4_upd8n")]
  296. modulate = Color(0.666667, 0.666667, 0.666667, 1)
  297. position = Vector2(210, 160)
  298. [node name="Arene" parent="." instance=ExtResource("5_j3mb3")]
  299. metadata/_edit_lock_ = true
  300. [node name="Message" type="PanelContainer" parent="."]
  301. visible = false
  302. offset_left = 20.0
  303. offset_top = 20.0
  304. offset_right = 400.0
  305. offset_bottom = 400.0
  306. [node name="Perdu" parent="Message" instance=ExtResource("6_rsl83")]
  307. visible = false
  308. layout_mode = 2
  309. [node name="Stock" parent="." instance=ExtResource("8_ej7nx")]
  310. offset_bottom = 420.0
  311. [node name="Musique" type="AudioStreamPlayer" parent="."]
  312. process_mode = 3
  313. stream = ExtResource("10_mh31g")
  314. autoplay = true
  315. bus = &"Musique"
  316. [connection signal="nb_balles_change" from="Lanceur" to="Stock" method="_quand_nombre_balles_change"]
  317. [connection signal="partie_perdue" from="Lanceur" to="Message" method="show"]
  318. [connection signal="partie_perdue" from="Lanceur" to="Message/Perdu" method="show"]
  319. [connection signal="balle_detruite" from="Arene" to="Lanceur" method="_quand_balle_detruite"]