How to create a shake action in Cocos2d-x (with source code)

While working on my next game Don’t Feed the Trolls, I was looking for a “shake effect”. When the player feeds a troll, I want the whole screen to shake to improve visual feedback. A shake effect is very easy to implement, so I quickly hacked in my code to see if it was un… Continue reading How to create a shake action in Cocos2d-x (with source code)

Android Game Development : from Java to C++ (with cocos2d-x)

Introduction In a previous post (here), I was talking about my progress with libgdx, a Java library for Android (and other platforms). Shortly after writing this article, I realized that there is a big disadvantage that I forgot to talk about. It’s so big that it made me stop using libgdx : It is not… Continue reading Android Game Development : from Java to C++ (with cocos2d-x)