tiger-cleanup #1
|
|
@ -450,6 +450,7 @@ grow_horizontal = 2
|
|||
grow_vertical = 2
|
||||
script = ExtResource("1_o2rjr")
|
||||
story_array = PackedStringArray("Moonlight trickled down through clouds and twigs as Dräven tapped through the night.", "He had been searching for a while and he knew a special someone must be hiding in the thicket.", "When a familiar smell first led him to a few bronce hairs as fluffy as his tail, he didn\'t think much of it.", "But then he saw paw-prints, that matched his own where he had not been. Would he finally find someone of his kind?", "He was sure of it, as the familiar scent has never been stronger than tonight.", "When suddenly: Was that chatter?", "His wings rustled with joy over the familiar voice and Dräven decided to get a better look.", "A few flaps and leaps brought him up a tree, to get a glimpse of his soon to be friend.", "But all he saw was a fox.", "He didn\'t even want to bother it anymore.", "It would just scream and laugh at his wings of leafs, just like the trees crackled at his paws, that were no roots.", "With a small whimper, Dräven spread his wings, and slid away to at least find comfort by seeing his reflection in the nearby lake.", "It took him a while to notice, how there was a sudden silence when the clouds broke: ", "Northern lights danced through the sky to form wings, that met at a sleek body made of stars and clouds.", "The whole forest held its breath as it stared into eyes of moonlight gazing down.", "Dräven was moved to tears when he gazed back at it. He was sad for the dragon that was of the moon and the stars and the skies.", "It must feel so lost in the universe.", "But his tears were of joy: It was the first time Dräven saw another creature of many kinds.")
|
||||
paragraph_lengths = PackedInt32Array(2, 4, 5, 6, 8, 9, 12, 14, 17)
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
|
|
|||
|
|
@ -663,6 +663,7 @@ grow_vertical = 2
|
|||
script = ExtResource("1_543ki")
|
||||
scene_id = 2
|
||||
story_array = PackedStringArray("My secret comic stash. I remember playing Clue-Men with the boys.", "I had a voice for every character in that comic. But more often than not I played him: Agent Q.", "Going under the radar, putting in precise work to save the world.", "Not having to deal with being a girl.", "Boys were so much easier. They like cars, bikes, guns and agents.", "They don\'t talk behind your back. They don\'t think everything is about relationships.", "Girls don\'t get that. I knew they talked behind my back about me only “pretending” to like boy stuff, so I’d get laid ", "… I mean, maybe they were right?", "Like I won\'t deny I was probably the first girl in my class to see a dick.", "But like - that’s what the boys do, right?", "At least it has gotten better after me and Jojo became friends.", "I still remember how that happend. I did a voice acting workshop in art class.", "Being allowed to share my technique in front of everyone was just :D", "I mean next to nobody put in any effort. But Jojo did.", "When our Mr Funny then decided to ape her attempts instead of just minding his own, I pretty much exploded.", "After this, we suddenly were besties. And my class finally started to just leave me be. ", "Maybe because I for once was friends with another girl. Maybe because I scared them. Maybe both.")
|
||||
paragraph_lengths = PackedInt32Array(1, 2, 5, 7, 9, 10, 13, 14, 16)
|
||||
progress = 17.0
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="."]
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@ var max_lines: float = 0
|
|||
story_array = str_array
|
||||
_rebuild()
|
||||
|
||||
@export var paragraph_lengths: PackedInt32Array = [1]
|
||||
@export var paragraph_lengths: PackedInt32Array
|
||||
|
||||
@export var progress: float = 0:
|
||||
var progress: float = 0:
|
||||
set(value):
|
||||
progress = value
|
||||
if is_node_ready() and not all_text_revealed:
|
||||
|
|
@ -93,8 +93,7 @@ func _rebuild():
|
|||
substring_sizes.append(TranslationServer.translate(story_array[i]).strip_edges().length() + 1)
|
||||
if not paragraph_lengths[-1] == story_array.size()-1:
|
||||
paragraph_lengths.append(story_array.size()-1)
|
||||
# I removed this warning because this is just a self-healing postcondition?
|
||||
#push_warning("Paragraph lenghts of scene %s are misconfigured!" % name)
|
||||
push_warning("Paragraph lenghts of scene %s are misconfigured!" % name)
|
||||
if paragraph_lengths[p] == i:
|
||||
p += 1
|
||||
label.text += "[/p][p][font_size=8] [/font_size][/p][p]"
|
||||
|
|
|
|||
Loading…
Reference in New Issue