cocos2d x
ChangeNew
这个作者很懒,什么都没留下…
展开
-
cocos2dx 环境配置
cd cocos2d-x文件夹./setup.py依次弹出NDK_ROOT ANDROID_SDK_ROOT ANT_ROOT,输入路径/* 也可以提前输入路径 vim ~/.bash_profile 设置所需路径即可 如路径已经设置,回车即可 source .bash_profile 保存*/然后出现 Please execute command: "source /Users/jianghu...原创 2018-03-30 14:09:43 · 578 阅读 · 0 评论 -
cocos2dx http通信问题
Q: response code: 400 "message":"Required String parameter 'params' is not present"A:删除headers即可。 headers 指 vector<string>headers; headers.push_back("Content-Type: application/js...原创 2018-06-22 17:13:34 · 360 阅读 · 0 评论 -
cocos2dx 横竖屏问题
iOS -> RootViewController.mm -> #ifdef __IPHONE_6_0- (NSUInteger) supportedInterfaceOrientations{ return UIInterfaceOrientationMaskAllButUpsideDown;//UIInterfaceOrientationMaskPortrait 横竖修改}...原创 2018-06-22 17:29:43 · 640 阅读 · 0 评论 -
java c++ jin调用
1 java调用c++在java中声明本地方法。在java中调用本地方法,回调c++。public static native void onImageSaved(String path);在c++中实现上述声明的方法//--------Java回调C++--------native 方法#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDRO...原创 2018-09-06 17:38:48 · 602 阅读 · 0 评论 -
EXC_BAD_ACCESS
https://code.tutsplus.com/tutorials/what-is-exc_bad_access-and-how-to-debug-it--cms-24544转载 2018-09-07 10:08:05 · 475 阅读 · 0 评论