2022-12-20 14:50:01 -07:00
|
|
|
[gd_scene load_steps=8 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-12-20 14:50:01 -07:00
|
|
|
[ext_resource path="res://assets/title_font.tres" type="DynamicFont" id=7]
|
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
|
2022-12-20 14:50:01 -07:00
|
|
|
anchor_top = 0.5
|
2022-11-27 19:55:11 -07:00
|
|
|
anchor_right = 0.5
|
2022-12-20 14:50:01 -07:00
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = -104.0
|
|
|
|
margin_top = 46.0
|
|
|
|
margin_right = 104.0
|
|
|
|
margin_bottom = 244.0
|
|
|
|
theme = ExtResource( 5 )
|
2022-11-27 19:55:11 -07:00
|
|
|
|
|
|
|
[node name="RetryButton" type="Button" parent="Menu"]
|
2022-12-20 14:50:01 -07:00
|
|
|
margin_right = 208.0
|
|
|
|
margin_bottom = 36.0
|
2022-11-27 19:55:11 -07:00
|
|
|
focus_neighbour_bottom = NodePath("../MenuButton")
|
|
|
|
text = "Retry"
|
|
|
|
|
|
|
|
[node name="MenuButton" type="Button" parent="Menu"]
|
2022-12-20 14:50:01 -07:00
|
|
|
margin_top = 40.0
|
|
|
|
margin_right = 208.0
|
|
|
|
margin_bottom = 76.0
|
2022-11-27 19:55:11 -07:00
|
|
|
focus_neighbour_top = NodePath("../RetryButton")
|
|
|
|
focus_neighbour_bottom = NodePath("../QuitButton")
|
|
|
|
text = "Main Menu"
|
|
|
|
|
2022-12-22 16:37:10 -07:00
|
|
|
[node name="CreditsButton" type="Button" parent="Menu"]
|
2022-12-20 14:50:01 -07:00
|
|
|
margin_top = 80.0
|
|
|
|
margin_right = 208.0
|
|
|
|
margin_bottom = 116.0
|
2022-12-22 16:37:10 -07:00
|
|
|
focus_neighbour_top = NodePath("../RetryButton")
|
|
|
|
focus_neighbour_bottom = NodePath("../QuitButton")
|
|
|
|
text = "Credits"
|
|
|
|
|
|
|
|
[node name="QuitButton" type="Button" parent="Menu"]
|
|
|
|
margin_top = 120.0
|
|
|
|
margin_right = 208.0
|
|
|
|
margin_bottom = 156.0
|
2022-11-27 19:55:11 -07:00
|
|
|
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-12-20 14:50:01 -07:00
|
|
|
[node name="Title" type="Label" parent="."]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = -342.0
|
|
|
|
margin_top = -135.0
|
|
|
|
margin_right = 342.0
|
|
|
|
margin_bottom = -71.0
|
|
|
|
custom_colors/font_color = Color( 1, 1, 1, 1 )
|
|
|
|
custom_colors/font_outline_modulate = Color( 0, 0, 0, 1 )
|
|
|
|
custom_constants/shadow_offset_x = 10
|
|
|
|
custom_fonts/font = ExtResource( 7 )
|
|
|
|
text = "MEAT MADNESS"
|
|
|
|
align = 1
|
|
|
|
|
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"]
|
2022-12-22 16:37:10 -07:00
|
|
|
[connection signal="pressed" from="Menu/CreditsButton" to="." method="_on_CreditsButton_pressed"]
|
2022-11-27 19:55:11 -07:00
|
|
|
[connection signal="pressed" from="Menu/QuitButton" to="." method="_on_QuitButton_pressed"]
|
|
|
|
[connection signal="timeout" from="BlackoutTimer" to="." method="_on_BlackoutTimer_timeout"]
|