75 lines
2.3 KiB
Plaintext
75 lines
2.3 KiB
Plaintext
|
[gd_scene load_steps=6 format=2]
|
||
|
|
||
|
[ext_resource path="res://assets/audio/human-impact-on-ground-6982.mp3" type="AudioStream" id=1]
|
||
|
[ext_resource path="res://assets/Background_space.png" type="Texture" id=2]
|
||
|
[ext_resource path="res://assets/audio/RandomSong.wav" type="AudioStream" id=3]
|
||
|
[ext_resource path="res://screens/death.gd" type="Script" id=4]
|
||
|
[ext_resource path="res://assets/ui_theme.tres" type="Theme" id=5]
|
||
|
|
||
|
[node name="EndScreen" type="Control"]
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
theme = ExtResource( 5 )
|
||
|
script = ExtResource( 4 )
|
||
|
|
||
|
[node name="BackgroundSpace" type="TextureRect" parent="."]
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
texture = ExtResource( 2 )
|
||
|
stretch_mode = 1
|
||
|
|
||
|
[node name="Menu" type="VBoxContainer" parent="."]
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 1.0
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 1.0
|
||
|
margin_left = -133.0
|
||
|
margin_top = -253.0
|
||
|
margin_right = 134.0
|
||
|
margin_bottom = -53.0
|
||
|
|
||
|
[node name="RetryButton" type="Button" parent="Menu"]
|
||
|
margin_right = 267.0
|
||
|
margin_bottom = 42.0
|
||
|
focus_neighbour_bottom = NodePath("../MenuButton")
|
||
|
text = "Retry"
|
||
|
|
||
|
[node name="MenuButton" type="Button" parent="Menu"]
|
||
|
margin_top = 46.0
|
||
|
margin_right = 267.0
|
||
|
margin_bottom = 88.0
|
||
|
focus_neighbour_top = NodePath("../RetryButton")
|
||
|
focus_neighbour_bottom = NodePath("../QuitButton")
|
||
|
text = "Main Menu"
|
||
|
|
||
|
[node name="QuitButton" type="Button" parent="Menu"]
|
||
|
margin_top = 92.0
|
||
|
margin_right = 267.0
|
||
|
margin_bottom = 134.0
|
||
|
focus_neighbour_top = NodePath("../MenuButton")
|
||
|
focus_neighbour_bottom = NodePath("../PlayButton")
|
||
|
text = "Quit"
|
||
|
|
||
|
[node name="Blackout" type="CanvasLayer" parent="."]
|
||
|
|
||
|
[node name="BlackBox" type="ColorRect" parent="Blackout"]
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
color = Color( 0, 0, 0, 1 )
|
||
|
|
||
|
[node name="BlackoutTimer" type="Timer" parent="."]
|
||
|
one_shot = true
|
||
|
autostart = true
|
||
|
|
||
|
[node name="PlayerDeathSound" type="AudioStreamPlayer" parent="."]
|
||
|
stream = ExtResource( 1 )
|
||
|
autoplay = true
|
||
|
|
||
|
[node name="TitleScreenMusic" type="AudioStreamPlayer" parent="."]
|
||
|
stream = ExtResource( 3 )
|
||
|
|
||
|
[connection signal="pressed" from="Menu/RetryButton" to="." method="_on_RetryButton_pressed"]
|
||
|
[connection signal="pressed" from="Menu/MenuButton" to="." method="_on_MenuButton_pressed"]
|
||
|
[connection signal="pressed" from="Menu/QuitButton" to="." method="_on_QuitButton_pressed"]
|
||
|
[connection signal="timeout" from="BlackoutTimer" to="." method="_on_BlackoutTimer_timeout"]
|