Game API for my platformer