OpenFL SVG Render support for HaxeFlixel.
Via haxelib:
haxelib install flxsvg
Via git for the latest updates:
haxelib git flxsvg https://github.com/Vortex2Oblivion/flxsvg
package;
import flixel.FlxState;
import openfl.utils.Assets;
import flxsvg.FlxSvgSprite;
class PlayState extends FlxState
{
var svg:FlxSvgSprite;
override public function create()
{
super.create();
svg = new FlxSvgSprite(Assets.getText("assets/images/HaxeFlixel.svg"));
add(svg);
}
}
flxsvg is made available under the MIT License. Check LICENSE for more information.