Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.11 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.11 KB

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