Flopsy/scenes/menu/button.tscn

35 lines
1.1 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://scenes/menu/assets/ui/button_pressed.svg" type="Texture" id=1]
[ext_resource path="res://scenes/menu/assets/ui/button_normal.svg" type="Texture" id=2]
[ext_resource path="res://common/fonts/ComicNeue-Regular.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://scenes/menu/button.gd" type="Script" id=4]
[sub_resource type="DynamicFont" id=1]
size = 18
outline_size = 2
outline_color = Color( 0.427451, 0.329412, 0.227451, 1 )
font_data = ExtResource( 3 )
[node name="AdventureButton" type="TextureButton"]
margin_left = 910.0
margin_top = 490.0
margin_right = 1100.0
margin_bottom = 539.0
texture_normal = ExtResource( 2 )
texture_pressed = ExtResource( 1 )
script = ExtResource( 4 )
[node name="Label" type="Label" parent="."]
margin_top = -1.0
margin_right = 190.0
margin_bottom = 48.0
custom_colors/font_color = Color( 0.717647, 0.568627, 0.415686, 1 )
custom_fonts/font = SubResource( 1 )
text = "Start Game"
align = 1
valign = 1
[connection signal="button_down" from="." to="." method="_on_button_down"]
[connection signal="button_up" from="." to="." method="_on_button_up"]