- 博客(18)
- 资源 (16)
- 收藏
- 关注
翻译 如何修正MWC飞行器的飞行
如何修正MWC飞行器的飞行 适用于主控版本:1.7 and more 1.在acro模式(即headholding模式)下修正每次电源启动时,陀螺仪传感器都会被重新校准,但你也可以手动校验陀螺仪:油门最低+航向最左+俯仰后倾(Full throttle down + full yaw left +full pitch backward) 在acro模式下起飞,然
2013-01-11 13:48:41 1288
转载 XXX-Info.plist中某些属性本地化
工程名:APNSDemo.info.plist名字就是APNSDemo-Info.plist.想要给APNSDemo-Info.plist中一些属性做本地化.在xcode3.X版本中,需要把APNSDemo-Info.plist改名为Info.plist.但是在xcode4中不用修改.因为xcode4中build setting已经给你设置了相对地址(如图1),如果你修改了
2013-01-07 18:46:14 1012
转载 Box2d Tutorial
Box2d TutorialIn the last chapter we covered creating a TMX Tiled map and how to create rectangular Box2d fixtures. In this chapter we will bring the map to life.First we'll add dynamic Bo
2013-01-04 10:46:21 807
转载 Best Practice of cross-platform games
Best Practice of cross-platform games__super keyword¶this keyworld is offered only by Microsoft VC. So you had to call the very name of parent class, instead of __super.folder separator¶"\
2013-01-03 11:32:14 587
转载 How to use pthread
How to use pthreadNow, you can use pthread in cocos2d-x, but there are some limitations.1. Don't call functions that invoke retain(), release() or autorelease(), because they are not thread-safe.
2013-01-03 11:06:40 553
转载 Cocos2D-X学习笔记(三)
CCDirector的作用:1、加载、切换场景2、暂停、继续游戏3、全局设置4、访问Views5、将屏幕坐标系转换为OpenGL中的坐标系cocos2d-x中的界面元素是这样组织的:(1)CCScene对象作为一个独立的游戏场景,它是看不见的元素。(2)CCScene中可以包含若干个CCLayer对象,CCLayer扮演的角色可以理解为PS的图层,CCLay
2013-01-02 22:05:25 857
转载 About device orientation
About device orientationThis article describes how to set device orientation on iOS and android. As you know, there are two ways to set device orientation:The OpenGL / cocos2d-x wayFaster, b
2013-01-02 21:46:48 1294
转载 Chapter 7 - Some Icing on the Cake
http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Chapter_7_-_Some_Icing_on_the_Cake Chapter 7 - Some Icing on the CakeThe simple game is completed basically, but we could add some adornments to
2013-01-02 13:19:41 639
转载 第五章——如何检测碰撞
我们的英雄现在可以发射子弹了,但仅仅只是装饰而已,如何才能杀掉怪物呢?http://cn.cocos2d-x.org/resource/show?nid=68我们的英雄现在可以发射子弹了,但仅仅只是装饰而已,如何才能杀掉怪物呢?在这一章,我们将介绍碰撞检测来实现这一效果。 首先,跟踪怪物和子弹是必需的。 在游戏中,我们为这两种精灵加以不同的tag来区分它们。
2013-01-02 12:14:25 510
转载 第四章——如何发射子弹
http://cn.cocos2d-x.org/resource/show?nid=66 现在,我们想让英雄能发射子弹来消灭敌人,添加以下的代码,来设置图层支持触摸。1// cpp with cocos2d-x2this->setIsTouchEnabled(true);1// objc with cocos2d-iphone2self.isTouchEnabled =
2013-01-02 11:43:57 751
转载 第六章——如何播放音乐和音效
http://cn.cocos2d-x.org/resource/show?nid=72\ 在这一章里,我们将为游戏加入背景音乐,并在英雄发射子弹时播放音效。由于这里需要添加的代码很少,所以我们在这里多谈点音效引擎。Cocos2d-x已封装了SimpleAudioEngine用来跨平台。在我们的游戏中,我可以仅用一行代码,就能播放背景音乐和音效。这是非常方便的。当然,所支持的音频格
2013-01-02 11:29:20 674
转载 TMX Tilemaps & Box2D Fixtures
TMX Tilemaps & Box2D FixturesThere are many ways to make levels for a platformer. In this chapter we'll discuss how to create levels using tilemaps, then use Box2D to bring them to life.A tilema
2013-01-01 19:39:45 1215
转载 Animation & Spritesheets
Animation & SpritesheetsA sprite is a single graphic image. It can be moved around the screen, stretched, rotated, skewed, faded and tinted.A spritesheet is a collection of sprites int
2013-01-01 15:27:01 1552
转载 C++ vs Objective C
Are you a game developer transitioning from Cocos2d iPhone to Cocos2d-X? From Objective C to C++?C++ used to be my language. It was all I wrote computer games in for over 10 years. There's a certain
2013-01-01 13:24:09 1229
转载 Objective C与C++的可读性比较
ReadabilityHere's another fundamental difference. Objective C is inherently more readable than C++ because method parameters are built into the name of the method. Consider:// Objective C[layer a
2013-01-01 13:13:06 677
转载 Cocos2d-X Basics
Now that you’ve had a C++ refresher, it’s time to get a grasp on the basics of Cocos2d-X.In this chapter, we will be learning how to create a scene, load a sprite and drag it around via touch contro
2013-01-01 02:51:48 789
转载 【C++11】nullptr关键字
从1972年C语言刚刚诞生以来,常数0就扮演着整数(int)0和空指针( null pointer )两种角色。为了避免理解上的二义性,C语言通常使用NULL宏来表示空指针,NULL宏通常被定义为(void *)0或0, 而C++仅仅采用0来表示空指针,这样存在一个问题:比如对于重载函数 fun(char *) 和 fun(int) 的调用来说,若直接用NULL作为参数调用fun(NULL),我们
2013-01-01 02:01:24 533
转载 How C++11 Helps You Boost Your Developer Productivity
Programming languages come into vogue and then fade away. Meanwhile, C++ keeps going strong. Siddhartha Rao, author ofSams Teach Yourself C++ in One Hour a Day, 7th Edition, is convinced that the la
2013-01-01 01:51:37 578
TR069客户端 Android版本 源码 并含开发过程中收集的TR069协议开发资料集合
2021-08-17
2503 2593,MTK META工具最新版本
2018-11-13
OpenGL ES 2.0 Programming Guide[pdf和源代码]
2011-11-19
iPhone OpenGL ES 2D游戏范例-《Sir Lamorak’s Quest》
2011-09-24
iPhone OpenGL ES 2D游戏编程教材
2011-09-24
Learn Objective-C on the Mac
2011-08-13
learn iphone and ipad cocos2d game development
2011-08-06
Core Animation:Simplified Animation Techniques for Mac and iPhone Development
2011-08-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人