-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTitleMenu.tscn
101 lines (86 loc) · 2.73 KB
/
TitleMenu.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
[gd_scene load_steps=10 format=2]
[ext_resource path="res://assets/UI/grey_button04.png" type="Texture" id=1]
[ext_resource path="res://assets/fonts/KiriFont.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://PlayButton.gd" type="Script" id=3]
[ext_resource path="res://assets/music/Swinging Pants.ogg" type="AudioStream" id=4]
[sub_resource type="DynamicFont" id=1]
size = 50
outline_size = 3
outline_color = Color( 0.54902, 0, 0, 1 )
font_data = ExtResource( 2 )
[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 0.270588, 0.133333, 0.32549, 0.552941 )
corner_radius_top_left = 20
corner_radius_top_right = 20
corner_radius_bottom_right = 20
corner_radius_bottom_left = 20
[sub_resource type="DynamicFont" id=3]
size = 30
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=4]
size = 30
font_data = ExtResource( 2 )
[sub_resource type="DynamicFont" id=5]
size = 40
font_data = ExtResource( 2 )
[node name="TitleMenu" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="ColorRect" type="ColorRect" parent="."]
margin_right = 1024.0
margin_bottom = 600.0
color = Color( 0.180392, 0.129412, 0.235294, 1 )
[node name="Label" type="Label" parent="."]
margin_left = 54.0
margin_top = 108.0
margin_right = 967.0
margin_bottom = 193.0
custom_colors/font_color = Color( 0.741176, 0, 0.713726, 1 )
custom_fonts/font = SubResource( 1 )
text = "Platformer Tutorial Game"
[node name="LeftPanel" type="Panel" parent="."]
margin_left = 71.0
margin_top = 315.0
margin_right = 521.0
margin_bottom = 538.0
custom_styles/panel = SubResource( 2 )
[node name="TextureRect" type="TextureRect" parent="LeftPanel"]
margin_left = 33.0
margin_top = 58.0
margin_right = 209.0
margin_bottom = 101.0
texture = ExtResource( 1 )
expand = true
[node name="Label" type="Label" parent="LeftPanel/TextureRect"]
margin_left = 20.0
margin_top = 9.0
margin_right = 174.0
margin_bottom = 41.0
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_colors/font_outline_modulate = Color( 0, 0, 0, 1 )
custom_fonts/font = SubResource( 3 )
text = "SPACE"
[node name="Label2" type="Label" parent="LeftPanel/TextureRect"]
margin_left = 197.0
margin_top = 6.0
margin_right = 356.0
margin_bottom = 44.0
custom_fonts/font = SubResource( 4 )
text = "= JUMP!"
uppercase = true
percent_visible = -0.166667
[node name="PlayButton" type="Button" parent="."]
margin_left = 338.0
margin_top = 207.0
margin_right = 719.0
margin_bottom = 280.0
custom_colors/font_color_hover = Color( 0.596078, 0.0313726, 0.427451, 1 )
custom_colors/font_color_pressed = Color( 1, 0, 0, 1 )
custom_fonts/font = SubResource( 5 )
text = "PLAY!"
flat = true
script = ExtResource( 3 )
[node name="TitleScreenMusic" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 4 )
volume_db = -15.0
autoplay = true