EOS slideshow with slowly printed text

All about the past, current and future webteases and the art of webteasing in general.
---
Post Reply
fnbt
Curious Newbie
Curious Newbie
Posts: 3
Joined: Fri Sep 23, 2022 10:55 am

EOS slideshow with slowly printed text

Post by fnbt »

In the EOS editor:

Is there a way to have the image on the left and the text on the right?

Is there a way to have a single action perform an image slideshow wile text is slowly printed line by line? I can achieve this, sort of, by using the "Image" action and then the "Say" action over and over for every line of text, dozens or more times per page, but it's tedious. I'm just asking if there's a more efficient way to do what I'm doing. I've written an entire story. I have paragraphs of text. I want the text displayed slowly more or less line by line while random images from a gallery are slideshown every time a new line of text appears on screen.

Thanks,
f
User avatar
Bright_Sprinkler
Explorer
Explorer
Posts: 26
Joined: Sat Aug 28, 2021 8:11 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Submissive
Contact:

Re: EOS slideshow with slowly printed text

Post by Bright_Sprinkler »

As far as I know there is no way to display text on the right in a good representable way.

As you said images can be shown randomly from a slide show.
I'd recommend putting your text into an array. Every line of text will be one array entry.
You then have a counter variable that tracks your text progress. At the beginning it will be 0 and after a new line is displayed it will be incremented by one. This variable is used as array index to access the currently needed text line.
The third thing your page will need is a timer. Either the timer element or use the timer on the say-action.
Once the timer is up, you goto the same page -> a new random image is picked and the next text is loaded.
Oh and you have to check if all lines have been displayed.

Setup:
In your Init Script create an array with the text lines:
lines = ["1", "2", "3"]

Page:
  • image -> random from gallery
  • say -> text from array based on index
  • timer -> just wait sometime, e.g. the text can be read or a metronome is playing
  • code action -> increment array index; if array index = array.length then goto different page else goto same page again
Post Reply