The engine for my 2D building platform game