[gd_scene load_steps=9 format=2] [ext_resource path="res://assets/models/meat_planet.tscn" type="PackedScene" id=1] [ext_resource path="res://assets/audio/button_press.ogg" type="AudioStream" id=2] [ext_resource path="res://assets/audio/menu_music.ogg" type="AudioStream" id=3] [ext_resource path="res://effects/grainy_shader.tscn" type="PackedScene" id=4] [ext_resource path="res://effects/WorldEnvironment.tscn" type="PackedScene" id=5] [ext_resource path="res://assets/title_font.tres" type="DynamicFont" id=6] [ext_resource path="res://assets/ui_theme.tres" type="Theme" id=7] [ext_resource path="res://tests/test_titlescreen_planet/TitleMenu.gd" type="Script" id=8] [node name="test_titlescreen_planet" type="Spatial"] [node name="Camera" type="Camera" parent="."] transform = Transform( -0.237171, -0.132924, 0.962331, -0.0204041, 0.991058, 0.131863, -0.971254, 0.0116387, -0.237763, 4.87479, 1.41359, 1.05785 ) [node name="meat_planet" parent="." instance=ExtResource( 1 )] transform = Transform( 0.5, 0, 0, 0, 0.463143, 0.188411, 0, -0.188411, 0.463143, 0.0736001, 0.18823, -0.0757823 ) [node name="DirectionalLight" type="DirectionalLight" parent="."] transform = Transform( 0.791944, 0.610549, 0.00734885, -0.405596, 0.517027, 0.753774, 0.456416, -0.599928, 0.657093, 3.25392, 5.38699, -0.264825 ) light_color = Color( 0.317647, 0.0156863, 0.0156863, 1 ) shadow_enabled = true [node name="grainy_shader" parent="." instance=ExtResource( 4 )] [node name="WorldEnvironment" parent="." instance=ExtResource( 5 )] [node name="TitleMenu" type="Control" parent="."] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -20.0 margin_top = -20.0 margin_right = 20.0 margin_bottom = 20.0 theme = ExtResource( 7 ) script = ExtResource( 8 ) [node name="Title" type="Label" parent="TitleMenu"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -512.0 margin_top = -396.0 margin_right = 172.0 margin_bottom = -332.0 rect_scale = Vector2( 1.5, 1.5 ) 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( 6 ) text = "MEAT MADNESS" align = 1 [node name="ButtonContainer" type="VBoxContainer" parent="TitleMenu"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -504.0 margin_top = -52.0 margin_right = -204.0 margin_bottom = 298.0 theme = ExtResource( 7 ) custom_constants/separation = 10 [node name="PlayButton" type="Button" parent="TitleMenu/ButtonContainer"] margin_right = 300.0 margin_bottom = 36.0 text = "Play" [node name="Spacer" type="Control" parent="TitleMenu/ButtonContainer"] margin_top = 46.0 margin_right = 300.0 margin_bottom = 76.0 rect_min_size = Vector2( 1, 30 ) [node name="Credits" type="Button" parent="TitleMenu/ButtonContainer"] margin_top = 86.0 margin_right = 300.0 margin_bottom = 122.0 text = "Credits" [node name="Spacer2" type="Control" parent="TitleMenu/ButtonContainer"] margin_top = 132.0 margin_right = 300.0 margin_bottom = 162.0 rect_min_size = Vector2( 1, 30 ) [node name="Controls" type="Button" parent="TitleMenu/ButtonContainer"] margin_top = 172.0 margin_right = 300.0 margin_bottom = 208.0 text = "Controls" [node name="Spacer3" type="Control" parent="TitleMenu/ButtonContainer"] margin_top = 218.0 margin_right = 300.0 margin_bottom = 248.0 rect_min_size = Vector2( 1, 30 ) [node name="QuitButton" type="Button" parent="TitleMenu/ButtonContainer"] margin_top = 258.0 margin_right = 300.0 margin_bottom = 294.0 text = "Quit" [node name="BlackoutScreen" type="CanvasLayer" parent="TitleMenu"] layer = 2 visible = false [node name="ColorRect" type="ColorRect" parent="TitleMenu/BlackoutScreen"] anchor_right = 1.0 anchor_bottom = 1.0 color = Color( 0, 0, 0, 1 ) [node name="MenuMusic" type="AudioStreamPlayer" parent="TitleMenu"] stream = ExtResource( 3 ) volume_db = -7.0 autoplay = true [node name="BlackoutSound" type="AudioStreamPlayer" parent="TitleMenu"] stream = ExtResource( 2 ) [connection signal="pressed" from="TitleMenu/ButtonContainer/PlayButton" to="TitleMenu" method="_on_PlayButton_pressed"] [connection signal="pressed" from="TitleMenu/ButtonContainer/Credits" to="TitleMenu" method="_on_Credits_pressed"] [connection signal="pressed" from="TitleMenu/ButtonContainer/Controls" to="TitleMenu" method="_on_Controls_pressed"] [connection signal="pressed" from="TitleMenu/ButtonContainer/QuitButton" to="TitleMenu" method="_on_QuitButton_pressed"]