Custom effects with Storyline

Jun 24, 2015

Hello. I want to create custom effect for my text. It calls like 'typewriter effect'.  See this DEMO please. How can I do this in the Storyline 2?


6 Replies
asd asd

I have found a workaround. Tutorial:

1. Create textbox.

2. Create variable . For example, `text. 

3. Create trigger and choose Execute JavaScript.

4. Paste the following code:

var player = GetPlayer();
var delay = 100;
var temp = "test test test"; // our text
var charArray = temp.split('');
charArray.forEach(function(item, index) {
setTimeout(function() {
var text = player.GetVar("text");
text = text + item;
}, delay*index);

This discussion is closed. You can start a new discussion or contact Articulate Support.