-
Notifications
You must be signed in to change notification settings - Fork 4
/
TitleScreen.tscn
67 lines (56 loc) · 2.16 KB
/
TitleScreen.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
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Scripts/TitleScreen.gd" type="Script" id=1]
[ext_resource path="res://Sprites/game-screen.png" type="Texture" id=2]
[ext_resource path="res://Fonts/GenghisKhan-Italic.otf" type="DynamicFontData" id=3]
[ext_resource path="res://Fonts/GenghisKhan.otf" type="DynamicFontData" id=4]
[sub_resource type="DynamicFont" id=1]
size = 125
font_data = ExtResource( 3 )
[sub_resource type="DynamicFont" id=2]
size = 50
font_data = ExtResource( 4 )
[node name="TitleScreen" type="Node2D"]
script = ExtResource( 1 )
[node name="Background" type="Sprite" parent="."]
position = Vector2( 0, 384 )
scale = Vector2( 1.39419, 1.39419 )
texture = ExtResource( 2 )
centered = false
[node name="MarginContainer" type="MarginContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = 1280.0
margin_bottom = 720.0
custom_constants/margin_right = 0
custom_constants/margin_top = 20
custom_constants/margin_left = 0
custom_constants/margin_bottom = 20
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
margin_left = 325.0
margin_top = 20.0
margin_right = 954.0
margin_bottom = 700.0
size_flags_horizontal = 4
custom_constants/separation = 16
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer"]
margin_right = 629.0
margin_bottom = 114.0
custom_fonts/font = SubResource( 1 )
text = "Fireball Game"
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer"]
margin_top = 130.0
margin_right = 629.0
margin_bottom = 240.0
[node name="StartButton" type="Button" parent="MarginContainer/VBoxContainer/VBoxContainer"]
margin_right = 629.0
margin_bottom = 53.0
custom_fonts/font = SubResource( 2 )
text = "Start"
[node name="ExitButton" type="Button" parent="MarginContainer/VBoxContainer/VBoxContainer"]
margin_top = 57.0
margin_right = 629.0
margin_bottom = 110.0
custom_fonts/font = SubResource( 2 )
text = "Exit"
[connection signal="pressed" from="MarginContainer/VBoxContainer/VBoxContainer/StartButton" to="." method="_on_StartButton_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/VBoxContainer/ExitButton" to="." method="_on_ExitButton_pressed"]