Skip to content

SVG renderer for HaxeFlixel (but specifically FNF: Codename Engine)

License

Notifications You must be signed in to change notification settings

KadePleaseHelpMe/cne-flxsvg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flxsvg

OpenFL SVG Render support for HaxeFlixel.

Installation

Via haxelib:

haxelib install flxsvg

Via git for the latest updates:

haxelib git flxsvg https://github.com/Vortex2Oblivion/flxsvg

Usage

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);
	}
}

Licensing

flxsvg is made available under the MIT License. Check LICENSE for more information.

About

SVG renderer for HaxeFlixel (but specifically FNF: Codename Engine)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haxe 100.0%