[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/menumusic.ogg" 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="Background" type="ColorRect" parent="Control"] margin_left = -4.0 margin_top = -8.0 margin_right = 1927.0 margin_bottom = 1085.0 color = Color( 0.0862745, 0.0705882, 0.0705882, 1 ) [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" [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! Press Any Key to Exit..." align = 1 [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] stream = ExtResource( 3 ) autoplay = true [node name="Timer" type="Timer" parent="."] wait_time = 2.0 [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]