#31: intro speakers and conversations
Speakers farmer, farmers_wife, and big_green_alien (the thief head at 380 px, bigger than the little alien's 300, with a lower voice). Two new Sketch icons, "farmer" (round face, pinched straw hat, moustache) and "farmers_wife" (curls, straw sun hat with a ribbon and a flower). dialogue/intro/departure, flight, and uh_oh with the plan's lines, off (enabled = false), pause_game, auto_advance 1.6. test_dialogue checks their lines and speakers, that the director still plays only morning_day_2, and that the new heads draw. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5dbad4c915
commit
9224b65c7a
8 changed files with 286 additions and 6 deletions
28
game/resources/dialogue/intro/departure.tres
Normal file
28
game/resources/dialogue/intro/departure.tres
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[gd_resource type="Resource" script_class="Conversation" format=3 uid="uid://c08yse6j7xhvk"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b8csl51l2cwpg" path="res://game/scripts/conversation.gd" id="1_conversation"]
|
||||
[ext_resource type="Script" uid="uid://oluompq3r367" path="res://game/scripts/dialogue_line.gd" id="2_line"]
|
||||
[ext_resource type="Resource" path="res://game/resources/dialogue/speakers/farmer.tres" id="3_farmer"]
|
||||
[ext_resource type="Resource" path="res://game/resources/dialogue/speakers/farmers_wife.tres" id="4_wife"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_line1"]
|
||||
script = ExtResource("2_line")
|
||||
speaker = ExtResource("3_farmer")
|
||||
text = "Well, I sure hope the farm will be okay."
|
||||
|
||||
[sub_resource type="Resource" id="Resource_line2"]
|
||||
script = ExtResource("2_line")
|
||||
speaker = ExtResource("4_wife")
|
||||
text = "Well then, you should have paid someone to come watch it for you instead of buying those front row tickets to the Bon Jovi concert."
|
||||
|
||||
[sub_resource type="Resource" id="Resource_line3"]
|
||||
script = ExtResource("2_line")
|
||||
speaker = ExtResource("3_farmer")
|
||||
text = "Ah, it'll be alright. What's the worst that could happen?"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_conversation")
|
||||
enabled = false
|
||||
pause_game = true
|
||||
auto_advance = 1.6
|
||||
lines = Array[ExtResource("2_line")]([SubResource("Resource_line1"), SubResource("Resource_line2"), SubResource("Resource_line3")])
|
||||
38
game/resources/dialogue/intro/flight.tres
Normal file
38
game/resources/dialogue/intro/flight.tres
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
[gd_resource type="Resource" script_class="Conversation" format=3 uid="uid://yna1lvpdeqe4"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b8csl51l2cwpg" path="res://game/scripts/conversation.gd" id="1_conversation"]
|
||||
[ext_resource type="Script" uid="uid://oluompq3r367" path="res://game/scripts/dialogue_line.gd" id="2_line"]
|
||||
[ext_resource type="Resource" path="res://game/resources/dialogue/speakers/little_green_alien.tres" id="3_little"]
|
||||
[ext_resource type="Resource" path="res://game/resources/dialogue/speakers/big_green_alien.tres" id="4_big"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_line1"]
|
||||
script = ExtResource("2_line")
|
||||
speaker = ExtResource("3_little")
|
||||
text = "I want to fly the ship!"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_line2"]
|
||||
script = ExtResource("2_line")
|
||||
speaker = ExtResource("4_big")
|
||||
text = "You flew it all the way from the Andromeda galaxy! It's my turn!"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_line3"]
|
||||
script = ExtResource("2_line")
|
||||
speaker = ExtResource("3_little")
|
||||
text = "Your tentacles don't even reach the pedals!"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_line4"]
|
||||
script = ExtResource("2_line")
|
||||
speaker = ExtResource("4_big")
|
||||
text = "Mother said we take turns! Give me the stick!"
|
||||
|
||||
[sub_resource type="Resource" id="Resource_line5"]
|
||||
script = ExtResource("2_line")
|
||||
speaker = ExtResource("3_little")
|
||||
text = "Hands off! [shake]HANDS OFF![/shake]"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_conversation")
|
||||
enabled = false
|
||||
pause_game = true
|
||||
auto_advance = 1.6
|
||||
lines = Array[ExtResource("2_line")]([SubResource("Resource_line1"), SubResource("Resource_line2"), SubResource("Resource_line3"), SubResource("Resource_line4"), SubResource("Resource_line5")])
|
||||
23
game/resources/dialogue/intro/uh_oh.tres
Normal file
23
game/resources/dialogue/intro/uh_oh.tres
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[gd_resource type="Resource" script_class="Conversation" format=3 uid="uid://dvu0br3epblpb"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b8csl51l2cwpg" path="res://game/scripts/conversation.gd" id="1_conversation"]
|
||||
[ext_resource type="Script" uid="uid://oluompq3r367" path="res://game/scripts/dialogue_line.gd" id="2_line"]
|
||||
[ext_resource type="Resource" path="res://game/resources/dialogue/speakers/big_green_alien.tres" id="3_big"]
|
||||
[ext_resource type="Resource" path="res://game/resources/dialogue/speakers/little_green_alien.tres" id="4_little"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_line1"]
|
||||
script = ExtResource("2_line")
|
||||
speaker = ExtResource("3_big")
|
||||
text = "Uh oh.... we should go tell mother."
|
||||
|
||||
[sub_resource type="Resource" id="Resource_line2"]
|
||||
script = ExtResource("2_line")
|
||||
speaker = ExtResource("4_little")
|
||||
text = "Are you crazy!!! Let's just get out of here, maybe no one will notice!"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_conversation")
|
||||
enabled = false
|
||||
pause_game = true
|
||||
auto_advance = 1.6
|
||||
lines = Array[ExtResource("2_line")]([SubResource("Resource_line1"), SubResource("Resource_line2")])
|
||||
14
game/resources/dialogue/speakers/big_green_alien.tres
Normal file
14
game/resources/dialogue/speakers/big_green_alien.tres
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[gd_resource type="Resource" script_class="DialogueSpeaker" format=3 uid="uid://chciiyc5efsqv"]
|
||||
|
||||
[ext_resource type="Script" path="res://game/scripts/dialogue_speaker.gd" id="1_speaker"]
|
||||
[ext_resource type="AudioStream" path="res://assets/audio/kenney/interface/pluck_001.ogg" id="2_voice"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_speaker")
|
||||
display_name = "Big Green Alien"
|
||||
icon = "thief"
|
||||
side = 1
|
||||
portrait_height = 380.0
|
||||
voice = ExtResource("2_voice")
|
||||
voice_pitch = 1.05
|
||||
voice_every = 3
|
||||
13
game/resources/dialogue/speakers/farmer.tres
Normal file
13
game/resources/dialogue/speakers/farmer.tres
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[gd_resource type="Resource" script_class="DialogueSpeaker" format=3 uid="uid://dtxc1nfa3plr0"]
|
||||
|
||||
[ext_resource type="Script" path="res://game/scripts/dialogue_speaker.gd" id="1_speaker"]
|
||||
[ext_resource type="AudioStream" path="res://assets/audio/kenney/interface/pluck_002.ogg" id="2_voice"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_speaker")
|
||||
display_name = "Farmer"
|
||||
icon = "farmer"
|
||||
portrait_height = 320.0
|
||||
voice = ExtResource("2_voice")
|
||||
voice_pitch = 0.65
|
||||
voice_every = 3
|
||||
14
game/resources/dialogue/speakers/farmers_wife.tres
Normal file
14
game/resources/dialogue/speakers/farmers_wife.tres
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[gd_resource type="Resource" script_class="DialogueSpeaker" format=3 uid="uid://c5onilw721jwg"]
|
||||
|
||||
[ext_resource type="Script" path="res://game/scripts/dialogue_speaker.gd" id="1_speaker"]
|
||||
[ext_resource type="AudioStream" path="res://assets/audio/kenney/interface/pluck_001.ogg" id="2_voice"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_speaker")
|
||||
display_name = "Farmer's Wife"
|
||||
icon = "farmers_wife"
|
||||
side = 1
|
||||
portrait_height = 320.0
|
||||
voice = ExtResource("2_voice")
|
||||
voice_pitch = 1.2
|
||||
voice_every = 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue