PauseScreen.tscn 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. [gd_scene load_steps=2 format=3 uid="uid://ciayropge4xvk"]
  2. [ext_resource type="Script" path="res://UI/PauseScreen.gd" id="1_5nsl1"]
  3. [node name="PauseScreen" type="Control"]
  4. process_mode = 3
  5. layout_mode = 3
  6. anchors_preset = 15
  7. anchor_right = 1.0
  8. anchor_bottom = 1.0
  9. grow_horizontal = 2
  10. grow_vertical = 2
  11. script = ExtResource("1_5nsl1")
  12. [node name="ColorRect" type="ColorRect" parent="."]
  13. anchors_preset = 15
  14. anchor_right = 1.0
  15. anchor_bottom = 1.0
  16. grow_horizontal = 2
  17. grow_vertical = 2
  18. color = Color(0.447059, 0.690196, 1, 0.282353)
  19. [node name="CenterContainer" type="CenterContainer" parent="."]
  20. anchors_preset = 15
  21. anchor_right = 1.0
  22. anchor_bottom = 1.0
  23. grow_horizontal = 2
  24. grow_vertical = 2
  25. [node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
  26. offset_left = 903.0
  27. offset_top = 489.0
  28. offset_right = 1017.0
  29. offset_bottom = 590.0
  30. [node name="BackToMenuButton" type="Button" parent="CenterContainer/VBoxContainer"]
  31. offset_right = 114.0
  32. offset_bottom = 31.0
  33. text = "back to menu
  34. "
  35. [node name="RestartButton" type="Button" parent="CenterContainer/VBoxContainer"]
  36. offset_top = 35.0
  37. offset_right = 114.0
  38. offset_bottom = 66.0
  39. text = "restart
  40. "
  41. [node name="ResumeButton" type="Button" parent="CenterContainer/VBoxContainer"]
  42. offset_top = 70.0
  43. offset_right = 114.0
  44. offset_bottom = 101.0
  45. text = "resume "
  46. [connection signal="pressed" from="CenterContainer/VBoxContainer/BackToMenuButton" to="." method="_on_back_to_menu_button_pressed"]
  47. [connection signal="pressed" from="CenterContainer/VBoxContainer/RestartButton" to="." method="_on_restart_button_pressed"]
  48. [connection signal="pressed" from="CenterContainer/VBoxContainer/ResumeButton" to="." method="_on_resume_button_pressed"]