您的位置:首页 > 移动开发 > Cocos引擎

cocos2dx 文本分行显示

2014-01-13 16:18 477 查看
string info		=	"Hungry Hero is a free and open source game built on Adobe Flash using Starling Framework.\n\nhttp://www.hungryherogame.com\n\n"
		" The concept is very simple. The hero is pretty much always hungry and you need to feed him with food."
		" You score when your Hero eats food.\n\nThere are different obstacles that fly in with a \"Look out!\""
		" caution before they appear. Avoid them at all costs. You only have 5 lives. Try to score as much as possible and also"
		" try to travel the longest distance.";
	aboutInfo		=	LabelTTF::create(info,"微软雅黑",28,Size(500,500),TextHAlignment::LEFT);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: