Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bp74
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
bp74
10y ago
The FlexBook demo is awesome!
2.
▲
by
bp74
10y ago
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.
3.
▲
by
bp74
10y ago
wow that is strange, thanks for telling me. The file should load without a problem!
4.
▲
by
bp74
10y ago
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.
5.
▲
by
bp74
10y ago
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 run
6.
▲
by
bp74
10y ago
Awesome, thanks for the feedback!
7.
▲
by
bp74
10y ago
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).
8.
▲
by
bp74
11y ago
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 Da
9.
▲
by
bp74
11y ago
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 :)
10.
▲
by
bp74
11y ago
StageXL does also use WebGL with a fallback to Canvas. Fortunately, most browsers supports WebGL nowadays.
11.
▲
by
bp74
11y ago
Yes, 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.
12.
▲
by
bp74
11y ago
You can try more examples here: http://www.stagexl.org/samples/ And you can look at some source code examples here: https://github.com/bp74/StageXL_Samples And StageXL also supports runtimes for S
13.
▲
by
bp74
11y ago
There is also an updated version of this benchmark: http://www.stagexl.org/example/benchmark/bunny_mark/
14.
▲
by
bp74
14y ago
hahaha, i totally agree - if it is 50x larger i would use a different tool too :) But as i said, if your source is 100KB it's not 50x larger, maybe it's 20% larger than hand written JS. Currently the footprint of the js-code is around 150K
15.
▲
by
bp74
14y ago
You are right that small programs compile to pretty big JS-files, but noone should really care. I can do my "hello world" apps in javascript without a problem, the point of Dart is to write big apps! For those apps the footprint of the comp
16.
▲
by
bp74
14y ago
Well, you should see it from another point of view. You write and debug(!) your application in Dart, later you compile it to JavaScript. The dart2js team tries very hard to generate code that runs just like the Dart code does in the VM. Loo
17.
▲
by
bp74
14y ago
Thanks for sharing the link! I'm the author of the library and the demos. It's great to see some positive feedback. You can also check out some samples (i like the mask sample most): Samples: http://www.dartflash.com Source: https://gith