-
Notifications
You must be signed in to change notification settings - Fork 1
/
MainMenu.tscn
53 lines (46 loc) · 1.54 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
[gd_scene load_steps=7 format=2]
[ext_resource path="res://assets/Menu/areustupid.png" type="Texture" id=1]
[ext_resource path="res://assets/Menu/startgame.png" type="Texture" id=2]
[ext_resource path="res://assets/Menu/simranstyletitle.png" type="Texture" id=3]
[ext_resource path="res://assets/Menu/MainMenu.gd" type="Script" id=4]
[ext_resource path="res://Audio/menu_music.wav" type="AudioStream" id=5]
[ext_resource path="res://Audio/button_click.wav" type="AudioStream" id=6]
[node name="MainMenu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Illustration" type="TextureRect" parent="."]
margin_left = 614.874
margin_top = 157.819
margin_right = 1073.87
margin_bottom = 582.819
texture = ExtResource( 1 )
expand = true
stretch_mode = 5
[node name="Title" type="TextureRect" parent="."]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -478.472
margin_top = -28.383
margin_right = 161.528
margin_bottom = 171.617
rect_scale = Vector2( 1.5, 1.5 )
texture = ExtResource( 3 )
[node name="StartGame" type="TextureButton" parent="."]
margin_left = 30.5934
margin_top = 288.26
margin_right = 670.593
margin_bottom = 488.26
texture_normal = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MenuMusic" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 5 )
autoplay = true
[node name="ButtonClick" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 6 )
[connection signal="pressed" from="StartGame" to="." method="_on_StartGame_pressed"]