Integrating LiquidFun with Cocos2d-x: Part II

In Part I I described to how integrated LiquidFun with Cocos2d-x. In this part (part II) I’ll describe how to render the particles using a basic water effect. Part I uses just one glDrawArrays(GL_POINTS, 0, total); to draw the particles. And although that works to draw “particles”, it is not enough to draw “water”. DrawingContinue reading “Integrating LiquidFun with Cocos2d-x: Part II”

Integrating LiquidFun with Cocos2d-x: Part I

From LiquidFun’s site: Based on Box2d, LiquidFun features particle-based fluid simulation. Game developers can use it for new game mechanics and add realistic physics to game play. Designers can use the library to create beautiful fluid interactive experiences. Basically LiquidFun is Box2d plus an extension to simulate fluids using a particle system. To test it,Continue reading “Integrating LiquidFun with Cocos2d-x: Part I”

Vistual Studio: First steps

Goals Compile and run cocos2d-x tests on the emulator Set a breakpoint in Visual Studio. Running cpp-test on the Emulator 1. Download cocos2d-x v3.0 2. Unzip it and then go to cocos2d-x/build directory $ cd cocos2d-x/build 3. Open cocos2d-wp8.vc2012.sln with Visual Studio $ start cocos2d-wp8.vc2012.sln 4. Set cpp-tests (Windows Phone Silverlight 8) as the defaultContinue reading “Vistual Studio: First steps”