-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainMenu.tscn
48 lines (41 loc) · 1.77 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
[gd_scene load_steps=11 format=2]
[ext_resource path="res://Assets/mainmenubgpng.png" type="Texture" id=1]
[ext_resource path="res://PlayButton.gd" type="Script" id=2]
[ext_resource path="res://Assets/hoveredbutton2.png" type="Texture" id=3]
[ext_resource path="res://Assets/button.png" type="Texture" id=4]
[ext_resource path="res://Assets/button2.png" type="Texture" id=5]
[ext_resource path="res://Assets/hoveredbutton.png" type="Texture" id=6]
[ext_resource path="res://QuitButton.gd" type="Script" id=7]
[ext_resource path="res://Assets/song.wav" type="AudioStream" id=8]
[ext_resource path="res://mainmenuscript.gd" type="Script" id=9]
[ext_resource path="res://Assets/menumusic.wav" type="AudioStream" id=10]
[node name="Mainmenubgpng" type="Sprite"]
position = Vector2( 970, 537 )
scale = Vector2( 1.05389, 1.0088 )
texture = ExtResource( 1 )
script = ExtResource( 9 )
[node name="ButtonPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 8 )
volume_db = 10.0
[node name="PlayButton" type="TextureButton" parent="."]
margin_left = -323.562
margin_top = -81.2849
margin_right = 276.438
margin_bottom = 204.715
texture_normal = ExtResource( 4 )
texture_pressed = ExtResource( 6 )
texture_hover = ExtResource( 6 )
script = ExtResource( 2 )
[node name="QuitButton" type="TextureButton" parent="."]
margin_left = -326.409
margin_top = 153.648
margin_right = 273.591
margin_bottom = 439.648
texture_normal = ExtResource( 5 )
texture_pressed = ExtResource( 3 )
texture_hover = ExtResource( 3 )
script = ExtResource( 7 )
[node name="MainMenuPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 10 )
[connection signal="pressed" from="PlayButton" to="." method="_on_TextureButton_pressed"]
[connection signal="pressed" from="QuitButton" to="." method="_on_TextureButton2_pressed"]