2022-11-27 20:11:34 -07:00
|
|
|
[gd_scene load_steps=7 format=2]
|
2022-11-27 19:55:11 -07:00
|
|
|
|
|
|
|
[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]
|
2022-11-27 20:11:34 -07:00
|
|
|
[ext_resource path="res://effects/grainy_shader.tscn" type="PackedScene" id=6]
|
2022-11-27 19:55:11 -07:00
|
|
|
|
|
|
|
[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="."]
|
2022-11-27 20:11:34 -07:00
|
|
|
visible = false
|
2022-11-27 19:55:11 -07:00
|
|
|
|
|
|
|
[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 )
|
|
|
|
|
2022-11-27 20:11:34 -07:00
|
|
|
[node name="shader" parent="." instance=ExtResource( 6 )]
|
|
|
|
|
2022-11-27 19:55:11 -07:00
|
|
|
[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"]
|