Port of Flixel to Libgdx + lots of changes