Tutorial: Cocos2D Example RPG Text Box

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 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):

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

©2011 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.

.

DeliciousTwitterTechnoratiFacebookLinkedInEmail

Leave a Reply

Your email address will not be published. Required fields are marked *