Try the HTML5 Demo
WIP Not to be used in production yet, PRs, issues, etc. are very much welcome
Create a cross-engine high-performance SWF rendering layer (no code, graphics / texts only) using Spritesheet (1 draw call per SWF).
Can facilitate migration from OpenFL to Heaps or to get a performance boost on OpenFL.
Currently works on Heaps and OpenFL but other engine are in the work (Kha, PixiJS and Unity).
Create a README with online (HTML5) example
Samples projects include 3 different version of OpenFL (8.4.0, 8.7.0 and 5.0.0) for benchmarks testing, you can also try different renderers: pure SWFTY (1 draw call), SWFTY display list (individual bitmaps) and OpenFL's SWF Lite.
It currently puzzles me as to why OpenFL's SWF Lite is sooooo slow compared to SWFTY display list, the two basically use individual bitmaps, so why is there such a huge discrepency? TextFields? GlowFilters? MovieClip class? mouseEnabled?
OpenFL 8.7.0 is also incredibly slow in html5 compared to 8.4.0, huge performance regression issue. Will send test to Granick to figure this out.
- Flump, AIR-based approach focused on animation
- Scaleform, My inspiration at first as I wanted to have a fast way of rendering SWF authored in Animate CC on top of existing engine but without the "flash part"
Exporter powered by OpenFL
MIT license and copyright 2018 - 2019 JD, blablabla