2022-10-12 19:01:57 -04:00
|
|
|
[gd_scene load_steps=7 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://fonts/TorontoSubwayRegular.ttf" type="DynamicFontData" id=1]
|
|
|
|
[ext_resource path="res://Spatial.gd" type="Script" id=2]
|
|
|
|
[ext_resource path="res://Audio/music01.wav" type="AudioStream" id=3]
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=5]
|
|
|
|
size = 88
|
|
|
|
outline_size = 5
|
|
|
|
outline_color = Color( 0, 0, 0, 1 )
|
|
|
|
use_filter = true
|
|
|
|
font_data = ExtResource( 1 )
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFont" id=4]
|
|
|
|
size = 19
|
|
|
|
outline_size = 2
|
|
|
|
outline_color = Color( 0, 0, 0, 1 )
|
|
|
|
use_mipmaps = true
|
|
|
|
use_filter = true
|
|
|
|
font_data = ExtResource( 1 )
|
|
|
|
|
|
|
|
[sub_resource type="Theme" id=6]
|
|
|
|
default_font = SubResource( 4 )
|
|
|
|
|
|
|
|
[node name="Spatial" type="Spatial"]
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
|
|
|
|
[node name="Control" type="Control" parent="."]
|
|
|
|
margin_right = 40.0
|
|
|
|
margin_bottom = 40.0
|
|
|
|
|
|
|
|
[node name="Title" type="Label" parent="Control"]
|
|
|
|
margin_left = 532.0
|
|
|
|
margin_top = 353.0
|
|
|
|
margin_right = 1414.0
|
|
|
|
margin_bottom = 455.0
|
|
|
|
custom_fonts/font = SubResource( 5 )
|
|
|
|
text = "FIRST PERSON SLAPPER"
|
|
|
|
|
2022-10-12 20:44:42 -04:00
|
|
|
[node name="Background" type="ColorRect" parent="Control/Title"]
|
|
|
|
margin_left = -536.0
|
|
|
|
margin_top = -361.0
|
|
|
|
margin_right = 1395.0
|
|
|
|
margin_bottom = 732.0
|
|
|
|
color = Color( 0.0862745, 0.0705882, 0.0705882, 1 )
|
|
|
|
|
2022-10-12 19:01:57 -04:00
|
|
|
[node name="Level" type="Label" parent="Control"]
|
|
|
|
margin_left = 493.0
|
|
|
|
margin_top = 345.0
|
|
|
|
margin_right = 1414.0
|
|
|
|
margin_bottom = 526.0
|
|
|
|
theme = SubResource( 6 )
|
|
|
|
text = "You have been playing"
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="Level2" type="Label" parent="Control"]
|
|
|
|
margin_left = 493.0
|
|
|
|
margin_top = 498.0
|
|
|
|
margin_right = 1414.0
|
|
|
|
margin_bottom = 526.0
|
|
|
|
theme = SubResource( 6 )
|
|
|
|
text = "Thank you!"
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
|
|
stream = ExtResource( 3 )
|
|
|
|
autoplay = true
|
2022-10-12 20:13:11 -04:00
|
|
|
|
|
|
|
[node name="Timer" type="Timer" parent="."]
|
|
|
|
wait_time = 3.0
|
|
|
|
|
|
|
|
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|