4 ms·
StageXL started as an easy migration path for Adobe Flash developers and their products to HTML5. Therefore StageXL provides the same display list API you may h
by mkesper 11y ago
StageXL started as an easy migration path for Adobe Flash developers and their products to HTML5. Therefore StageXL provides the same display list API you may have used in Flash for many years. Furthermore the Dart programming language is easy to use for everyone who is familiar with ActionScript.
- talmand 11y agoCreateJS is the same concept but with Javascript.
- bp74 11y agoYes, CreateJS was one of the first libraries providing a Flash display list in HTML5. But CreateJS uses the Canvas2D api and a very limited WebGL implementation. StageXL provides much more features with full WebGL support.
- talmand 11y agoYou are indeed correct, but I fail to see what WebGL support has to do with pointing out another library that uses the Flash display list concept. I wasn't saying one was better than the other.
- JoeSloth 11y agoSeems similar to Pixi js. I like that Pixi uses WebGL though, with a canvas fallback. It also uses a Flash-esque API
- bp74 11y agoStageXL does also use WebGL with a fallback to Canvas. Fortunately, most browsers supports WebGL nowadays.
- jbrantly 11y agoIs there a feature comparison with Pixi somewhere? Why would one pick StageXL over Pixi, for example?
- bp74 11y agoUnfortunately no, but i'm not aware of any major feature that is not supported in comparision to Pixi.js. If you find something missing in StageXL i'm happy to receive a feature request :)
- bp74 11y agoSorry i missed your second question. I would choose StageXL over PixiJS because auf the Dart language. I also use TypeScript for other project but i prefer Dart. The Dart-to-JavaScript compiler does an awesome job. It not only transpiles Dart code to JavaScript (like the TypeScript compiler does for TypeScript) but it's a real compiler with great optimization and minification. The optimizations include inlining, dead code removal, hoisting, etc. The resulting JavaScript code is not pretty to look at, but pretty damned fast at runtime.
- jbrantly 11y agoThank you for both of your replies