上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: static functionGetAxis(axisName: string) : floatDescription描述Returns the value of the virtual axis identified by axisName.根据坐标轴名称返回虚拟坐标系中的值。The value ... 阅读全文
posted @ 2014-04-21 14:27 Vincent.Dr 阅读(4715) 评论(0) 推荐(0)
摘要: functionRotate(eulerAngles:Vector3,relativeTo:Space=Space.Self) : voidDescription描述Applies a rotation of eulerAngles.z degrees around the z axis, eule... 阅读全文
posted @ 2014-04-21 14:23 Vincent.Dr 阅读(832) 评论(0) 推荐(0)
摘要: functionTranslate(translation:Vector3,relativeTo:Space=Space.Self) : voidDescription描述Moves the transform in the direction and distance of translation... 阅读全文
posted @ 2014-04-21 13:59 Vincent.Dr 阅读(6259) 评论(0) 推荐(0)
摘要: 来自:http://blog.sina.com.cn/s/blog_53e2bb800100nfti.html一、游戏开发的定义。通俗的来讲,游戏开发与传统的产品工厂没有什么区别,游戏就是公司的产品,唯一不同的是游戏需要持续不断的维护与完善,而传统产品开生产完了就可以出售。另外游戏节省了物流与仓储。... 阅读全文
posted @ 2014-04-20 09:58 Vincent.Dr 阅读(1092) 评论(0) 推荐(0)
摘要: 来自:http://blog.163.com/shininglore@126/blog/static/961841802013412101454833/Unity3D的基本操作很容易就能掌握了,接下来就是游戏系统的核心部分:脚本。什么是Script(脚本)?简而言之,就是使用代码来执行一系列动作命令... 阅读全文
posted @ 2014-04-19 10:52 Vincent.Dr 阅读(1102) 评论(0) 推荐(0)
摘要: 先去系统目录中找头文件,如果没有在到当前目录下找。所以像标准的头文件 stdio.h、stdlib.h等用这个方法。而""首先在当前目录下寻找,如果找不到,再到系统目录中寻找。 这个用于include自定义的头文件,让系统优先使用当前目录中定义的。 阅读全文
posted @ 2014-04-15 14:40 Vincent.Dr 阅读(174) 评论(0) 推荐(0)
摘要: cocos2dx采用的是引用计数的方式来管理对象的持有和释放。所谓引用计数就是说,每个对象都会有一个属性用来记录当前被几个地方引用了。在释放内存的时候会根据这个引用计数来确定是否要用delete操作符来释放这个对象占用的内存。具体见CCObeject的默认构造函数,retain和release方法。... 阅读全文
posted @ 2014-04-15 14:24 Vincent.Dr 阅读(328) 评论(0) 推荐(0)
摘要: 1、乘法运算符2、定义指针int *p = 0; 还是 int* p = 0;?后一种比较容易这样理解:定义了一个变量p,它是指针型的(更详细一点,是指向int的指针型),相比而言,前面一种定义似乎是定义了*P这个奇怪的东西。但是后面一种写法会带来一个容易产生的误解:int* p1, p2;这儿给人... 阅读全文
posted @ 2014-04-15 10:27 Vincent.Dr 阅读(267) 评论(0) 推荐(0)
摘要: When I added the file in VS I forgot to setBuild Action = Nonefrom the file properties. 阅读全文
posted @ 2014-04-10 15:24 Vincent.Dr 阅读(524) 评论(0) 推荐(0)
摘要: P3P Made SimpleBy default, IE willreject cookies comingfrom 3rd-party contexts. A 3rd-party context is one where the domain on the content is different than the domain of the page that pulls in that content. Possible third-party contexts include pretty much any element that accepts a URL: , , , , , 阅读全文
posted @ 2014-04-10 12:05 Vincent.Dr 阅读(325) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页