Voss and Gravin, menu changes

This commit is contained in:
dukegoobler 2023-01-02 21:23:51 -07:00
parent 5edabdea9a
commit bd9afc4a3e
15 changed files with 376 additions and 230 deletions

View File

@ -5,7 +5,7 @@ content_margin_left = 10.0
content_margin_right = 10.0
content_margin_top = 10.0
content_margin_bottom = 10.0
bg_color = Color( 0.2, 0.23, 0.31, 1 )
bg_color = Color( 0.03, 0.21, 0.26, 1 )
border_width_left = 1
border_width_top = 1
border_width_right = 1

View File

@ -70,7 +70,8 @@
"timeline-1672267850.json",
"timeline-1672267872.json",
"timeline-1672267892.json",
"timeline-1672623960.json"
"timeline-1672623960.json",
"timeline-1672719153.json"
],
"folders": {

View File

@ -26,4 +26,4 @@ canvas_layer=50.0
[QuickTimelineTest]
timeline_file="timeline-1667671038.json"
timeline_file="timeline-1672719153.json"

View File

@ -24,7 +24,7 @@ is_hidden=true
[buttons]
normal=[ false, Color( 0.521569, 0.521569, 0.521569, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://addons/dialogic/Example Assets/backgrounds/background-2.png", false, Color( 1, 1, 1, 1 ) ]
normal=[ false, Color( 0.521569, 0.521569, 0.521569, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://assets/Button01.png", false, Color( 1, 1, 1, 1 ) ]
hover=[ true, Color( 0.698039, 0.698039, 0.698039, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://addons/dialogic/Example Assets/backgrounds/background-2.png", false, Color( 1, 1, 1, 1 ) ]
focus=[ true, Color( 0.698039, 0.698039, 0.698039, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://addons/dialogic/Example Assets/backgrounds/background-2.png", false, Color( 1, 1, 1, 1 ) ]
pressed=[ false, Color( 1, 1, 1, 1 ), false, Color( 0, 0, 0, 1 ), true, "res://addons/dialogic/Example Assets/backgrounds/background-2.png", false, Color( 1, 1, 1, 1 ) ]

View File

@ -12,49 +12,55 @@
"character": "",
"event_id": "dialogic_001",
"portrait": "",
"text": "(Your neural scanner blinks. IDENTITY: WALLY GRAVIN. AGE: 43. CONDITION: CRITICAL.)"
"text": "(Your neural scanner blinks. IDENTITY: WALLY GRAVIN. AGE: 43. CONDITION: CRITICAL)"
},
{
"character": "character-1667667693.json",
"event_id": "dialogic_001",
"portrait": "",
"text": " (Gravin coughs violently. [color=red]Blood [/color]trickles from the corner of his mouth.)"
"text": "(Gravin coughs violently. [color=red]Blood [/color]dribbles from the corner of his mouth)"
},
{
"character": "character-1667667693.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "Just kill me. I cant take it anymore. "
"text": "Just kill me. I cant take it anymore"
},
{
"character": "character-1667667693.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "When it takes you… it makes you feel everything that it feels. The whole planet... [shake rate=5 level=10]writhing and breathing [/shake]and... speaking."
"text": "When it takes you… it makes you feel everything that it feels. The whole planet... [shake rate=5 level=10]writhing and breathing [/shake]and... speaking"
},
{
"character": "character-1667667693.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "Just let me die."
"text": "Whos are you? Recovery? Damn it... Don't tell my family what happened to me"
},
{
"character": "character-1667667693.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "Whos are you? Recovery? Damn it... Don't tell my family what happened to me. "
"text": "...Or my clone. I don't want to remember. Dont make me remember..."
},
{
"character": "character-1667667693.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "...Or my clone. I don't want to remember. I can't remember... "
"text": "It enjoys pain. Its torturing me. Breaking me. Like a cat playing with its food"
},
{
"character": "",
"character": "character-1667667693.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "(Gravin's eyes roll back. He smiles wickedly.)"
"text": "Just let me die..."
},
{
"character": "character-1667667693.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "(Gravin's eyes roll back. He smiles wickedly)"
},
{
"character": "character-1667767751.json",
@ -66,19 +72,19 @@
"character": "character-1667667693.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "(You raise your scalpel and carefully harvest a flesh sample from Gravin. He hisses with pain and outrage.)"
"text": "(You raise your scalpel and carefully harvest a flesh sample from Gravin. He hisses with pain and outrage)"
},
{
"character": "character-1667767751.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[shake rate=5 level=10]WE WILL CONSUME YOU AS YOU CONSUME US AND WE WILL BE ONE IN SUFFERING ON OUR GREAT WHITE THRONE--[/shake]"
"text": "[shake rate=5 level=10]WE WILL CONSUME YOU AS YOU CONSUME US AND WE WILL BE ONE IN SUFFERING ON OUR GREAT WHITE THRONE-[/shake]"
},
{
"character": "character-1667667693.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "(He becomes unintelligible.)"
"text": "(He becomes unintelligible)"
},
{
"character": "",
@ -90,7 +96,7 @@
"question": "(Put Wally Gravin out of his misery?)"
},
{
"choice": "Yes.",
"choice": "Yes",
"condition": "",
"definition": "",
"event_id": "dialogic_011",
@ -100,20 +106,20 @@
"character": "character-1667667693.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "(You slash his throat. The meat around him writhes as if in pain.)"
"text": "(You slash his throat. The meat around him writhes as if in pain)"
},
{
"character": "character-1667667693.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "(Your body hums to its rhythm. You empty your stomach on the ground in front of him. )"
"text": "(Your body hums to its rhythm. You empty your stomach on the ground in front of him)"
},
{
"event_id": "dialogic_022",
"transition_duration": 1
},
{
"choice": "No.",
"choice": "No",
"condition": "",
"definition": "",
"event_id": "dialogic_011",
@ -123,7 +129,7 @@
"character": "character-1667667693.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "(You leave Wally Gravin behind. His hysterical shouting reminds you of a wounded animal.)"
"text": "(You leave Wally Gravin behind. His hysterical shouting reminds you of a wounded animal)"
},
{
"event_id": "dialogic_022",

View File

@ -12,79 +12,49 @@
"character": "",
"event_id": "dialogic_001",
"portrait": "",
"text": "(Your neural scanner blinks. IDENTITY: JACKIE VOSS. AGE: 42. CONDITION: UNKNOWN.)"
"text": "(Your neural scanner blinks. IDENTITY: JACKIE VOSS. AGE: 42. CONDITION: UNKNOWN)"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]John Stuart, we have waited for you.[/wave]"
"text": "[wave amp=50 freq=2]John Stuart, you have returned[/wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "(Voss grins an impossibly wide smile.)"
"text": "(Voss grins an impossibly wide smile)"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]Come closer, John. Can you hear it? The [color=red]heart[/color] is near... We are within it. It is all around us.[/wave]"
"text": "[wave amp=50 freq=2]Come closer, John. Can you hear it? The [color=red]heart[/color] is near... We are within it. It is all around us[/wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]Medicine, cloning... These things keep us alive. But we must consume. IngestiCorp knows this, and IngestiCorp keeps it this way.[/wave]"
"text": "(She screams in agony as the tendrils of meat wrapped around her dig deeper into her flesh)"
},
{
"event_id": "dialogic_015",
"id": "anchor-1634488067",
"index": 0,
"name": "voss_questions"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]And even after reaching immortality, we still hunger for more.[wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]We dig deep to feed the Earth. Because we were hungry. So hungry. [/wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]But now we see with a thousand eyes and feel with ten thousand fingers. Pain and pleasure, indivisible. Let us hold you, John.[/wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]No more hunger, John. No tears. No hate.[/wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "(She screams in agony as the tendrils of meat wrapped around her dig deeper into her flesh.)"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]Step forward and accept our undying love, John. You cannot resist[/wave]"
},
{
"character": "",
"event_id": "dialogic_010",
"options": [
],
"portrait": "",
"question": "(Put Jackie Voss out of her misery?)"
"question": "[wave amp=50 freq=2]Step forward and accept our undying love, John. You cannot resist[/wave]"
},
{
"choice": "Yes.",
"choice": "What happened to you?",
"condition": "",
"definition": "",
"event_id": "dialogic_011",
@ -94,58 +64,148 @@
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "(You move forward to destroy what is left of Voss. The meat roils and shakes as you finish the job.)"
"text": "[wave amp=50 freq=2]I stopped fighting. Cant you see that resisting Ceres is pointless?[/wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "(Voss's lifeless body becomes one with the meat.) "
"text": "[wave amp=50 freq=2]She knows us. She knew me from the moment I was born in the slum blocks to the moment we first embrace[/wave]"
},
{
"definition": "1667711785-428",
"event_id": "dialogic_014",
"operation": "=",
"random_upper_limit": 100,
"set_random": false,
"set_value": "true"
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]This is where we belong. She is calling us home. Weve been playing recklessly. Playing among the stars too soon[/wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]But still she will reward us with her embrace. She will hold us and feed us until we are ready to begin again[/wave] "
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]Join us. You only prolong the inevitable now[/wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]You wouldnt want to anger Mother, would you John?[/wave]"
},
{
"anchor_id": "anchor-1634488067",
"event_id": "dialogic_016"
},
{
"choice": "Why would I help you?",
"condition": "",
"definition": "",
"event_id": "dialogic_011",
"value": ""
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]Because together we can bring humanity home. We can stop suffering and accept our density[/wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]The being you call Ceres seeded life on Earth. When she was young, she planted us[/wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]She has been waiting for us to grow longer than you can imagine. She needs us just as we need her[/wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]And now we have woken her with our constant noise. She is angry John and she cannot be stopped. We are less than insects to her[/wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]We woke her before we were ready. We could have pleased her if we had waited. But we were hungry... so hungry[/wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]It is too late now. And so to her we must return. We must feed our mother[/wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]It is wonderful, John. We see with a thousand eyes and feel with ten thousand fingers. Pain and pleasure, indivisible. Let us hold you, John[/wave]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[wave amp=50 freq=2]Wont you join us? Wont you make Mother happy?[/wave]"
},
{
"anchor_id": "anchor-1634488067",
"event_id": "dialogic_016"
},
{
"choice": "Listen further",
"condition": "",
"definition": "",
"event_id": "dialogic_011",
"value": ""
},
{
"event_id": "dialogic_013"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[shake rate=5 level=10]We love you. We give to you our own flesh. We are your destiny. You all will join us[/shake]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_010",
"options": [
],
"portrait": "",
"question": "[wave amp=50 freq=2]Now the choice is yours Stuart. Will you delay the inevitable?[/wave]"
},
{
"choice": "Kill her",
"condition": "",
"definition": "",
"event_id": "dialogic_011",
"value": ""
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "(You move forward to destroy what is left of Voss. The meat roils and shakes as you finish the job)"
},
{
"emit_signal": "jackie_die",
"event_id": "dialogic_040"
},
{
"change_scene": "res://Screens/EndScreen.tscn",
"event_id": "dialogic_041"
},
{
"event_id": "dialogic_022",
"transition_duration": 3
},
{
"choice": "No.",
"condition": "",
"definition": "",
"event_id": "dialogic_011",
"value": ""
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "(You leave Jackie behind. She begins to laugh. A droning voice speaks through her, deafeningly loud.)"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[shake rate=5 level=10]Run, run, John! You cannot hide from us. We who have travelled the stars to find you. [/shake]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[shake rate=5 level=10]We love you. We give to you our own flesh. We are your destiny. You all will join us.[/shake]"
"text": "(Voss's lifeless body becomes one with the meat as it boils and writhes with rage) "
},
{
"definition": "1667711785-428",
@ -156,7 +216,7 @@
"set_value": "true"
},
{
"change_scene": "res://Screens/EndScreen.tscn",
"change_scene": "",
"event_id": "dialogic_041"
},
{
@ -164,7 +224,7 @@
"transition_duration": 3
},
{
"choice": "Listen further.",
"choice": "Join her",
"condition": "",
"definition": "",
"event_id": "dialogic_011",
@ -174,31 +234,31 @@
"character": "",
"event_id": "dialogic_001",
"portrait": "",
"text": "(You feel pounding inside your head. Your senses dull until you can only feel Voss's voice.)"
"text": "(You feel pounding inside your head. Your senses dull until you can only feel Voss's voice)"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[shake rate=5 level=10]This time you understand me, don't you John. Your body has been here but your mind has forgotten.[/shake] "
"text": "[shake rate=5 level=10]This time you understand me, don't you John. Your body has been here but your mind has forgotten[/shake] "
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[shake rate=5 level=10]The crew of the DSV-Provender have become our first angels in temple of flesh. [/shake]"
"text": "[shake rate=5 level=10]The crew of the DSV-Provender have become our first angels in temple of flesh [/shake]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[shake rate=5 level=10]And you, John Stuart. You will be our messenger. Return to the homeworld and spread the seeds you have gathered from us.[/shake]"
"text": "[shake rate=5 level=10]And you, John Stuart. You will be our messenger. Return to the homeworld and spread the seeds you have gathered from us[/shake]"
},
{
"character": "character-1667667711.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "[shake rate=5 level=10]There we will multiply. We will make the homeworld see our way.[/shake]"
"text": "[shake rate=5 level=10]There we will multiply. We will make the homeworld see our way[/shake]"
},
{
"definition": "1667770005-207",
@ -209,7 +269,7 @@
"set_value": "true"
},
{
"change_scene": "res://Screens/EndScreen.tscn",
"change_scene": "",
"event_id": "dialogic_041"
},
{

View File

@ -291,6 +291,12 @@
"portrait": "",
"text": "Ive tuned your radio to pick up on the black boxes frequency. Press (C)/(x) to take it out. "
},
{
"character": "character-1667667572.json",
"event_id": "dialogic_001",
"portrait": "",
"text": "You can toggle your flashlight by pressing (F)/(Y) if it gets dark"
},
{
"character": "character-1667667572.json",
"event_id": "dialogic_001",

View File

@ -0,0 +1,36 @@
{
"events": [
{
"event_id": "dialogic_024",
"set_theme": "theme-1671748561.cfg"
},
{
"character": "",
"event_id": "dialogic_010",
"options": [
],
"portrait": "",
"question": "Chapter Select"
},
{
"choice": "Chapter 1",
"condition": "",
"definition": "",
"event_id": "dialogic_011",
"value": ""
},
{
"choice": "Chapter 2",
"condition": "",
"definition": "",
"event_id": "dialogic_011",
"value": ""
}
],
"metadata": {
"dialogic-version": "1.4.5",
"file": "timeline-1672719153.json",
"name": "chapterselect"
}
}

View File

@ -1,105 +0,0 @@
[gd_scene load_steps=8 format=2]
[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]
[ext_resource path="res://effects/grainy_shader.tscn" type="PackedScene" id=6]
[ext_resource path="res://assets/title_font.tres" type="DynamicFont" id=7]
[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 = 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
theme = ExtResource( 5 )
[node name="RetryButton" type="Button" parent="Menu"]
margin_right = 208.0
margin_bottom = 36.0
focus_neighbour_bottom = NodePath("../MenuButton")
text = "Retry"
[node name="MenuButton" type="Button" parent="Menu"]
margin_top = 40.0
margin_right = 208.0
margin_bottom = 76.0
focus_neighbour_top = NodePath("../RetryButton")
focus_neighbour_bottom = NodePath("../CreditsButton")
text = "Main Menu"
[node name="CreditsButton" type="Button" parent="Menu"]
margin_top = 80.0
margin_right = 208.0
margin_bottom = 116.0
focus_neighbour_top = NodePath("../MenuButton")
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
focus_neighbour_top = NodePath("../CreditsButton")
focus_neighbour_bottom = NodePath("../RetryButton")
text = "Quit"
[node name="Blackout" type="CanvasLayer" parent="."]
visible = false
[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 )
[node name="shader" parent="." instance=ExtResource( 6 )]
[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
[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/CreditsButton" to="." method="_on_CreditsButton_pressed"]
[connection signal="pressed" from="Menu/QuitButton" to="." method="_on_QuitButton_pressed"]
[connection signal="timeout" from="BlackoutTimer" to="." method="_on_BlackoutTimer_timeout"]

View File

@ -1,20 +1,20 @@
[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]
[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]
[node name="test_titlescreen_planet" type="Spatial"]
[node name="Camera" type="Camera" parent="."]
transform = Transform( -0.262413, -0.132575, 0.955805, -0.0204041, 0.991058, 0.131863, -0.96474, 0.0151002, -0.262772, 4.34589, 1.41359, 1.05785 )
[node name="meat_planet" parent="." instance=ExtResource( 1 )]
[node name="meat_planet" parent="." instance=ExtResource( 4 )]
transform = Transform( -0.0182938, 0.353447, -0.54052, 0.529643, -0.301205, -0.214884, -0.369546, -0.44919, -0.281219, 0.0736001, 0.18823, -0.0757823 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
@ -23,7 +23,7 @@ light_color = Color( 0.317647, 0.0156863, 0.0156863, 1 )
light_energy = 1.5
shadow_enabled = true
[node name="WorldEnvironment" parent="." instance=ExtResource( 5 )]
[node name="WorldEnvironment" parent="." instance=ExtResource( 2 )]
[node name="TitleMenu" type="Control" parent="."]
anchor_left = 0.5
@ -34,8 +34,8 @@ margin_left = -20.0
margin_top = -20.0
margin_right = 20.0
margin_bottom = 20.0
theme = ExtResource( 7 )
script = ExtResource( 8 )
theme = ExtResource( 8 )
script = ExtResource( 5 )
[node name="Title" type="Label" parent="TitleMenu"]
anchor_left = 0.5
@ -50,7 +50,7 @@ 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 )
custom_fonts/font = ExtResource( 1 )
text = "MEAT MADNESS"
align = 1
@ -63,7 +63,7 @@ margin_left = -504.0
margin_top = -52.0
margin_right = -204.0
margin_bottom = 298.0
theme = ExtResource( 7 )
theme = ExtResource( 8 )
custom_constants/separation = 10
[node name="PlayButton" type="Button" parent="TitleMenu/ButtonContainer"]
@ -103,14 +103,14 @@ anchor_bottom = 1.0
color = Color( 0, 0, 0, 1 )
[node name="MenuMusic" type="AudioStreamPlayer" parent="TitleMenu"]
stream = ExtResource( 3 )
stream = ExtResource( 6 )
volume_db = -7.0
autoplay = true
[node name="BlackoutSound" type="AudioStreamPlayer" parent="TitleMenu"]
stream = ExtResource( 2 )
stream = ExtResource( 7 )
[node name="grainy_shader" parent="TitleMenu" instance=ExtResource( 4 )]
[node name="grainy_shader" parent="TitleMenu" instance=ExtResource( 3 )]
[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"]

View File

@ -0,0 +1,24 @@
extends Control
func _ready():
$ButtonContainer/PlayButton.grab_focus()
func _on_PlayButton_pressed():
$MenuMusic.stop()
$BlackoutSound.play()
$ButtonContainer.visible = false
$BlackoutScreen.visible = true
var dialog = Dialogic.start("intro")
add_child(dialog)
func _on_Credits_pressed():
var dialog = Dialogic.start("credits")
add_child(dialog)
func _on_Controls_pressed():
var dialog = Dialogic.start("controls")
add_child(dialog)
func _on_QuitButton_pressed():
get_tree().quit()

View File

@ -0,0 +1,118 @@
[gd_scene load_steps=9 format=2]
[ext_resource path="res://assets/title_font.tres" type="DynamicFont" id=1]
[ext_resource path="res://effects/grainy_shader.tscn" type="PackedScene" id=2]
[ext_resource path="res://effects/WorldEnvironment.tscn" type="PackedScene" id=3]
[ext_resource path="res://assets/models/meat_planet.tscn" type="PackedScene" id=4]
[ext_resource path="res://tests/test_endscreen_planet/EndMenu.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]
[node name="EndScreen_Planet" type="Spatial"]
[node name="Camera" type="Camera" parent="."]
transform = Transform( -0.262413, -0.132575, 0.955805, -0.0204041, 0.991058, 0.131863, -0.96474, 0.0151002, -0.262772, 4.34589, 1.41359, 1.05785 )
[node name="meat_planet" parent="." instance=ExtResource( 4 )]
transform = Transform( -0.0182938, 0.353447, -0.54052, 0.529643, -0.301205, -0.214884, -0.369546, -0.44919, -0.281219, 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 )
light_energy = 1.5
shadow_enabled = true
[node name="WorldEnvironment" parent="." instance=ExtResource( 3 )]
[node name="EndMenu" 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( 8 )
script = ExtResource( 5 )
[node name="Title" type="Label" parent="EndMenu"]
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( 1 )
text = "MEAT MADNESS"
align = 1
[node name="ButtonContainer" type="VBoxContainer" parent="EndMenu"]
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( 8 )
custom_constants/separation = 10
[node name="PlayButton" type="Button" parent="EndMenu/ButtonContainer"]
margin_right = 300.0
margin_bottom = 80.0
size_flags_vertical = 3
text = "Play"
[node name="Credits" type="Button" parent="EndMenu/ButtonContainer"]
margin_top = 90.0
margin_right = 300.0
margin_bottom = 170.0
size_flags_vertical = 3
text = "Credits"
[node name="Controls" type="Button" parent="EndMenu/ButtonContainer"]
margin_top = 180.0
margin_right = 300.0
margin_bottom = 260.0
size_flags_vertical = 3
text = "Controls"
[node name="QuitButton" type="Button" parent="EndMenu/ButtonContainer"]
margin_top = 270.0
margin_right = 300.0
margin_bottom = 350.0
size_flags_vertical = 3
text = "Quit"
[node name="BlackoutScreen" type="CanvasLayer" parent="EndMenu"]
layer = 2
visible = false
[node name="ColorRect" type="ColorRect" parent="EndMenu/BlackoutScreen"]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 1 )
[node name="MenuMusic" type="AudioStreamPlayer" parent="EndMenu"]
stream = ExtResource( 6 )
volume_db = -7.0
autoplay = true
[node name="BlackoutSound" type="AudioStreamPlayer" parent="EndMenu"]
stream = ExtResource( 7 )
[node name="grainy_shader" parent="EndMenu" instance=ExtResource( 2 )]
[connection signal="pressed" from="EndMenu/ButtonContainer/PlayButton" to="EndMenu" method="_on_PlayButton_pressed"]
[connection signal="pressed" from="EndMenu/ButtonContainer/Credits" to="EndMenu" method="_on_Credits_pressed"]
[connection signal="pressed" from="EndMenu/ButtonContainer/Controls" to="EndMenu" method="_on_Controls_pressed"]
[connection signal="pressed" from="EndMenu/ButtonContainer/QuitButton" to="EndMenu" method="_on_QuitButton_pressed"]