LevelDoneScreen.tscn 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [gd_scene load_steps=2 format=2]
  2. [ext_resource path="res://UI/level_done_screen.gd" type="Script" id=1]
  3. [node name="LevelDoneScreen" type="Control"]
  4. anchor_right = 1.0
  5. anchor_bottom = 1.0
  6. script = ExtResource( 1 )
  7. [node name="ColorRect" type="ColorRect" parent="."]
  8. anchor_right = 1.0
  9. anchor_bottom = 1.0
  10. color = Color( 0.0588235, 0.772549, 0.486275, 1 )
  11. [node name="MarginContainer" type="MarginContainer" parent="."]
  12. anchor_right = 1.0
  13. anchor_bottom = 1.0
  14. margin_left = 30.0
  15. margin_top = 30.0
  16. margin_right = -30.0
  17. margin_bottom = -30.0
  18. size_flags_horizontal = 3
  19. size_flags_vertical = 3
  20. [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
  21. margin_right = 1220.0
  22. margin_bottom = 660.0
  23. size_flags_horizontal = 3
  24. size_flags_vertical = 3
  25. custom_constants/separation = 30
  26. [node name="Label" type="Label" parent="MarginContainer/VBoxContainer"]
  27. margin_left = 572.0
  28. margin_right = 648.0
  29. margin_bottom = 14.0
  30. size_flags_horizontal = 4
  31. size_flags_vertical = 0
  32. text = "Level Done!"
  33. [node name="BackToMenuButton" type="Button" parent="MarginContainer/VBoxContainer"]
  34. margin_left = 560.0
  35. margin_top = 44.0
  36. margin_right = 660.0
  37. margin_bottom = 144.0
  38. rect_min_size = Vector2( 100, 100 )
  39. size_flags_horizontal = 4
  40. size_flags_vertical = 0
  41. text = "back to menu"
  42. [connection signal="pressed" from="MarginContainer/VBoxContainer/BackToMenuButton" to="." method="_on_BackToMenuButton_pressed"]