-
Notifications
You must be signed in to change notification settings - Fork 0
/
Joke.tscn
80 lines (72 loc) · 2.34 KB
/
Joke.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
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Menu/TitleFont.tres" type="DynamicFont" id=1]
[ext_resource path="res://CreditsScreen/MenuButton.gd" type="Script" id=2]
[ext_resource path="res://CreditsScreen/ExitButton.gd" type="Script" id=3]
[ext_resource path="res://Fonts/SmallButtonFont.tres" type="DynamicFont" id=4]
[ext_resource path="res://Judge/Joke.tres" type="AudioStream" id=5]
[ext_resource path="res://Menu/ButtonHoverPressed.tres" type="StyleBox" id=6]
[ext_resource path="res://Menu/ButtonNormal.tres" type="StyleBox" id=7]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -486.0
margin_top = -231.0
margin_right = 486.0
margin_bottom = 231.0
custom_fonts/font = ExtResource( 1 )
text = "“The world is indeed comic,
but the joke is on mankind.”
― H. P. Lovecraft
You are The Mad Scholar."
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -184.197
margin_top = 31.5293
margin_right = -32.1968
margin_bottom = 109.529
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
[node name="ExitButton" type="Button" parent="VBoxContainer"]
margin_right = 152.0
margin_bottom = 43.0
custom_styles/hover = ExtResource( 6 )
custom_styles/pressed = ExtResource( 6 )
custom_styles/normal = ExtResource( 7 )
custom_fonts/font = ExtResource( 4 )
text = "Exit"
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MenuButton" type="Button" parent="VBoxContainer"]
margin_top = 47.0
margin_right = 152.0
margin_bottom = 90.0
custom_styles/hover = ExtResource( 6 )
custom_styles/pressed = ExtResource( 6 )
custom_styles/normal = ExtResource( 7 )
custom_fonts/font = ExtResource( 4 )
text = "Menu"
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 5 )
autoplay = true
[connection signal="pressed" from="VBoxContainer/ExitButton" to="VBoxContainer/ExitButton" method="_on_ExitButton_pressed"]
[connection signal="pressed" from="VBoxContainer/MenuButton" to="VBoxContainer/MenuButton" method="_on_MenuButton_pressed"]