//ccTouchBegan必须实现,否则会报错bool PicScan::ccTouchBegan(CCTouch* pTouch, CCEvent* event){ return true;}void PicScan::ccTouchMoved(CCTouch *touch, CCEvent *event){ //获得触摸点初始坐标 CCPoint beginLoc = touch->locationInView(touch->view()); beginLoc = CCDirector::sharedDirector()->convertToGL(beginLoc); Read More
posted @ 2012-04-28 20:07
fjut
Views(3097)
Comments(0)
Diggs(0)
在代理函数 bool AppDelegate::applicationDidFinishLaunching() 里开头添加以下代码: _tsetlocale(LC_ALL,_T("")); ::AllocConsole(); ::freopen("conout$","w",stdout); 别忘了加头文件 #include <tchar.h>然后你就可以使用printf啦,哇咔咔。 Read More
posted @ 2012-04-28 19:38
fjut
Views(3609)
Comments(2)
Diggs(0)