flora icon indicating copy to clipboard operation
flora copied to clipboard

Slow-reveal of dialogue text

Open eevee opened this issue 13 years ago • 2 comments
trafficstars

Like character at a time.

how the fuck do you do this

eevee avatar Nov 11 '12 01:11 eevee

It's in Objective C, but should be applicable http://www.crocodella.com.br/2011/01/rpg-like-text-box-with-cocos2d/

ghost avatar Nov 11 '12 05:11 ghost

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.

eevee avatar Nov 11 '12 21:11 eevee