The text box is the standard used to display the dialogue between the player and non-playing characters in most RPG’s and adventure games, especially those that don’t have the benefit of voice acting.
Fabio Rodella has created a very usefull class for creating these dialog boxes in the Cocos2D iPhone game engine that automatically creates line breaks, and handles user touches for longer text — so you just need to supply your dialogue, customize the colors for your game, and you have your adventure game dialog box.
Here’s a quick video showing the class in action (with default colors which can easily be changed):
I will be getting together with a successful Cocos2D expert and putting together a comprehensive training course.
We will be giving out some free copies to those who fill in the survey. You can get to the survey by clicking here.
The tutorial along with a downloadable example can be found at Crocodella software here:
RPG-like Text Box With Cocos2D
Definitely useful if you are creating a game with text dialog.
Read More: Cocos2D Examples And Tutorials
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.