No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UI.tscn 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. [gd_scene load_steps=4 format=2]
  2. [ext_resource path="res://images/pause.png" type="Texture" id=1]
  3. [ext_resource path="res://scenes/PauseMenu.tscn" type="PackedScene" id=2]
  4. [ext_resource path="res://scenes/UI.gd" type="Script" id=3]
  5. [node name="UI" type="Control"]
  6. anchor_right = 1.0
  7. anchor_bottom = 1.0
  8. margin_top = -0.471939
  9. margin_bottom = -0.471924
  10. mouse_filter = 2
  11. script = ExtResource( 3 )
  12. __meta__ = {
  13. "_edit_use_anchors_": false
  14. }
  15. [node name="MarginContainer" type="MarginContainer" parent="."]
  16. anchor_right = 1.0
  17. margin_bottom = 52.0
  18. custom_constants/margin_right = 10
  19. custom_constants/margin_top = 10
  20. custom_constants/margin_left = 10
  21. custom_constants/margin_bottom = 10
  22. __meta__ = {
  23. "_edit_use_anchors_": false
  24. }
  25. [node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
  26. margin_left = 10.0
  27. margin_top = 10.0
  28. margin_right = 1910.0
  29. margin_bottom = 74.0
  30. hint_tooltip = "Mettre en pause"
  31. size_flags_horizontal = 3
  32. __meta__ = {
  33. "_edit_use_anchors_": false
  34. }
  35. [node name="Label" type="Label" parent="MarginContainer/HBoxContainer"]
  36. margin_right = 1832.0
  37. margin_bottom = 14.0
  38. size_flags_horizontal = 3
  39. size_flags_vertical = 0
  40. text = "Serious Game on Ethics v0.1"
  41. __meta__ = {
  42. "_edit_use_anchors_": false
  43. }
  44. [node name="TextureButton" type="TextureButton" parent="MarginContainer/HBoxContainer"]
  45. margin_left = 1836.0
  46. margin_right = 1900.0
  47. margin_bottom = 64.0
  48. texture_normal = ExtResource( 1 )
  49. [node name="ColorRect" type="ColorRect" parent="MarginContainer/HBoxContainer/TextureButton"]
  50. show_behind_parent = true
  51. anchor_right = 1.0
  52. anchor_bottom = 1.0
  53. mouse_filter = 2
  54. color = Color( 0, 0, 0, 0.231373 )
  55. __meta__ = {
  56. "_edit_use_anchors_": false
  57. }
  58. [node name="PauseMenu" parent="." instance=ExtResource( 2 )]
  59. [connection signal="pressed" from="MarginContainer/HBoxContainer/TextureButton" to="." method="_on_TextureButton_pressed"]