mini_centre.tscn 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. [gd_scene load_steps=10 format=3 uid="uid://18mfasfcx418"]
  2. [ext_resource type="Texture2D" uid="uid://bt57uww7im6yf" path="res://exec/niveaux/fonds/ground05.png" id="1_16k1s"]
  3. [ext_resource type="PackedScene" uid="uid://cpo1b44exbbyf" path="res://composants/objets/raquette/raquette.tscn" id="1_ajuqp"]
  4. [ext_resource type="PackedScene" uid="uid://cux4pm68s7pr8" path="res://composants/objets/lanceur/lanceur.tscn" id="2_i0wfn"]
  5. [ext_resource type="Script" path="res://composants/objets/brique/conteneur_briques.gd" id="3_p161b"]
  6. [ext_resource type="PackedScene" uid="uid://brd8yid3l7wgm" path="res://composants/objets/brique/brique.tscn" id="4_wc6tb"]
  7. [ext_resource type="PackedScene" uid="uid://b28d5a4be36qa" path="res://composants/objets/arene/arene.tscn" id="5_lb6y8"]
  8. [ext_resource type="PackedScene" uid="uid://mj0r0qodppdk" path="res://composants/interface/perdu/perdu.tscn" id="6_plfv0"]
  9. [ext_resource type="PackedScene" uid="uid://ds3j5rjhys4xf" path="res://composants/interface/stock/stock.tscn" id="8_8ltoc"]
  10. [ext_resource type="AudioStream" uid="uid://1p4lhi3rprps" path="res://ressources/musiques/atelier_godot_level_main_loop.ogg" id="10_ujhky"]
  11. [node name="CarreSimple" type="Node2D"]
  12. [node name="Fond" type="TextureRect" parent="."]
  13. offset_right = 40.0
  14. offset_bottom = 40.0
  15. texture = ExtResource("1_16k1s")
  16. [node name="Raquette" parent="." instance=ExtResource("1_ajuqp")]
  17. position = Vector2(210, 400)
  18. [node name="Lanceur" parent="." instance=ExtResource("2_i0wfn")]
  19. position = Vector2(180, 144)
  20. [node name="Briques" type="Node2D" parent="."]
  21. script = ExtResource("3_p161b")
  22. [node name="Brique1" parent="Briques" instance=ExtResource("4_wc6tb")]
  23. position = Vector2(210, 256)
  24. [node name="Arene" parent="." instance=ExtResource("5_lb6y8")]
  25. metadata/_edit_lock_ = true
  26. [node name="Message" type="PanelContainer" parent="."]
  27. visible = false
  28. offset_left = 20.0
  29. offset_top = 20.0
  30. offset_right = 400.0
  31. offset_bottom = 400.0
  32. [node name="Perdu" parent="Message" instance=ExtResource("6_plfv0")]
  33. visible = false
  34. layout_mode = 2
  35. [node name="Stock" parent="." instance=ExtResource("8_8ltoc")]
  36. offset_bottom = 420.0
  37. [node name="Musique" type="AudioStreamPlayer" parent="."]
  38. process_mode = 3
  39. stream = ExtResource("10_ujhky")
  40. autoplay = true
  41. bus = &"Musique"
  42. [connection signal="nb_balles_change" from="Lanceur" to="Stock" method="_quand_nombre_balles_change"]
  43. [connection signal="partie_perdue" from="Lanceur" to="Message" method="show"]
  44. [connection signal="partie_perdue" from="Lanceur" to="Message/Perdu" method="show"]
  45. [connection signal="balle_detruite" from="Arene" to="Lanceur" method="_quand_balle_detruite"]