upgraded HaxeFlixel