-
Notifications
You must be signed in to change notification settings - Fork 9
/
TitleScene.tscn
56 lines (49 loc) · 1.5 KB
/
TitleScene.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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://assets/graphics/title/title.png" type="Texture" id=1]
[ext_resource path="res://assets/audio/music/InStormAndSunshine.ogg" type="AudioStream" id=2]
[ext_resource path="res://assets/fonts/animeace.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://TitleScreen.gdns" type="Script" id=4]
[sub_resource type="DynamicFont" id=1]
size = 60
outline_size = 4
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 3 )
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureRect" type="TextureRect" parent="."]
margin_right = 40.0
margin_bottom = 40.0
texture = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 2 )
autoplay = true
[node name="NewGame" type="ToolButton" parent="."]
margin_left = 425.0
margin_top = 396.0
margin_right = 821.0
margin_bottom = 471.0
custom_fonts/font = SubResource( 1 )
text = "New Game"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="QuitGame" type="ToolButton" parent="."]
margin_left = 419.0
margin_top = 470.0
margin_right = 822.0
margin_bottom = 545.0
custom_fonts/font = SubResource( 1 )
text = "Quit Game"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="NewGame" to="." method="_on_newgame_pressed"]
[connection signal="pressed" from="QuitGame" to="." method="_on_quitgame_pressed"]