Cocos2d-x
文章平均质量分 65
SingingCoder
SingingCoder
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Cocos2d-x学习笔记
Cocos2d-x学习笔记A. Severalimportant concepts。Director: run backward, manage the all the scenes in the game like replacescene.Scene: run at forward, contains several layers, control the layers,now a原创 2012-03-05 20:46:50 · 3039 阅读 · 0 评论 -
打包好的apk放到手机上可以跑起来,但一尝试登陆就挂了。
打包好的apk放到手机上可以跑起来,但一尝试登陆就挂了。原创 2017-05-02 10:19:51 · 1205 阅读 · 0 评论 -
No rule to make target cocos2d/cocos/editor-support/cocostudio/CCActionFrame.cpp
No rule to make target cocos2d/cocos/editor-support/cocostudio/CCActionFrame.cpperror: undefined reference to 'curl_easy_init'error: undefined reference to 'curl_easy_perform'error: undefined reference to 'curl_easy_cleanup'原创 2017-05-02 10:07:19 · 1027 阅读 · 0 评论 -
Caused by: java.lang.UnsatisfiedLinkError: Cannot load library
when I tried to package an old cocos2dx NDK project, I encountered this problem, apk could be exported but crashed when start running it.Here is the log I get from eclipse logcat:FATAL EXCEPTION原创 2017-02-23 15:33:44 · 3603 阅读 · 0 评论 -
cocos2dx之如何优化内存使用
一、cocos2dx之如何优化内存使用(高级篇)本文由qinning199原创,转载请注明:http://www.cocos2dx.net/?p=93一、内存优化原则为了优化应用内存,你应该知道是什么消耗了你应用的大部分内存,答案就是Texture(纹理)!它几乎占据了90%的应用内存。那么我们应该尽力去减小我们应用的纹理内存使用,否则我们的应用进程可能会被系统杀死转载 2014-05-05 13:35:28 · 6176 阅读 · 0 评论 -
Eclipse配置NDK编译Android工程
最近跟同事发现可以更简单的配置Android开发环境。要用eclipse编译C++用到Android中只需要简单几步。1.下载安装Java环境:http://www.oracle.com/technetwork/java/javase/downloads/index.html。2.下载安装AndroidAdtBundles:http://developer.android.com/sd原创 2013-07-03 20:07:10 · 1117 阅读 · 0 评论 -
Cocos2dx内的坐标系(Coordinate Systems In Cocos2dx)
窗口坐标系:即openGL坐标系,左下角为原点,向右是x正方向,向上是y正方向。纹理坐标系:左上角为原点,向右是x正方向,向下是y正方向。在使用图集时,例如截取其中的某个矩形块来创建一个sprite会用到此坐标系。Window Coordinate System: which uses the openGL coordinate system, has an origin at t原创 2013-08-23 09:05:38 · 1509 阅读 · 0 评论 -
Win7+Eclipse+Android+NDK+Cocos2dx
Feature:A. do not need cygwin.B. we could set breakpoint and debug the native C++ part code in Eclipse. System and Software Version:Laptop: ASUSOS:win7 64bit ultimateJDK:jdk-7u15-windows原创 2013-04-14 21:28:14 · 5391 阅读 · 0 评论 -
VS2008下cocos2d-x工程配置
Cocos2dx Project settings in VS2008:First we should build the libcocos2d, because we will use the outputof the libcocos2d building in our own project, so its setting should be finished first.原创 2012-03-05 20:51:45 · 4066 阅读 · 0 评论 -
使用cocos2d-x编程debug记录
Debug Records1. Error when read data from xmlfile?Trace it I find:In file CCSAXParser.cpp intresult= xmlSAXUserParseMemory( &saxHandler, this, pBuffer, size); if ( resul原创 2012-03-05 20:43:15 · 1608 阅读 · 0 评论 -
Shaders to regulate image lightness like in PhotoShop(shader实现Photoshop的亮度调节效果,按钮变暗效果)
We can regulate image lightness in photoshop like this (Ctrl+U):I find it results in different end lightness for different original lightness and for different lighness offset you want to regulate原创 2017-04-26 11:15:21 · 641 阅读 · 0 评论
分享