- 博客(30)
- 资源 (173)
- 收藏
- 关注
转载 UV Texture Coordinates and Texture Mapping - OpenGL / DirectX
UV Texture Coordinates and Texture Mapping - OpenGL / DirectXPosted byCory Grossat9:49 AMBecause I am not in school right now, I have been getting pretty heavy into WebGL graphics trying t
2014-08-28 14:09:33 2300
转载 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
2014-08-28 14:08:38 719
转载 OpenGL ES2.0教程(3):初识MVP
http://cn.cocos2d-x.org/tutorial/show?id=1349OpenGL ES2.0教程(3):初识MVP子龙山人2014-08-19 10:04:28861 次阅读在上一篇文章中,我在介绍vertex shader的时候挖了一个坑:CC_MVPMatrix。它其实是一个uniform,每一个Cocos2d-x预定义的shader都包含有这个uni
2014-08-27 22:21:23 2926
转载 C++11
C++11 (formerly known as C++0x) is a version of the standard of theC++ programming language. It was approved byISO on 12 August 2011, replacing C++03,[1] and superseded by C++14 on 18 August 2
2014-08-24 19:11:48 2088
转载 How to Enable Multi-Touch
How to Enable Multi-TouchHow to Enable Multi-TouchiOSAndroidOther platformsMulti-touch Test CaseThe Multi-touch features have been available on both iOS & Android since the first version o
2014-08-23 22:23:08 794
转载 EventDispatcher Mechanism
EventDispatcher Mechanismversion: since cocos2d-x v3.0 alpha0IntroductionCocos2d-X 3.0 introduces a new mechanism for responding to user events.The basics:Event listeners encapsulate y
2014-08-23 22:21:40 666
转载 cocos2dx 2.0版本在android下的安装配置问题
最近因工作需要,要在XP下在配置android以及cocos2dx。虽说也曾在大学的时候搞过java用过Eclipse,但属android小白的那种,上网找了不少安装教程来看,并严格按照教程步骤一步一步弄,但是人算不如天算,不管怎么弄各种error还是如期而至,最后费了九牛二虎之力一一给解决了,今特记载如下,以便不时之需或他人参考。一、首先要安装android,这个按步骤来就行了,具体步骤
2014-08-20 21:34:18 491
转载 Mac添加环境变量的三种方法
Mac添加环境变量的三种方法 法一:sudo vi /etc/paths来编辑 paths,将环境变量添加到 paths 中。vim 是一个编辑器,另外还有几个,如:Pico,Emacs。Hint:输入环境变量时,不用一个一个地输入,只要拖动文件夹到 Terminal 里就可以了。 法二:1.创建一个文件:sudo touch /etc/paths.d/my
2014-08-20 18:20:07 618
转载 Cocos2D-X Tutorial for iOS and Android: Getting Started
Cocos2D is an amazing and easy to use framework, but since it’s written in Objective-C you can only write games with it for iOS and the Mac.Wouldn’t it be great if you could use the same easy to use
2014-08-19 09:51:51 1525
转载 How to use bindings-generator to generate lua binding automatically
How to use bindings-generator to generate lua binding automaticallySince cocos2d-x 3.0, we use bindings-generator to generate lua bindings for c++ automatically.The bindings-generator is based o
2014-08-16 22:34:27 2135 1
转载 Overview of new gui¶
Overview of new guiIntroductionIt was difficult to design complex UI before GUI system was introduced. Even if you can design specific UI for specific kind of game, such as MMORPG, still you can
2014-08-14 15:17:43 1016
转载 How to Save a Screenshot
How to Save a ScreenshotOn v3.2 alpha0, utils::captureScreen() is added to save a screenshot.The declaration of utils::captureScreen() is 1void captureScreen(const std::functionvoid(bool, con
2014-08-12 21:49:02 747
转载 Multi-resolution support
Multi-resolution supportThe APIs used in this document are available since cocos2d-2.0-x-2.0.4.Multi-resolution supportThe principledesignResolutionSizecontentScaleFactorPoliciesEx
2014-08-12 21:47:13 870
转载 Detailed explanation of Cocos2d-x Multi-resolution adaptation
Detailed explanation of Cocos2d-x Multi-resolution adaptationDetailed explanation of Cocos2d-x Multi-resolution adaptationOverviewEvolution from Retina to design resolutionResource resolution,
2014-08-12 21:45:50 939
转载 Cocos2d v30 renderer pipeline roadmap
Cocos2d v30 renderer pipeline roadmapWhy (the vision)The way currently Cocos2d does rendering is good but it is beginning to feel somehow antiquate and moreover it doesn’t actually leverage mode
2014-08-12 21:39:22 885
转载 Introduction to New Renderer
Introduction to New RendererOverviewThis article is mainly a overview of cocos2d v3.x rendering pipeline from a developer's view. It is not a substitution of the originalroadmap provided by
2014-08-12 21:34:34 437
转载 OpenGL View
OpenGL ViewOverviewThe cocos2d-x engine use GLView and GLViewImpl to creating window with OpenGL/OpenGL ES context and receiving input and events.GLView is an abstract class and GLViewImpl is
2014-08-12 21:28:08 1019
转载 Render To Texture
Render To TextureOverviewTextures are used to be loaded from file or other IO streams. Besides this, we provide a new mechanismRenderTexture to generate a texture runtime. Then you can get the
2014-08-12 21:22:26 808
转载 Sprite Sheet Animation
You can create an animation from a series of image files, like this:123456789101112 Vector animFrames(15); char str[100] = {0}; for(int i = 1; i 15; i++) { sprintf
2014-08-12 21:17:46 1396
转载 How to use CCache to speed up cocos2d-x android compilation
How to use CCache to speed up cocos2d-x android compilationCCache is a compiler cache for C/C++. It speeds up recompilation by caching the result of previous compilations and detecting when the same
2014-08-12 21:11:28 741
转载 How to run cpp-tests on Mac OSX
How to run cpp-tests on Mac OSXEnvironmental RequirementsMac OS X 10.8+ (this article uses 10.9)Cocos2d-x v3.0 (https://github.com/cocos2d/cocos2d-x/)Xcode 4.6.2+ (the version this article use
2014-08-12 21:06:57 610
转载 How to run cpp-tests on iOS
How to run cpp-tests on iOSEnvironment RequirementsMac OS X 10.8+ (this article uses 10.9)Cocos2d-x v3.0 (https://github.com/cocos2d/cocos2d-x/)Xcode 4.6.2+ (the version this article used is 5
2014-08-12 21:06:17 670
转载 How to Build an Android Project with Eclipse
How to Build an Android Project with EclipseEnvironment RequirementsA Supported OS (Ubuntu 12.10+, OS X 10.7+, Windows 7+)Cocos2d-x v3.0 (https://github.com/cocos2d/cocos2d-x/)JDK/SDK 1.6+NDK
2014-08-12 21:04:20 861
转载 How to run cpp-tests on Android
How to run cpp-tests on AndroidEnvironment RequirementsA Supported OS (Ubuntu 12.10+, OS X 10.7+, Windows 7+)Cocos2d-x v3.0 (https://github.com/cocos2d/cocos2d-x/)JDK/SDK 1.6+NDK r9d+Apache An
2014-08-12 21:03:56 993
转载 How to Start a New Cocos2d-x Game
How to Start a New Cocos2d-x GameThis documentation will show you how to use cocos console to create and run a new project. Runtime RequirementsAndroid 2.3+iOS 5.0+OS X 10.7+Windows 7+Ubun
2014-08-12 21:00:35 728
转载 cocos2d-x 精灵遮罩
cocos2d-x 精灵遮罩转自:http://bbs.9ria.com/thread-220210-1-4.html首先得理解一些东西。1.理解颜色混合。精灵有个成员函数:setBlendFunc(),这个函数以一个ccBlendFunc类型的变量为参数。这个ccBlendFunc是个结构体。这个结构体中有两个变量:src 和 dest. 举个例子:代码:ccBlendF
2014-08-10 16:50:51 603
转载 (译)如何使用CCRenderTexture来创建动态纹理
(译)如何使用CCRenderTexture来创建动态纹理 免责申明(必读!):本博客提供的所有教程的翻译原稿均来自于互联网,仅供学习交流之用,切勿进行商业传播。同时,转载时不要移除本申明。如产生任何纠纷,均与本博客所有人、发表该翻译稿之人无任何关系。谢谢合作!原文链接地址:http://www.raywenderlich.com/3857/how-to-create-dynamic-
2014-08-10 16:50:20 584
转载 【COCOS2DX-LUA 脚本开发之四】使用tolua++编译pkg,从而创建自定义类让Lua脚本使用
【COCOS2DX-LUA 脚本开发之四】使用tolua++编译pkg,从而创建自定义类让Lua脚本使用分类: 【Cocos2dx Lua 脚本开发 】 2013-04-08 01:177957人阅读 评论(14)收藏 举报本站文章均为 李华明Himi 原创,转载务必在明显处注明:(作者新浪微博: @李华明Himi ) 转载自【黑米GameDev
2014-08-10 12:58:48 557
转载 【Cocos2dX(2.x)_Lua开发之三】在Lua中使用自定义精灵(Lua脚本与自创建类之间的访问)及Lua基础讲解
主页 >Cocos2dx-Lua 脚本开发 > 【Cocos2dX(2.x)_Lua开发之三】在Lua中使用自定义精灵(Lua脚本与自创建类之间的访问)及Lua基础讲解【Cocos2dX(2.x)_Lua开发之三】在Lua中使用自定义精灵(Lua脚本与自创建类之间的访问)及Lua基础讲解本站文章均为 李华明Himi 原创,转载务必在明显处注明:(作者新浪微博:@李华明H
2014-08-10 12:57:56 562
转载 【cocos2d-x + Lua(1) 绑定Lua并使用tolua++】
为什么要使用Lua进行游戏开发?转载请注明出处http://www.cnblogs.com/zisou/p/cocos2dx-lua1.html上面一个问题我觉得在我们使用Lua之前需要深入思考的,Lua有何优点?缺点又是什么?先找准自己的项目定位在什么时候使用是很必要的;经过自己一番摸索之后有如下结论:优点:1,嵌入式脚本开发可以跳过平台市场进行独立的游戏资源更新;2,在
2014-08-10 12:57:38 1589
学校教材订购系统(代码+文档)
2021-03-24
jira 管理员必看管理员手册最详细最全
2021-03-21
C语言考研试题和历年考试题
2021-03-20
NPOI动态库(dll)打包下载,已验证
2021-03-19
java做的个人财务管理系统
2021-03-18
FlyppyBird 源码
2021-03-07
MSP430F149利用硬件SPI口读写串行Flash M25P64
2021-03-05
指纹图像预处理及特征点提取(MATLAB)
2021-03-03
车牌检测数据集
2021-03-01
基于UDP协议的聊天程序 MFC环境下的
2021-02-26
多用户远程访问Access数据库--通讯录示例(VB+ASP+ACCE)
2021-02-24
boost threadpool(修复内存泄露后的版本)
2021-02-23
语义分析(c)源代码
2021-02-21
使用JSP、JavaBean和Servlet完成一个简单的留言板设计(包含完整源代码+数据库+程序截图+中文显示数据)
2021-02-14
jpcap各种文档
2021-02-13
HP LaserJet Professional M1130-M1210 MFP Series
2021-02-10
lenna.bmp 图像处理 经典图片 bmp lenna图 彩色 256*256 192kb
2021-02-09
Multisim仿真实例(200个电路仿真文件)
2021-02-02
u-boot for tiny210
2021-01-30
如何使用FULLBNT工具箱(中文)
2021-01-21
操作系统课程设计多道批处理系统两级调度的模拟
2021-01-19
sqlite3数据库 ODBC连接驱动
2021-01-18
VB连接MySQL实例
2021-01-16
Microsoft Date and Time Picker Control,version 6.0 控件
2021-01-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人