GMTK-2024/gmtk_2024/menu/level_menu/level_button.tscn
2024-08-19 03:48:56 +02:00

49 lines
1.6 KiB
Text

[gd_scene load_steps=7 format=3 uid="uid://t83eid7pf4iv"]
[ext_resource type="FontFile" uid="uid://d3pbvdemdbxes" path="res://CommodoreSixtyFour.ttf" id="3_732s0"]
[ext_resource type="Texture2D" uid="uid://dvk7nu7pp4fl3" path="res://textures/File-Icon-Sheet.png" id="3_bbfoq"]
[ext_resource type="Script" path="res://scripts/level_menu_level_button.gd" id="3_e83yn"]
[sub_resource type="AtlasTexture" id="AtlasTexture_xlv6q"]
atlas = ExtResource("3_bbfoq")
region = Rect2(99, 6, 26, 24)
[sub_resource type="AtlasTexture" id="AtlasTexture_ih6f2"]
atlas = ExtResource("3_bbfoq")
region = Rect2(354, 6, 28, 24)
[sub_resource type="AtlasTexture" id="AtlasTexture_fekch"]
atlas = ExtResource("3_bbfoq")
region = Rect2(35, 6, 26, 24)
[node name="LevelButton" type="TextureButton"]
custom_minimum_size = Vector2(50, 50)
offset_right = 40.0
offset_bottom = 40.0
size_flags_horizontal = 3
size_flags_vertical = 3
disabled = true
texture_normal = SubResource("AtlasTexture_xlv6q")
texture_hover = SubResource("AtlasTexture_ih6f2")
texture_disabled = SubResource("AtlasTexture_fekch")
ignore_texture_size = true
stretch_mode = 5
script = ExtResource("3_e83yn")
[node name="Label" type="Label" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 3
theme_override_fonts/font = ExtResource("3_732s0")
theme_override_font_sizes/font_size = 35
text = "1"
horizontal_alignment = 1
vertical_alignment = 1
[connection signal="pressed" from="." to="." method="_on_pressed"]