perdu.tscn 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [gd_scene load_steps=2 format=3 uid="uid://mj0r0qodppdk"]
  2. [ext_resource type="AudioStream" uid="uid://bmws7hyv3in4u" path="res://composants/interface/perdu/gameover_sfx.wav" id="1_o3mkr"]
  3. [node name="Perdu" type="Control"]
  4. layout_mode = 3
  5. anchors_preset = 15
  6. anchor_right = 1.0
  7. anchor_bottom = 1.0
  8. grow_horizontal = 2
  9. grow_vertical = 2
  10. [node name="OhNon" type="Label" parent="."]
  11. layout_mode = 1
  12. anchors_preset = 8
  13. anchor_left = 0.5
  14. anchor_top = 0.5
  15. anchor_right = 0.5
  16. anchor_bottom = 0.5
  17. offset_left = -31.5
  18. offset_top = -11.5
  19. offset_right = 31.5
  20. offset_bottom = 11.5
  21. grow_horizontal = 2
  22. grow_vertical = 2
  23. theme_override_font_sizes/font_size = 40
  24. text = "Partie perdue ..."
  25. [node name="CommandeRetour" type="Label" parent="."]
  26. layout_mode = 0
  27. offset_left = 150.0
  28. offset_top = 336.0
  29. offset_right = 330.0
  30. offset_bottom = 385.0
  31. text = "Échap → menu pause"
  32. [node name="BruitDeLaDefaite" type="AudioStreamPlayer" parent="."]
  33. stream = ExtResource("1_o3mkr")
  34. bus = &"Bruits"
  35. [connection signal="visibility_changed" from="OhNon" to="BruitDeLaDefaite" method="play"]