flora
flora copied to clipboard
Slow-reveal of dialogue text
trafficstars
Like character at a time.
how the fuck do you do this
It's in Objective C, but should be applicable http://www.crocodella.com.br/2011/01/rpg-like-text-box-with-cocos2d/
That turns every character into a sprite; I'm using a real font which I believe goes through freetype.
Adding one character at a time means text jumps around when adding a character causes the line to wrap. Also it feels like a waste when I could just calculate the text all at once and only render part of it.