hello all, I wonder what I have to use method or class to display text letter by letter, as the effect of typewriter that usually appear in most games.
thanks
A fast, easy to use, free, and community supported 2D game engine
hello all, I wonder what I have to use method or class to display text letter by letter, as the effect of typewriter that usually appear in most games.
thanks
You can achieve that effect by creating a different label/sprite per letter, add them to an array, set all of them to .visible = NO and then schedule an action every 1 sec to change the array of letters to .visible = YES. Add a sound effect on top of it and unless you want to animate the whole Bible it could do the trick.
Actually I hope it's just a few words and not paragraphs as the automatization of the idea I'm giving you could be tricky (break lines). Also lots of them will hit performance.
Good luck!
Check this out:
http://www.crocodella.com.br/2011/01/rpg-like-text-box-with-cocos2d/
Might put you in the right direction.
You must log in to post.