https://github.com/starburst997/swfty
Convert a SWF to an Atlas Spritesheet Tilemap Bitmap Font single zipped file
https://github.com/starburst997/swfty
adobe-animate atlas bitmap-font flash haxe heaps openfl spritesheet swf
Last synced: 4 months ago
JSON representation
Convert a SWF to an Atlas Spritesheet Tilemap Bitmap Font single zipped file
- Host: GitHub
- URL: https://github.com/starburst997/swfty
- Owner: starburst997
- License: mit
- Created: 2018-04-26T15:33:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-04T04:54:22.000Z (almost 6 years ago)
- Last Synced: 2025-06-20T17:50:40.815Z (12 months ago)
- Topics: adobe-animate, atlas, bitmap-font, flash, haxe, heaps, openfl, spritesheet, swf
- Language: Haxe
- Homepage:
- Size: 9.51 MB
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SWFTY

### Try the [HTML5 Demo](https://starburst997.github.io/SWFTY/)
**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](https://github.com/tconkling/flump), AIR-based approach focused on animation
* [Scaleform](https://www.autodesk.com/products/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