Make words appear letter by letter
Hi there
Just started with max/jitter so I'm a newbie here
For a project, I'm reading words from a .txt file with 'coll'. I want to make the words appear letter by letter, so that it looks/feels like the text is written in real-time. Can someone help me on this one to get me started?
And subquestion for extra bonus points: how do I get some breaks between the lines in the text?
Thanx in advance!
You may be highly interested by the last patch posted (by Stefan Tiedje 3 days ago) on this thread :
you could try a piece of javascript...
editfontsize = 14;
var a;
var b = "";
function anything(a){
this.a = arrayfromargs(arguments);
for(i=0;i
this.b+=this.a[i];
this.b+= " ";
post(this.b);
post();
}
}
var counter = 0;
function bang(){// click bang to bang out the next letter
post(this.b.charAt(counter));
counter++;
}
Great, thanx. Overlooked the thread by stefan tiedje i guess.