[ANSWERED] Scrolling MS Dos Syntax
-
Hello Izzy team, I hope you're all well.
I need some assistance. I'm working on a show that requires a passage of scrolling syntax to be projected (Blade Runner style).
I'm able to scroll a .txt file using the Text Draw actor.
I'm also able to scroll live text inputted via a keyboard using the Edit Text box in the control section of Isadora.
However, what I really want to be able to do is create a passage of syntax in advance, save it as a document and then get Isadora to play it back one character at a time as though it is being generated live.
Additionally I would really like to show the curser during the playback sequence, flashing away to indicate a pause in the syntax entry.
I know almost everything is possible in Isadora - if you know how. Perhaps the Java Script actor or the Data Array actor will be my friend?
Please could you amazing people share your knowledge! It will be much appreciated.
Best wishes, Simon
-
Hi Simon
I created a java script and an user actor for a theater project in 2017, which can type a prepared text like somebody would type it, including displaying of the "cursor".
I don't have my license dongle here at the moment, but in the evening or tomorrow, I should have it and then I can extract a working minimal example and post it here.
Best, Marco
-
@merni Thank you Marco! Your assistance will be really appreciated
Best, Simon
-
Hi Simon
It took a bit longer, than expected, but here you have my example. In the zip you can find a izzy file and an js file. In the izzy file, there is an user actor, and inside it, there is a java script actor, which refernces to the js file. So the js file and the izzy file have to be in the same directory.
The js file sends a string to a Text Draw Actor and adds character by character from the input string, as somebody would type it. As Cursor a "|" char is added at the end...
You can change the cursor char in the line 22 of the js file.
Hope this helps as a starting point for your project.
Best,
Marco
PS: This file was used in our theater play ../escape/ in 2017. Here you can find some pictures for it: https://kellertheater-bremgarten.ch/spielplan/escape
-
@merni Dear Marco thank you so much for your help! It's really appreciated. I will open your example file when I'm next at my computer.
Images for your show look great! I like the choreography with dancers and cubes and play with light and projection, excellent!
Best wishes from Bradford UK
Simon
-
This is great! We'd love it you could upload this to our Add-Ons Page so that it's preserved for the community. (Posts in the forum inevitably get buried since newest ones go to the top.)
-
@merni Hello Marco, I've found your user actor and javascript to be incredibly useful. Thank you!
I did go into the java script and change the style of cursor as you kindly pointed out to me.
What I'd also like to do is alter the time between the PreText displaying and the TypeWriterText commencing - currently the TypeWriterText commences immediately as the scene is entered, I'd like to put a delay on this, preferably triggered by the video operator. Is this possible? If so, do I alter some of the java script? Please could you tell me which line of java script I need to make an alteration.
I hope this doesn't sound too complex.
Best, Simon