meat_madness_redux/godot/screens/TitleScreen_Planet.tscn

171 lines
5.5 KiB
Plaintext
Raw Normal View History

2023-01-04 16:52:23 -07:00
[gd_scene load_steps=13 format=2]
2022-12-28 20:24:20 -07:00
2023-01-02 21:23:51 -07:00
[ext_resource path="res://assets/title_font.tres" type="DynamicFont" id=1]
[ext_resource path="res://effects/WorldEnvironment.tscn" type="PackedScene" id=2]
[ext_resource path="res://effects/grainy_shader.tscn" type="PackedScene" id=3]
[ext_resource path="res://assets/models/meat_planet.tscn" type="PackedScene" id=4]
[ext_resource path="res://screens/TitleMenu.gd" type="Script" id=5]
[ext_resource path="res://assets/audio/menu_music.ogg" type="AudioStream" id=6]
[ext_resource path="res://assets/audio/button_press.ogg" type="AudioStream" id=7]
[ext_resource path="res://assets/ui_theme.tres" type="Theme" id=8]
2023-01-03 23:20:15 -07:00
[ext_resource path="res://assets/starbox_with_neptune.png" type="Texture" id=9]
[sub_resource type="PanoramaSky" id=1]
panorama = ExtResource( 9 )
[sub_resource type="Environment" id=2]
background_mode = 2
background_sky = SubResource( 1 )
background_sky_custom_fov = 95.0
ambient_light_color = Color( 0.329412, 0.231373, 0.231373, 1 )
ambient_light_energy = 2.22
fog_color = Color( 0.0117647, 0.0156863, 0.0156863, 1 )
fog_sun_color = Color( 0.639216, 0.541176, 0.345098, 1 )
fog_depth_begin = 1.0
fog_depth_end = 5.0
fog_depth_curve = 0.933033
fog_transmit_enabled = true
fog_transmit_curve = 1.03526
auto_exposure_min_luma = 0.58
auto_exposure_max_luma = 4.5
auto_exposure_speed = 0.63
ssao_enabled = true
ssao_radius2 = 2.0
ssao_bias = 0.05
dof_blur_far_distance = 5.0
dof_blur_near_enabled = true
dof_blur_near_distance = 1.33
dof_blur_near_amount = 0.66
dof_blur_near_quality = 2
glow_enabled = true
glow_intensity = 1.0
glow_strength = 0.76
glow_bloom = 1.0
glow_blend_mode = 0
glow_high_quality = true
2022-12-28 20:24:20 -07:00
2023-01-04 16:52:23 -07:00
[sub_resource type="StyleBoxEmpty" id=3]
2023-01-02 22:13:52 -07:00
[node name="titlescreen_planet" type="Spatial"]
2022-12-28 20:24:20 -07:00
[node name="Camera" type="Camera" parent="."]
2023-01-03 23:20:15 -07:00
transform = Transform( -0.560929, 0.224596, 0.796816, -0.0917815, 0.939691, -0.329479, -0.822761, -0.257947, -0.506486, 4.51661, 0.621379, -0.0384483 )
2023-01-03 22:35:52 -07:00
current = true
2022-12-28 20:24:20 -07:00
2023-01-02 21:23:51 -07:00
[node name="meat_planet" parent="." instance=ExtResource( 4 )]
2023-01-03 23:20:15 -07:00
transform = Transform( -0.0230506, 0.00644278, -0.645638, 0.408317, -0.500316, -0.0195707, -0.500167, -0.408734, 0.0137787, -0.0971218, 0.676688, 1.02051 )
2022-12-28 20:24:20 -07:00
[node name="DirectionalLight" type="DirectionalLight" parent="."]
2023-01-03 23:20:15 -07:00
transform = Transform( 0.913139, 0.192329, 0.359427, -0.406418, 0.498, 0.766042, -0.0316625, -0.84558, 0.532909, 3.25392, 5.38699, 5.82346 )
2022-12-28 20:24:20 -07:00
light_color = Color( 0.317647, 0.0156863, 0.0156863, 1 )
2023-01-03 23:20:15 -07:00
light_energy = 2.0
2022-12-28 20:24:20 -07:00
shadow_enabled = true
2023-01-02 21:23:51 -07:00
[node name="WorldEnvironment" parent="." instance=ExtResource( 2 )]
2023-01-03 23:20:15 -07:00
environment = SubResource( 2 )
2022-12-28 20:24:20 -07:00
[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
2023-01-02 21:23:51 -07:00
theme = ExtResource( 8 )
script = ExtResource( 5 )
2022-12-28 20:24:20 -07:00
[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
2023-01-02 21:23:51 -07:00
custom_fonts/font = ExtResource( 1 )
2022-12-28 20:24:20 -07:00
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
2023-01-02 21:23:51 -07:00
theme = ExtResource( 8 )
2022-12-28 20:24:20 -07:00
custom_constants/separation = 10
[node name="PlayButton" type="Button" parent="TitleMenu/ButtonContainer"]
margin_right = 300.0
margin_bottom = 80.0
size_flags_vertical = 3
2022-12-28 20:24:20 -07:00
text = "Play"
[node name="Credits" type="Button" parent="TitleMenu/ButtonContainer"]
margin_top = 90.0
2022-12-28 20:24:20 -07:00
margin_right = 300.0
margin_bottom = 170.0
size_flags_vertical = 3
2022-12-28 20:24:20 -07:00
text = "Credits"
[node name="Controls" type="Button" parent="TitleMenu/ButtonContainer"]
margin_top = 180.0
2022-12-28 20:24:20 -07:00
margin_right = 300.0
margin_bottom = 260.0
size_flags_vertical = 3
2022-12-28 20:24:20 -07:00
text = "Controls"
[node name="QuitButton" type="Button" parent="TitleMenu/ButtonContainer"]
margin_top = 270.0
2022-12-28 20:24:20 -07:00
margin_right = 300.0
margin_bottom = 350.0
size_flags_vertical = 3
2022-12-28 20:24:20 -07:00
text = "Quit"
[node name="BlackoutScreen" type="CanvasLayer" parent="TitleMenu"]
layer = 2
visible = false
[node name="ColorRect" type="ColorRect" parent="TitleMenu/BlackoutScreen"]
2023-01-03 23:20:15 -07:00
visible = false
2022-12-28 20:24:20 -07:00
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 1 )
[node name="MenuMusic" type="AudioStreamPlayer" parent="TitleMenu"]
2023-01-02 21:23:51 -07:00
stream = ExtResource( 6 )
2022-12-28 20:24:20 -07:00
volume_db = -7.0
autoplay = true
[node name="BlackoutSound" type="AudioStreamPlayer" parent="TitleMenu"]
2023-01-02 21:23:51 -07:00
stream = ExtResource( 7 )
2022-12-28 20:24:20 -07:00
2023-01-02 21:23:51 -07:00
[node name="grainy_shader" parent="TitleMenu" instance=ExtResource( 3 )]
2023-01-04 16:52:23 -07:00
[node name="heavenButton" type="Button" parent="TitleMenu"]
margin_left = -164.0
margin_top = -176.0
margin_right = -92.0
margin_bottom = -112.0
custom_styles/normal = SubResource( 3 )
shortcut_in_tooltip = false
action_mode = 0
text = " "
flat = true
2022-12-28 20:24:20 -07:00
[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"]
2023-01-04 16:52:23 -07:00
[connection signal="pressed" from="TitleMenu/heavenButton" to="TitleMenu" method="_on_heavenButton_pressed"]