level_button.tscn 658 B

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