blob_facile.tscn 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. [gd_scene load_steps=11 format=3 uid="uid://b11cxtgl8mwvm"]
  2. [ext_resource type="Texture2D" uid="uid://3qk2oqmb0fyl" path="res://exec/niveaux/fonds/ground22.png" id="1_0yxll"]
  3. [ext_resource type="PackedScene" uid="uid://cpo1b44exbbyf" path="res://composants/objets/raquette/raquette.tscn" id="1_acy65"]
  4. [ext_resource type="PackedScene" uid="uid://cux4pm68s7pr8" path="res://composants/objets/lanceur/lanceur.tscn" id="2_ckrqv"]
  5. [ext_resource type="Script" path="res://composants/objets/brique/conteneur_briques.gd" id="3_gl2a7"]
  6. [ext_resource type="PackedScene" uid="uid://brd8yid3l7wgm" path="res://composants/objets/brique/brique.tscn" id="4_nhi56"]
  7. [ext_resource type="PackedScene" uid="uid://b28d5a4be36qa" path="res://composants/objets/arene/arene.tscn" id="5_jfp2p"]
  8. [ext_resource type="PackedScene" uid="uid://mj0r0qodppdk" path="res://composants/interface/perdu/perdu.tscn" id="6_vwded"]
  9. [ext_resource type="PackedScene" uid="uid://byxtc8f6n5o3" path="res://composants/interface/gagne/gagne.tscn" id="7_3ob7h"]
  10. [ext_resource type="PackedScene" uid="uid://ds3j5rjhys4xf" path="res://composants/interface/stock/stock.tscn" id="8_jjbb6"]
  11. [ext_resource type="AudioStream" uid="uid://1p4lhi3rprps" path="res://ressources/musiques/atelier_godot_level_main_loop.ogg" id="10_40ea0"]
  12. [node name="BlobFacile" type="Node2D"]
  13. [node name="Fond" type="TextureRect" parent="."]
  14. offset_right = 40.0
  15. offset_bottom = 40.0
  16. texture = ExtResource("1_0yxll")
  17. [node name="Raquette" parent="." instance=ExtResource("1_acy65")]
  18. position = Vector2(210, 400)
  19. [node name="Lanceur" parent="." instance=ExtResource("2_ckrqv")]
  20. position = Vector2(210, 176)
  21. [node name="Briques" type="Node2D" parent="."]
  22. script = ExtResource("3_gl2a7")
  23. [node name="Brique1" parent="Briques" instance=ExtResource("4_nhi56")]
  24. position = Vector2(150, 112)
  25. pouvoir_type = 2
  26. [node name="Brique2" parent="Briques" instance=ExtResource("4_nhi56")]
  27. position = Vector2(180, 112)
  28. [node name="Brique3" parent="Briques" instance=ExtResource("4_nhi56")]
  29. position = Vector2(210, 112)
  30. [node name="Brique4" parent="Briques" instance=ExtResource("4_nhi56")]
  31. position = Vector2(240, 112)
  32. [node name="Brique5" parent="Briques" instance=ExtResource("4_nhi56")]
  33. position = Vector2(120, 128)
  34. [node name="Brique6" parent="Briques" instance=ExtResource("4_nhi56")]
  35. position = Vector2(150, 128)
  36. [node name="Brique7" parent="Briques" instance=ExtResource("4_nhi56")]
  37. position = Vector2(180, 128)
  38. [node name="Brique8" parent="Briques" instance=ExtResource("4_nhi56")]
  39. position = Vector2(210, 128)
  40. pouvoir_type = 3
  41. [node name="Brique9" parent="Briques" instance=ExtResource("4_nhi56")]
  42. position = Vector2(240, 128)
  43. [node name="Brique10" parent="Briques" instance=ExtResource("4_nhi56")]
  44. position = Vector2(270, 128)
  45. [node name="Brique11" parent="Briques" instance=ExtResource("4_nhi56")]
  46. position = Vector2(150, 144)
  47. pouvoir_type = 2
  48. [node name="Brique12" parent="Briques" instance=ExtResource("4_nhi56")]
  49. position = Vector2(180, 144)
  50. [node name="Brique13" parent="Briques" instance=ExtResource("4_nhi56")]
  51. position = Vector2(210, 144)
  52. [node name="Brique14" parent="Briques" instance=ExtResource("4_nhi56")]
  53. position = Vector2(240, 144)
  54. [node name="Brique15" parent="Briques" instance=ExtResource("4_nhi56")]
  55. position = Vector2(270, 112)
  56. pouvoir_type = 2
  57. [node name="Brique16" parent="Briques" instance=ExtResource("4_nhi56")]
  58. position = Vector2(300, 128)
  59. [node name="Brique17" parent="Briques" instance=ExtResource("4_nhi56")]
  60. position = Vector2(270, 144)
  61. pouvoir_type = 2
  62. [node name="Arene" parent="." instance=ExtResource("5_jfp2p")]
  63. metadata/_edit_lock_ = true
  64. [node name="Message" type="PanelContainer" parent="."]
  65. visible = false
  66. offset_left = 20.0
  67. offset_top = 20.0
  68. offset_right = 400.0
  69. offset_bottom = 400.0
  70. [node name="Perdu" parent="Message" instance=ExtResource("6_vwded")]
  71. visible = false
  72. layout_mode = 2
  73. [node name="Gagne" parent="Message" instance=ExtResource("7_3ob7h")]
  74. visible = false
  75. layout_mode = 2
  76. [node name="Stock" parent="." instance=ExtResource("8_jjbb6")]
  77. offset_bottom = 420.0
  78. [node name="Musique" type="AudioStreamPlayer" parent="."]
  79. process_mode = 3
  80. stream = ExtResource("10_40ea0")
  81. autoplay = true
  82. bus = &"Musique"
  83. [connection signal="nb_balles_change" from="Lanceur" to="Stock" method="_quand_nombre_balles_change"]
  84. [connection signal="partie_perdue" from="Lanceur" to="Message" method="show"]
  85. [connection signal="partie_perdue" from="Lanceur" to="Message/Perdu" method="show"]
  86. [connection signal="plus_de_briques" from="Briques" to="Lanceur" method="queue_free"]
  87. [connection signal="plus_de_briques" from="Briques" to="Message" method="show"]
  88. [connection signal="plus_de_briques" from="Briques" to="Message/Gagne" method="show"]
  89. [connection signal="balle_detruite" from="Arene" to="Lanceur" method="_quand_balle_detruite"]