mini_centre.tscn 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [gd_scene load_steps=9 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="AudioStream" uid="uid://1p4lhi3rprps" path="res://ressources/musiques/atelier_godot_level_main_loop.ogg" id="10_ujhky"]
  10. [node name="CarreSimple" type="Node2D"]
  11. [node name="Fond" type="TextureRect" parent="."]
  12. offset_right = 40.0
  13. offset_bottom = 40.0
  14. texture = ExtResource("1_16k1s")
  15. [node name="Raquette" parent="." instance=ExtResource("1_ajuqp")]
  16. position = Vector2(210, 400)
  17. [node name="Lanceur" parent="." instance=ExtResource("2_i0wfn")]
  18. position = Vector2(180, 144)
  19. [node name="Briques" type="Node2D" parent="."]
  20. script = ExtResource("3_p161b")
  21. [node name="Brique1" parent="Briques" instance=ExtResource("4_wc6tb")]
  22. position = Vector2(210, 256)
  23. [node name="Arene" parent="." instance=ExtResource("5_lb6y8")]
  24. metadata/_edit_lock_ = true
  25. [node name="Message" type="PanelContainer" parent="."]
  26. visible = false
  27. offset_left = 20.0
  28. offset_top = 20.0
  29. offset_right = 400.0
  30. offset_bottom = 400.0
  31. [node name="Perdu" parent="Message" instance=ExtResource("6_plfv0")]
  32. visible = false
  33. layout_mode = 2
  34. [node name="Musique" type="AudioStreamPlayer" parent="."]
  35. process_mode = 3
  36. stream = ExtResource("10_ujhky")
  37. autoplay = true
  38. bus = &"Musique"
  39. [connection signal="partie_perdue" from="Lanceur" to="Message" method="show"]
  40. [connection signal="partie_perdue" from="Lanceur" to="Message/Perdu" method="show"]
  41. [connection signal="balle_detruite" from="Arene" to="Lanceur" method="_quand_balle_detruite"]