08 2012 档案

摘要:声明:博文内容为自己整理笔记所用,有不对的地方还请大家指正.在cocos2dx 中的tests 项目里 已经带了 足够多的 动画事例ActionsTest我只是看了其中一些 自我感觉比较常用的动画ActionMove 移动在cocos2d-x中移动分 to 和 by 两种1 CCSize s = CCDirector::sharedDirector()->getWinSize();2 3 CCActionInterval* actionTo = CCMoveTo::create(2, CCPointMake(s.width-40, s.height-40)); /... 阅读全文
posted @ 2012-08-22 09:05 JaoYE 阅读(5168) 评论(0) 推荐(0)
摘要:main.cpp 和所有项目一样 程序的主函数1 // create the application instance2 AppDelegate app;3 CCEGLView& eglView = CCEGLView::sharedOpenGLView();4 eglView.setViewName("Hello World");5 eglView.setFrameSize(480, 320);6 // set the design resolution screen size, if you want to use Design Resouluti... 阅读全文
posted @ 2012-08-20 22:35 JaoYE 阅读(364) 评论(0) 推荐(0)
摘要:1.双击安装:Twisted-12.1.0.win32-py2.6.msi,一定要全部用默认2.测试是否安装成功: dos窗口下:输入: python 回车 from twisted.internet import reactor 会报: ImportError: No module named zope.interface 错误3.解压:tbs-8RSLyM5pLn.rar4.把zope.interface-3.7.0-py2.6-win32.egg拷贝到C:\Python26\Scripts目录下5.dos窗口中: cd C:\tools\python\twisted2\tbs-8RSLy 阅读全文
posted @ 2012-08-20 11:26 JaoYE 阅读(1743) 评论(0) 推荐(0)
摘要:在xcode中 直接使用printf 或者 cout<<""<<endl;可以直接在控制台打印但是在VS2010 却死活不好用 真郁闷-----------------10-9更新----------------下面的代码在 自己建立的项目里都已经存在啦AllocConsole(); freopen("CONIN$", "r", stdin); freopen("CONOUT$", "w", stdout); freopen("CONOUT$", &q 阅读全文
posted @ 2012-08-13 10:01 JaoYE 阅读(5323) 评论(1) 推荐(0)