paintjam2020/Scene/TitleScreen.tscn
2020-04-05 10:48:07 +02:00

50 lines
1.6 KiB
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://Assets/titlescreen.png" type="Texture" id=1]
[ext_resource path="res://Scripts/TitleScreen.gd" type="Script" id=2]
[ext_resource path="res://icon.png" type="Texture" id=3]
[node name="TitleScreen" type="Node2D"]
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
scale = Vector2( 1.21961, 1.26337 )
texture = ExtResource( 1 )
centered = false
[node name="MarginContainer" type="MarginContainer" parent="Sprite"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/margin_right = 0
custom_constants/margin_top = 20
custom_constants/margin_left = 0
custom_constants/margin_bottom = 20
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="Sprite/MarginContainer"]
margin_left = 788.0
margin_top = 835.0
margin_right = 788.0
margin_bottom = 835.0
size_flags_horizontal = 4
size_flags_vertical = 12
custom_constants/separation = 100
[node name="StartGameButton" type="TextureButton" parent="Sprite/MarginContainer/HBoxContainer"]
visible = false
margin_right = 64.0
margin_bottom = 64.0
size_flags_horizontal = 4
size_flags_vertical = 8
texture_normal = ExtResource( 3 )
[node name="QuitGameButton" type="TextureButton" parent="Sprite/MarginContainer/HBoxContainer"]
visible = false
margin_right = 64.0
margin_bottom = 64.0
texture_normal = ExtResource( 3 )
[connection signal="pressed" from="Sprite/MarginContainer/HBoxContainer/StartGameButton" to="." method="_on_StartGameButton_pressed"]
[connection signal="pressed" from="Sprite/MarginContainer/HBoxContainer/QuitGameButton" to="." method="_on_QuitGame_pressed"]