12 2012 档案
摘要:One possible solution would be using tool named dex2jar. With this tool, you could extract the classes.dex file from the .APK file, and convert classes.dex into a bunch of java byte code files. Then f...
阅读全文
摘要:Currently, some game development tool provide you some ways that could allow developer to tune the game objects parameters when the game is running. For example, Unity3D provide the user to tuning the...
阅读全文
摘要:All most every game could save the current progress into hard-disc. This is a vey important feature, so that you could show the game achievement to your friends, re-play some level again. And some gam...
阅读全文
摘要:This samples shows us several solutions about collision detection and collision detected handling without using some advance physics libraries. Character Movement: every time you move the character...
阅读全文
摘要:Particles are some kind of visual effect, such as explosion, gun shot spark, or fountain, rain and so on. Usually, they are transparent meshes or planes. From my experience, you could not play too ma...
阅读全文
摘要:MDL Amati on is the very famous skeleton animation. All joints matrix will be saved for each frame. Each joint will give some impact to some vertex, different vertex will give different weight. And ea...
阅读全文
摘要:MD2 Animation is a kind of vertex animation that will save all vertex position for each frame. Yes, this technology is very memory consuming. But it also have some advantage too. You could take it as ...
阅读全文
摘要:This sample shows us how to read, parse 3DS file, and display them on the screen with OpenGL. The key point here is read the model vertex position, texture coordinates, vertex color and feed them into...
阅读全文
摘要:Billboard is a special kind of plane that always face to the player camera. Billboard tress are just some planes that textures with some tree shapes. This method could simplify the tree model a lots, ...
阅读全文
摘要:This sample shows us how to draw some text on the screen with OpenGL. If you just want to display some characters or digital numbers, you could go with the OpenGL built in display list or even with a ...
阅读全文
摘要:For the outdoor level, the sky and terrain are always necessary. For the sky, a sky doom or sky box that with a huge size in a fixed position or move with the player camera, both of them could work w...
阅读全文
摘要:After the level ready, the artist always to walk around in the scene. They will check the lighting, texture, the relative size among different items, animation, VFX and so on to make sure that all tho...
阅读全文
摘要:A interactive game level is not a static environment, we need to add something to make the whole staff alive. We could blew the grass, make them swap to left or right. Some animals work around, monst...
阅读全文
摘要:This sample shows us how to draw some primitives and some simple geometries with OpenGL. Building the geometry from the source code is not a good idea, the interactive video games development always r...
阅读全文
摘要:This sample shows us how to build a OpenGL framework for windows, ubuntu and android with C++. Before you could use the source code here, you need to make sure that you already have installed Visual S...
阅读全文
摘要:There is no glu libraries for android ndk, so I need re-implement one for it. After some time research, I grab some ideas and re-implement glPerspective and gluLookAt function. Both of them works pret...
阅读全文
摘要:Previously, for those assets like model, textures I will use ‘adb push’ command to upload them into a separate folder /data, and load them in native code. It is not good way, because I need to keep th...
阅读全文
摘要:The Advantage of Compress texture Note, the texture compress method here means some formats that also be supported by our display card. So compress texture will take less storage, less band...
阅读全文
摘要:Here are several tools that I used usually, and they are tools that could improve your work efficient greatly. TotalCommand, a convenient tool to help explore, search folders and files. Could open m...
阅读全文
摘要:1. fatal error: <GLES/gl.h>: No such file or directory. File “GLES/gl.h”located under the android ndk platform directory, but you will notice that there are several versions exists. What you need to ...
阅读全文