SDL2 based platformer engine