Cocos2d-x Update on Physics System

ch-ch-changes

If you haven’t been using the latest versions of Cocos2d-x you may have missed out on a few really cool changes. For instance, Cocos Creator, the IDE for the JavaScript Binding/HTML-5 version of the Engine is pretty decent for such a recent release. And since XCode 7.3 sucks lemons, and Android Studio is clumsy at best, these new IDEs are becoming vital for development.

Unity: Unzipping a File in Android and iOS

quick and easy

The solution for this is not new, it’s based on one of the most common C# libraries for compression: SharpZipLib. But recently another programmer was telling me he had to drop this in his project and instead buy a plugin from the Asset Store all because he could not make the library to work with Android.

As he was describing the errors he was seeing I remembered going through something similar a year or so back. So I decided to write this post.

Setting Up Cocos Code IDE with Latest Cocos2d-x

and cocos studio

The Cocos2d-x people (aka Chukong Technologies) have mentioned that it is their intention to bring the old Cocos Code environment to Cocos Studio which is why they stopped support for the IDE. It is unclear when the merge will happen. Meanwhile it’s still possible to use it, following a few steps.

A Simple PNG Optimiser Script

for games and stuff...

This is a simple python script I use to batch process pngs using the command line version of Pngquant. I realize that nowadays there are a ton of utilities and guis doing the exact same thing, but I like it as a command line tool in case I need to batch process thousands of images –– guis tend to freeze.

A Path Game Like Flight Control

in unity

Time to add the plane and make it follow the path the player draws. For this, I added one method to the Path class and added a PathSprite class which takes care of interpolating the path and adjusting to any changed done to the path.