-
Notifications
You must be signed in to change notification settings - Fork 0
/
main_menu.tscn
149 lines (126 loc) · 5.23 KB
/
main_menu.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[gd_scene load_steps=15 format=3 uid="uid://bou780e4w75un"]
[ext_resource type="Script" path="res://main_menu.gd" id="1_ao6ml"]
[ext_resource type="PackedScene" uid="uid://checsqe14agle" path="res://background.tscn" id="2_32us4"]
[ext_resource type="PackedScene" uid="uid://bdamtbrpkjtu1" path="res://achievements.tscn" id="3_ap3ca"]
[ext_resource type="Texture2D" uid="uid://crnyy3aybyxy5" path="res://images/snowTiger_backgroundClouds.png" id="4_k6d80"]
[ext_resource type="Texture2D" uid="uid://vhp6t48hdbkn" path="res://images/lockIcon.png" id="4_soimu"]
[ext_resource type="Texture2D" uid="uid://b416mjk6ofs8d" path="res://leftArrowFinal.png" id="4_xmicy"]
[ext_resource type="Texture2D" uid="uid://6m4jdx7gbthh" path="res://rightArrowFinal.png" id="5_krq6j"]
[ext_resource type="Texture2D" uid="uid://pvkextrk6u70" path="res://images/audioOn.png" id="6_rq66x"]
[ext_resource type="AudioStream" uid="uid://b0yp34l32s8k5" path="res://sounds/pianoMainMenu.wav" id="7_5f7ut"]
[ext_resource type="AudioStream" uid="uid://cjci3olbl0px7" path="res://sounds/hit.wav" id="8_4ytqn"]
[ext_resource type="AudioStream" uid="uid://dn08ykdw0qply" path="res://sounds/rightClick.wav" id="9_5ac5k"]
[ext_resource type="AudioStream" uid="uid://0wic0hpgjtph" path="res://sounds/leftClick.wav" id="10_krk4e"]
[ext_resource type="AudioStream" uid="uid://b64m35wtl0sji" path="res://sounds/dash.wav" id="11_8aal4"]
[ext_resource type="Texture2D" uid="uid://dqibi56mi8pgb" path="res://images/Coingood.png" id="12_ihqi1"]
[node name="MainMenu" type="Node"]
script = ExtResource("1_ao6ml")
game_scene = ExtResource("2_32us4")
achievements_scene = ExtResource("3_ap3ca")
[node name="BackgroundImage" type="Sprite2D" parent="."]
position = Vector2(-37, 206)
texture = ExtResource("4_k6d80")
[node name="CharacterImage" type="TextureRect" parent="."]
offset_left = 264.0
offset_top = 136.0
offset_right = 564.0
offset_bottom = 436.0
scale = Vector2(0.65, 0.65)
[node name="LockIcon" type="TextureRect" parent="."]
offset_left = 268.0
offset_top = 142.0
offset_right = 1292.0
offset_bottom = 1166.0
scale = Vector2(0.18, 0.18)
texture = ExtResource("4_soimu")
[node name="UnlockButton" type="Button" parent="."]
visible = false
offset_left = 292.0
offset_top = 384.0
offset_right = 440.0
offset_bottom = 443.0
text = "Unlock: 300"
[node name="StartGame" type="Button" parent="."]
offset_left = 292.0
offset_top = 384.0
offset_right = 440.0
offset_bottom = 444.0
text = "Dash"
[node name="LeftButton" type="TextureButton" parent="."]
offset_left = 45.0
offset_top = 144.0
offset_right = 1069.0
offset_bottom = 1168.0
scale = Vector2(0.2, 0.2)
texture_normal = ExtResource("4_xmicy")
[node name="RightButton" type="TextureButton" parent="."]
offset_left = 464.0
offset_top = 146.0
offset_right = 1488.0
offset_bottom = 1170.0
scale = Vector2(0.2, 0.2)
texture_normal = ExtResource("5_krq6j")
[node name="ActiveSprite" type="Sprite2D" parent="."]
[node name="TitleText" type="Label" parent="."]
offset_left = 22.0
offset_top = 400.0
offset_right = 267.0
offset_bottom = 423.0
[node name="GoogleSignIn" type="Button" parent="."]
offset_left = 617.0
offset_top = 8.0
offset_right = 712.0
offset_bottom = 50.0
text = "Google"
[node name="Achievements" type="Button" parent="."]
offset_left = 595.0
offset_top = 59.0
offset_right = 712.0
offset_bottom = 101.0
text = "Achievements"
[node name="SoundToggle" type="TextureButton" parent="."]
offset_left = 12.0
offset_top = 9.0
offset_right = 60.0
offset_bottom = 57.0
texture_normal = ExtResource("6_rq66x")
ignore_texture_size = true
stretch_mode = 0
[node name="MenuMusic" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("7_5f7ut")
volume_db = -10.0
[node name="HitSound" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("8_4ytqn")
[node name="RightClick" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("9_5ac5k")
[node name="LeftClick" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("10_krk4e")
[node name="DashClick" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("11_8aal4")
[node name="CoinsLabel" type="Label" parent="."]
offset_left = 331.0
offset_top = 17.0
offset_right = 418.0
offset_bottom = 50.0
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 25
text = "0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="CoinLabelSprite" type="Sprite2D" parent="."]
position = Vector2(327, 34)
scale = Vector2(0.06, 0.06)
texture = ExtResource("12_ihqi1")
[node name="DebugLabel" type="Label" parent="."]
offset_left = 12.0
offset_top = 452.0
offset_right = 712.0
offset_bottom = 475.0
[connection signal="pressed" from="UnlockButton" to="." method="_on_unlock_button_pressed"]
[connection signal="pressed" from="StartGame" to="." method="_on_button_pressed"]
[connection signal="pressed" from="LeftButton" to="." method="_on_left_button_pressed"]
[connection signal="pressed" from="RightButton" to="." method="_on_right_button_pressed"]
[connection signal="pressed" from="GoogleSignIn" to="." method="_on_google_sign_in_pressed"]
[connection signal="pressed" from="Achievements" to="." method="_on_achievements_pressed"]
[connection signal="pressed" from="SoundToggle" to="." method="_on_sound_toggle_pressed"]
[connection signal="finished" from="MenuMusic" to="." method="_on_menu_music_finished"]