News for hackers. Stuff that matters.
Re:StageXL: fast and universal 2D rendering engine for HTML5... by JoeSloth on Monday January 11, 2016 @10:17AM (#10881189)
Seems similar to Pixi js. I like that Pixi uses WebGL though, with a canvas fallback. It also uses a Flash-esque API
Re:StageXL: fast and universal 2D rendering engine for HTML5... by bp74 on Monday January 11, 2016 @11:08AM (#10881216)
StageXL does also use WebGL with a fallback to Canvas. Fortunately, most browsers supports WebGL nowadays.
Re:StageXL: fast and universal 2D rendering engine for HTML5... by jbrantly on Monday January 11, 2016 @02:07PM (#10882431)
Is there a feature comparison with Pixi somewhere? Why would one pick StageXL over Pixi, for example?
Re:StageXL: fast and universal 2D rendering engine for HTML5... by bp74 on Monday January 11, 2016 @02:32PM (#10882674)
Sorry 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.
Re:StageXL: fast and universal 2D rendering engine for HTML5... by jbrantly on Monday January 11, 2016 @03:06PM (#10882998)
Thank you for both of your replies
Re:StageXL: fast and universal 2D rendering engine for HTML5... by bp74 on Monday January 11, 2016 @02:26PM (#10882604)
Unfortunately 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 :)