One Step to Better Code Recently, I’ve read once again the old but awesome article “Joel Test : 12 steps to better code” (do it now if you haven’t). When developing Don’t Feed the Trolls, I always had a few steps to build a new android version of the game. I made a few scripts… Continue reading Building for Android with Cocos2d-X (NDK+JDK) in one step
Month: October 2012
A simple but useful Finite State Machine (FSM) in C++
Why? When developing games, I often need FSMs. Most of the time, they are simple with only a few states. Some examples of state machines I used in previous or current games: Tutorial: each state represents a step in the tutorial UI : The animated elements are using a FSM to transition from “on-screen” to… Continue reading A simple but useful Finite State Machine (FSM) in C++