- 本帖最后由 巫术 于 2013-9-1 15:16 编辑 *
平台 win32
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
问题的起源是这样的 :
CCLabelTTF* pLabel = CCLabelTTF::create(“Hello World”, “Arial”, 24); // 文本框
CCSprite* pSprite = CCSprite::create(“HelloWorld.png”); // sprite
pLabel->setString("x"+(String)(pSprite->getPositionX())); // 我想把信息 +字符串输出到文本框里!! 结果好像不是这么转换的啊, 百度了一下 答案都是五花八门 文不对题啊 。特来求见 坛子里的各位前辈们 .
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
谢谢!同时我也继续百度 谷歌 只求尽快解决问题