LevelButton.tscn 725 B

123456789101112131415161718192021222324
  1. [gd_scene load_steps=3 format=3 uid="uid://bofh6d3hcv0fb"]
  2. [ext_resource type="Texture2D" uid="uid://0trgfy8ov7uq" path="res://sprites/LevelButton.svg" id="1_1o2ps"]
  3. [ext_resource type="Script" path="res://LevelSelect/LevelButton.gd" id="2_hhyf7"]
  4. [node name="LevelButton" type="TextureButton"]
  5. offset_right = 40.0
  6. offset_bottom = 40.0
  7. texture_normal = ExtResource("1_1o2ps")
  8. script = ExtResource("2_hhyf7")
  9. [node name="Label" type="Label" parent="."]
  10. layout_mode = 1
  11. anchors_preset = 15
  12. anchor_right = 1.0
  13. anchor_bottom = 1.0
  14. grow_horizontal = 2
  15. grow_vertical = 2
  16. theme_override_font_sizes/font_size = 60
  17. horizontal_alignment = 1
  18. vertical_alignment = 1
  19. [connection signal="pressed" from="." to="." method="_on_pressed"]