The plugin for pixi.js is derivative of Mozilla Shumway, licensed under the Apache 2.0 License.
Goals:
- Help developers migrate their old ActionScript projects to PixiJS and TypeScript
- Integration with tools that export SWF format: vector graphics and UI for PixiJS applications
Both the original SWF player and Shumway project were written by genius, hard-working people. We really appreciate your work and we believe that the SWF format will have bright future in open-source.
Work is in progress. There are heavy changes in architecture.
- AVM is removed. Old AS2-based animations are not supported at all.
- Classes structure and reflection is under heavy refactoring.
- IFrames were removed.
- Vector graphics do not have transparent seams anymore.
- Filters/cacheAsBitmap are truly cached, creating a significant performance boost.
Milestones:
- Move renderer to PixiJS, and use both
2d
andwebgl
contexts. - Make adapters between SWF display tree and PixiJS tree.
- Add online fiddle collection.
- Add tests.
npm install
npm run build
- Checkout gh-pages branch in separate folder
- Make symlinks or just copy files in
dist
folder. - Start a web-server, open the browser at
localhost:8080
npm install -g http-server
http-server -c-1
While we're in development, please be prepared for serious changes in the project. We recommend you discuss heavy modifications with authors prior to coding.
Please use tabs, not spaces.
We have a channel in PixiJS slack, PM @Ivan to get an invite.
- Everyone who worked on SWF before us.
- PixiJS core team members
- CrazyPanda, a game development company