-
Notifications
You must be signed in to change notification settings - Fork 0
/
main_menu_button.tscn
44 lines (38 loc) · 1.17 KB
/
main_menu_button.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[gd_scene load_steps=5 format=2]
[ext_resource path="res://start_menu_button.gd" type="Script" id=1]
[ext_resource path="res://ui-assets/play button.svg" type="Texture" id=2]
[ext_resource path="res://ui-assets/exit button.svg" type="Texture" id=3]
[ext_resource path="res://ui-assets/intro-anim-pngseq/intro-anim179.png" type="Texture" id=4]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 960, 420 )
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 4 )
[node name="Start" type="Button" parent="."]
margin_left = 608.0
margin_top = 578.0
margin_right = 860.0
size_flags_vertical = 2
icon = ExtResource( 2 )
flat = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Quit" type="Button" parent="."]
margin_left = 1060.0
margin_top = 578.0
margin_right = -608.0
size_flags_vertical = 2
icon = ExtResource( 3 )
flat = true
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="Start" to="." method="_on_Start_pressed"]
[connection signal="pressed" from="Quit" to="." method="_on_Quit_pressed"]