Skip to content

ngrebenshikov/openfl-snapsvg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Openfl-snapsvg

It's the very beginning of a HTML5 backend for OpenFL based on Snap.SVG

Demos (Actuate, BunnyMark, Aswing UI, Haxe UI, Stablex UI)

Getting Started

For the "openfl-snapsvg" library, you can use a development build like this:

haxelib git openfl-snapsvg https://github.com/ngrebenshikov/openfl-snapsvg

Navigate to the application.xml of your project and add the following after the inclusion of OpenFL and all inclusions that depend on OpenFL:

<haxelib name="openfl-snapsvg" />

Parameters

openfl_snapsvg_without_massive_broadcasting - it adds all listerners of ENTER_FRAME and RENDER to the stage and does not broadcast those events to all display objects.

<haxedef name="openfl_snapsvg_without_massive_broadcasting"/>

openfl_snapsvg_render_only_changed - it renders only changed display objects and all those parents.

<haxedef name="openfl_snapsvg_render_only_changed"/>

Dependencies

  • openfl 2.1.7
  • lime 2.0.1