-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStart.tscn
42 lines (33 loc) · 1.13 KB
/
Start.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Assets/StartLogo/start.png" type="Texture" id=1]
[ext_resource path="res://Start.gd" type="Script" id=2]
[ext_resource path="res://Assets/Music/start.mp3" type="AudioStream" id=3]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 1 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[node name="Start" type="Node2D"]
script = ExtResource( 2 )
[node name="Frame" type="AnimatedSprite" parent="."]
position = Vector2( 240, 240 )
frames = SubResource( 1 )
[node name="StartMuzic" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 3 )
[node name="StartButton" type="Button" parent="."]
margin_left = 205.0
margin_top = 407.0
margin_right = 276.0
margin_bottom = 443.0
text = "START"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="StartTimer" type="Timer" parent="."]
wait_time = 2.0
one_shot = true
[node name="TransMusic" type="AudioStreamPlayer" parent="."]
[connection signal="pressed" from="StartButton" to="." method="_on_StartButton_pressed"]
[connection signal="timeout" from="StartTimer" to="." method="_on_StartTimer_timeout"]