Skip to content

Convert a SWF to an Atlas Spritesheet Tilemap Bitmap Font single zipped file

License

Notifications You must be signed in to change notification settings

starburst997/SWFTY

Repository files navigation

SWFTY

SWFTY

Try the HTML5 Demo

WIP Not to be used in production yet, PRs, issues, etc. are very much welcome

Purpose

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).

TODO

Create a README with online (HTML5) example

Samples

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.

Similar Projects

  • 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"

Copyright

Exporter powered by OpenFL

MIT license and copyright 2018 - 2019 JD, blablabla

About

Convert a SWF to an Atlas Spritesheet Tilemap Bitmap Font single zipped file

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages