-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainmenu.tscn
89 lines (76 loc) · 2.7 KB
/
Mainmenu.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[gd_scene load_steps=8 format=3 uid="uid://btx8t3of6la0u"]
[ext_resource type="Script" path="res://Mainmenu.gd" id="1_nqj40"]
[ext_resource type="AudioStream" uid="uid://djnlpamvxiwio" path="res://sounds/BeepBox-Song.wav" id="2_3hdmy"]
[ext_resource type="FontFile" uid="uid://bv3fc2ipepih7" path="res://fonts/Pixelify_Sans/static/PixelifySans-SemiBold.ttf" id="2_fm1qk"]
[ext_resource type="Texture2D" uid="uid://dl6bwk8aakeij" path="res://imgs/lança.png" id="4_nsi06"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mic1b"]
shadow_size = 2
[sub_resource type="Theme" id="Theme_x2yy6"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_34nbe"]
shadow_size = 2
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_left = 635.0
offset_top = 360.0
offset_right = 675.0
offset_bottom = 400.0
script = ExtResource("1_nqj40")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -136.0
offset_top = -70.0
offset_right = 141.0
offset_bottom = 74.0
grow_horizontal = 2
grow_vertical = 2
alignment = 1
metadata/_edit_group_ = true
[node name="startBtn" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme_type_variation = &"FlatButton"
theme_override_fonts/font = ExtResource("2_fm1qk")
theme_override_font_sizes/font_size = 50
theme_override_styles/hover = SubResource("StyleBoxFlat_mic1b")
text = "Start Game"
[node name="quitBtn" type="Button" parent="VBoxContainer"]
layout_mode = 2
theme = SubResource("Theme_x2yy6")
theme_type_variation = &"FlatButton"
theme_override_fonts/font = ExtResource("2_fm1qk")
theme_override_font_sizes/font_size = 40
theme_override_styles/hover = SubResource("StyleBoxFlat_34nbe")
text = "Quit"
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_3hdmy")
volume_db = 0.5
pitch_scale = 0.95
autoplay = true
[node name="Sprite2D2" type="Sprite2D" parent="."]
position = Vector2(4.99994, -230)
rotation = 3.14159
scale = Vector2(20.344, 7.188)
texture = ExtResource("4_nsi06")
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(34, -111)
scale = Vector2(20.3125, 7.1875)
texture = ExtResource("4_nsi06")
[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_left = -307.0
offset_top = -251.0
offset_right = 336.0
offset_bottom = -82.0
theme_override_fonts/font = ExtResource("2_fm1qk")
theme_override_font_sizes/font_size = 90
text = "SpearBird
"
horizontal_alignment = 1
vertical_alignment = 1
[connection signal="pressed" from="VBoxContainer/startBtn" to="." method="_on_start_btn_pressed"]
[connection signal="pressed" from="VBoxContainer/quitBtn" to="." method="_on_quit_btn_pressed"]