How I developed and released a mobile game in 45 hours

Developing a game always takes longer than expected. I made an experiment and tried to develop a simple but descent game quickly, while keeping tracks of time spent on each feature. I also wanted short development times to see if I can make a profitable game, even if I were paid for it (I’m not […]

Building for Android with Cocos2d-X (NDK+JDK) in one step

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 […]

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 […]

Optimizing Graphics Performance on iOS and Android

The┬ámain device is used during the development of Don’t Feed the Trolls is an Acer Iconia Tab A500. It’s quite powerful and I never met performance issues with it. Of course, I tested the game on many other iOS and Android devices. I was surprised to discover strong performance issues on a HTC Desire. In […]

Why and how to pack your textures for iOS/Android

Introduction When I developed Don’t Feed the Trolls on X360 (using XNA), I did not optimize the textures files of the game : the game was very simple, the final hardware (X360) is very fast, so it was not necessary. I arranged the sprites so that I could get their coordinates in-game very easily. Every […]

Android Game Development with libGDX

After selling games on PC, Mac and Xbox 360, I want to develop games on mobile plaforms, and I will start with Android. I chose Android instead of iPhone for two reasons: It’s cheaper: my Mac is a PowerPC and you need a Mac Intel for iPhone development. Also Android phones are cheaper than iPhones. […]

Useful C# and Visual Studio tips you might not know

While working on my next game, I tried to keep notes of interesting tips I used. They are related to C# and Visual Studio. Overriding ToString() When debugging or prototyping, you often need to display complex objects on the screen on in the debugger output. A handy way to do this when dealing with complex […]