News for hackers. Stuff that matters.
Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by thebosz on Sunday December 04, 2016 @02:53PM (#13101458)
Congrats to the team! I've been using this library for around 6 months and it's been a joy to use.

I came from using GameMaker Studio, so porting my game wasn't straightforward, but that's the fault of GameMaker and not StageXL.

Part of the reason I chose StageXL was because of Dart. I've never been a more productive, happier programmer than when I'm using Dart.

I'm using Cordova to wrap my game and distribute on the app stores and it's been a breeze to write a game that works well on both Android and iPhone.

I'm super excited to start using v1!

Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by kasperl on Monday December 05, 2016 @10:40AM (#13106063)
There's a short interview with the author of StageXL, Bernhard Pichler, here: http://news.dartlang.org/2016/12/stagexl-10-chat-with-bernha....
Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by blockforest on Tuesday December 06, 2016 @10:09AM (#13115102)
Chiming in to shamelessly plug a demo app built around StageXL: http://rockdot.sounddesignz.com/template/

Feats: Responsive Layout, Canvas2D fallback for slow mobile devices, Material Design Components, Google+ and Facebook integration, Physics engine (experimental port of Box2d), Wrapper for BabylonJS, StageXL Runtime Examples: BitmapFont, DragonBones, GAF, Spine, Particle, Flump

Bonus, port of FlexBook: http://rockdot.sounddesignz.com/stagexl-commons/experimental... (no touch support, yet)

It's at v0.6, so be kind.

Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by bp74 on Thursday December 08, 2016 @11:57AM (#13131751)
The FlexBook demo is awesome!
Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by gavanwoolery on Sunday December 04, 2016 @02:06PM (#13101245)
I don't have any basis for equivalent comparison, but it feels fast. Hitting around ~20000 sprites in their bunnymark test before it drops below 60 FPS. Also, for whatever bad rap it got, I still miss Flash. :)
Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by bp74 on Sunday December 04, 2016 @02:13PM (#13101269)
Indeed it is fast :) And yes, many AS3 developers are missing the capabilities of Flash. Therefore we built StageXL on top of Dart to have a similar developer experience.
Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by patresi on Sunday December 04, 2016 @02:20PM (#13101295)
uBlock Origin on Chrome is blocking loading this file http://www.stagexl.org/assets/js/dart.js, it says that's included in the EasyPrivacy filter
Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by bp74 on Sunday December 04, 2016 @02:23PM (#13101306)
wow that is strange, thanks for telling me. The file should load without a problem!
Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by marknadal on Sunday December 04, 2016 @01:55PM (#13101203)
Does DragonBones render out to StageXL for HTML5 games? My team is trying to create explainer-animation-games ( our first one is up here: http://gun.js.org/explainers/basketball/basketball.html ) and I have been looking at your guys work for a while wondering how you get such gorgeous fluid animations. Any tips on where to start?
Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by bp74 on Sunday December 04, 2016 @02:02PM (#13101232)
Yes absolutely! We started with a port of the AS3 runtime for DragonBones but were not happy with the code quality and the performance. Therefore we started the StageXL runtime for DrageonBones from scratch. The downside is that the new runtime does not support one or two of the features of the official runtimes. But animations like the one you showed in your example are completely covered. If you need something that is missing, just talk to us here: https://github.com/bp74/StageXL_DragonBones

Edit: Animation run at 60fps and look smooth because those animations are using bones and key frames. The runtime interpolates the motion of those bones between the keyframes.

Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by markdog12 on Sunday December 04, 2016 @01:35PM (#13101092)
Happy StageXL user here. Great library and API. Chose it because I was porting an AS3 codebase and it was the perfect solution.
Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by bp74 on Sunday December 04, 2016 @01:44PM (#13101136)
Awesome, thanks for the feedback!
Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by kyriakos on Sunday December 04, 2016 @12:13PM (#13100662)
Looks interesting. I looked at dart in the past briefly. Is still under active development?
Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by kasperl on Sunday December 04, 2016 @12:33PM (#13100759)
Very active development; see https://www.youtube.com/playlist?list=PLOU2XLYxmsILKY-A1kq4e... for a few recent presentations about the progress.

(disclaimer: I work on the Dart team at Google)

Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by thebosz on Sunday December 04, 2016 @02:57PM (#13101478)
To add to Kasper's reply, Dart is more active than it ever has before.

Part of that is just because of how versatile it is; it's not just a web programming language. It has multiple uses from mobile to web, back to front end. In fact, there's even a new OS where it's a first class citizen.

Watch some of the videos from the recent Dart summit and be amazed!

Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by bp74 on Sunday December 04, 2016 @12:15PM (#13100672)
Yes it is. Google uses it internally with Angular Dart (a version of Angular made especially for Dart). And the Flutter project looks very interesting to built native mobile apps with Dart (instead of Java for example).
Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by _nalply on Monday December 05, 2016 @05:08AM (#13104456)
I skimmed the article and tried to find out whether StageXL needs a plugin but it was not conclusive for me. Does StageXL need a plugin?
Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by markdog12 on Monday December 05, 2016 @07:08AM (#13104875)
No, it doesn't. But there are some that add functionality. They're listed in the article.
Re:StageXL 1.0: Fast 2D rendering engine for HTML5 inspired ... by bp74 on Monday December 05, 2016 @01:08PM (#13107640)
To be clear, those added functionality is not a plugin in the sense of that you need to install it. They are just libraries that are compiled to JavaScript. In the end you just need a browser that supports HTML5.