cliff-hanger/Level_Button.tscn

51 lines
1.2 KiB
Plaintext
Executable File

[gd_scene load_steps=5 format=2]
[ext_resource path="res://icon.png" type="Texture" id=1]
[ext_resource path="res://GUI/icons/button-export.png" type="Texture" id=2]
[ext_resource path="res://GUI/MainTheme.tres" type="Theme" id=3]
[ext_resource path="res://Level_Button.gd" type="Script" id=4]
[node name="Level_Button" type="Control"]
script = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureButton" type="TextureButton" parent="."]
margin_left = -36.0
margin_top = -36.0
margin_right = 36.0
margin_bottom = 36.0
rect_min_size = Vector2( 12, 12 )
texture_normal = ExtResource( 2 )
expand = true
stretch_mode = 4
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="TextureButton"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -29.0
margin_top = -25.0
margin_right = 32.0
margin_bottom = 16.0
theme = ExtResource( 3 )
text = "1"
align = 1
valign = 1
autowrap = true
clip_text = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, 35 )
scale = Vector2( 0.4, 0.4 )
texture = ExtResource( 1 )
[connection signal="pressed" from="TextureButton" to="." method="_on_TextureButton_pressed"]