Skip to content

ngrebenshikov/openfl-snapsvg

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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