How many lines of code are there in a typical Two Tribes game? Let's find out!

Lately I’ve seen some developers share code statistics; e.g., Unity, Prison Architect and Ronimo. I thought I would do the same for our games at Two Tribes. Let’s start with something all of our games share: our proprietary in-house cross-platform engine and library. We don’t have a name for our engine, but we call the whole collection TTDev.

Our games usually also use some third party libraries which are not included in this count. The engine runs on Windows, Mac OS X, Linux, Wii U, PS4 and iOS. In the past it also supported the Nintendo DS, DSi and Wii, but we removed those because we’re no longer making games for those platforms. For those of you familiar with those platforms, yes we supported the DS, PC and Wii at the same time. These platforms are quite different. For example, on DS you use fixed point numbers instead of floats and the Wii GPU had its own way to do shading. Still we managed to keep most of our code shared between all platforms.