level_button.tscn 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. [gd_scene load_steps=3 format=3 uid="uid://df1ubs36y5rfl"]
  2. [ext_resource type="Texture2D" uid="uid://dg3q37cp1vjot" path="res://assets/level_button/level_button.svg" id="2_hhyf7"]
  3. [ext_resource type="Script" path="res://scenes/level_select/level_button.gd" id="2_u6iud"]
  4. [node name="LevelButton" type="TextureButton"]
  5. custom_minimum_size = Vector2(128, 128)
  6. offset_right = 128.0
  7. offset_bottom = 128.0
  8. scale = Vector2(0.5, 0.5)
  9. size_flags_horizontal = 4
  10. size_flags_vertical = 4
  11. texture_normal = ExtResource("2_hhyf7")
  12. ignore_texture_size = true
  13. stretch_mode = 0
  14. script = ExtResource("2_u6iud")
  15. [node name="Label" type="Label" parent="."]
  16. layout_mode = 1
  17. anchors_preset = 15
  18. anchor_right = 1.0
  19. anchor_bottom = 1.0
  20. grow_horizontal = 2
  21. grow_vertical = 2
  22. theme_override_colors/font_color = Color(0.25098, 0.670588, 1, 1)
  23. theme_override_colors/font_outline_color = Color(0.0627451, 0.0627451, 0.12549, 1)
  24. theme_override_constants/shadow_outline_size = 5
  25. theme_override_font_sizes/font_size = 75
  26. horizontal_alignment = 1
  27. vertical_alignment = 1
  28. [connection signal="pressed" from="." to="." method="_on_pressed"]