自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (1)
  • 收藏
  • 关注

原创 draw primitives

效果图如下:CHECK_GL_ERROR_DEBUG();//draw a simple line//The default state is://Line Width: 1//color: 255,255,255,255 (white, non-transparent)//Anti-Aliased//glEnable(GL_LINE_SMOOTH);

2014-12-04 11:46:39 346

转载 TestCpp例子大致介绍

转载:http://www.eoeandroid.com/forum.php?mod=viewthread&tid=328781在TestCpp中包含了cocos2d-x引擎开发核心技术的更多深入使用案例,为了开发者方便查询,以下按TestCpp运行后的菜单显示顺序说明第个demo作用。(1)      ActionsTest包含了在cocos2d-x中不同类型

2014-11-26 16:53:03 497

转载 CCMotionStreak拖尾效果深入分析

转载自红孩儿:http://blog.csdn.net/honghaier/article/details/8600896 今天我们来学习一下Cocos2d-x中的拖尾效果。在游戏中,拖尾效果常常用来做刀光,火球法术等一些运动物体的效果。如图:                                               在Coco

2014-11-26 16:15:06 1416

原创 坐标系

1OpenGL坐标系Cocos2D-x以OpenGL和OpenGL ES为基础,所以自然支持OpenGL坐标系。该坐标系原点在屏幕左下角,x轴向右,y轴向上。

2014-11-13 10:19:28 501

转载 ProgressTo

http://blog.csdn.net/jianpengxuexikaifa/article/details/36640405

2014-11-03 12:04:07 399

转载 cocos2dx ios android 添加 box2d

http://blog.csdn.net/ym19860303/article/details/213903771.  ios 上面添加 box2d a.选择 工程的 TARGETS-->Build Settings-->Apple LLVM5.0-Preprocessing --> Preprocessor Macros           里面添加

2014-10-31 14:48:21 324

转载 touch事件

转自:http://blog.csdn.net/zyxhjy/article/details/812630

2014-10-30 15:16:33 522

转载 cocos2dx像素碰撞(转国外文章)

链接:http://blog.muditjaju.infiniteeurekas.in/?p=1Pixel Perfect Collision Detection (Using Cocos2d-x)This post found its way because I couldnt find the answer to one of the

2014-10-30 14:58:21 720

原创 onEnter,onEnterTransitionDidFinish,onExitTransitionDidStart,onExit

CCNode中,addChild的时候,先di

2014-10-28 14:20:07 617

原创 CCLabelTTF描边+阴影

//创建一个灰色底图   ccColor4B c = {100,100,100,255};    CCLayerColor *layerColr = CCLayerColor::create(c);    layerColr->setContentSize(size);    this->addChild(layerColr);

2014-10-21 15:25:15 987

原创 RunAction测试

这段代码可以kan'chu    CCActionInterval *moveBy = CCMoveBy::create(20, ccp(-size.width/2,-size.height/2));    CCActionInterval *moveBy2 = CCMoveBy::create(2, ccp(size.width/2,size.height/2)); 

2014-10-21 10:56:58 340

转载 CCClippingNode

版权声明:本文由( 小塔 )原创,转载请保留文章出处!本文链接:http://www.zaojiahua.com/ccclipping.html

2014-10-21 09:58:37 366

小学信息技术-_机器人灭火比赛_课件.ppt

小学信息技术-_机器人灭火比赛_课件.ppt

2012-10-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除