2022-11-27 19:55:11 -07:00
|
|
|
[gd_scene load_steps=8 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://effects/grainy_shader.tscn" type="PackedScene" id=1]
|
|
|
|
[ext_resource path="res://assets/ui_theme.tres" type="Theme" id=2]
|
|
|
|
[ext_resource path="res://screens/title.gd" type="Script" id=3]
|
|
|
|
[ext_resource path="res://assets/Background_space.png" type="Texture" id=4]
|
|
|
|
[ext_resource path="res://assets/audio/button_press.ogg" type="AudioStream" id=5]
|
|
|
|
[ext_resource path="res://assets/audio/menu_music.ogg" type="AudioStream" id=6]
|
|
|
|
[ext_resource path="res://assets/title_font.tres" type="DynamicFont" id=9]
|
|
|
|
|
|
|
|
[node name="TitleScreen" type="Control"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
theme = ExtResource( 2 )
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
|
|
|
[node name="BackgroundSpace" type="TextureRect" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
texture = ExtResource( 4 )
|
|
|
|
stretch_mode = 1
|
|
|
|
|
|
|
|
[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( 9 )
|
|
|
|
text = "MEAT MADNESS"
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="ButtonContainer" type="VBoxContainer" parent="."]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = -104.0
|
|
|
|
margin_top = 46.0
|
|
|
|
margin_right = 104.0
|
|
|
|
margin_bottom = 244.0
|
|
|
|
custom_constants/separation = 10
|
|
|
|
|
|
|
|
[node name="PlayButton" type="Button" parent="ButtonContainer"]
|
|
|
|
margin_right = 208.0
|
2022-12-20 14:50:01 -07:00
|
|
|
margin_bottom = 36.0
|
2022-11-27 19:55:11 -07:00
|
|
|
text = "Play"
|
|
|
|
|
|
|
|
[node name="Credits" type="Button" parent="ButtonContainer"]
|
2022-12-20 14:50:01 -07:00
|
|
|
margin_top = 46.0
|
2022-11-27 19:55:11 -07:00
|
|
|
margin_right = 208.0
|
2022-12-20 14:50:01 -07:00
|
|
|
margin_bottom = 82.0
|
2022-11-27 19:55:11 -07:00
|
|
|
text = "Credits"
|
|
|
|
|
|
|
|
[node name="Controls" type="Button" parent="ButtonContainer"]
|
2022-12-20 14:50:01 -07:00
|
|
|
margin_top = 92.0
|
2022-11-27 19:55:11 -07:00
|
|
|
margin_right = 208.0
|
2022-12-20 14:50:01 -07:00
|
|
|
margin_bottom = 128.0
|
2022-11-27 19:55:11 -07:00
|
|
|
text = "Controls"
|
|
|
|
|
|
|
|
[node name="QuitButton" type="Button" parent="ButtonContainer"]
|
2022-12-20 14:50:01 -07:00
|
|
|
margin_top = 138.0
|
2022-11-27 19:55:11 -07:00
|
|
|
margin_right = 208.0
|
2022-12-20 14:50:01 -07:00
|
|
|
margin_bottom = 174.0
|
2022-11-27 19:55:11 -07:00
|
|
|
text = "Quit"
|
|
|
|
|
|
|
|
[node name="BlackoutScreen" type="CanvasLayer" parent="."]
|
|
|
|
layer = 2
|
|
|
|
visible = false
|
|
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="BlackoutScreen"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
color = Color( 0, 0, 0, 1 )
|
|
|
|
|
|
|
|
[node name="grainy_shader" parent="." instance=ExtResource( 1 )]
|
|
|
|
|
|
|
|
[node name="MenuMusic" type="AudioStreamPlayer" parent="."]
|
|
|
|
stream = ExtResource( 6 )
|
|
|
|
volume_db = -7.0
|
|
|
|
autoplay = true
|
|
|
|
|
|
|
|
[node name="BlackoutSound" type="AudioStreamPlayer" parent="."]
|
|
|
|
stream = ExtResource( 5 )
|
|
|
|
|
|
|
|
[connection signal="pressed" from="ButtonContainer/PlayButton" to="." method="_on_PlayButton_pressed"]
|
|
|
|
[connection signal="pressed" from="ButtonContainer/Credits" to="." method="_on_Credits_pressed"]
|
|
|
|
[connection signal="pressed" from="ButtonContainer/Controls" to="." method="_on_Controls_pressed"]
|
|
|
|
[connection signal="pressed" from="ButtonContainer/QuitButton" to="." method="_on_QuitButton_pressed"]
|