If you don't want heavy components, you can use minimalcomps, from haxelib, but you have to resolve the dependence in a embeded font that carries the library with it (It's focused in flash components, so this font it's embeded in a SWF library). It's not a difficult task. This is the Github project page: https://github.com/slaskis/minimalcomps
I have tried to make some abstractions in the gm2d.blit library that allow
for target optimised rendering (copyPixels/drawTiles) while keeping the
same API (Viewport/Layer). It would be interesting to see if these
can be extended to JS.
Once most of the hard work is done with the rendering, the flash-api stuff
(events/local coordinates/stardard ui controls) become less performance
critical and quite useful.
I will also think about adding jeash an an nme/nmml output target.
> This is excellent advice :) Rather than trying to port flash and all of
> its quirks to JS, it's way easier to pick a subset of functionality you
> want across all platforms (keeping in mind the lowest common denominator
> is often JS), build high level abstractions for drawing, input etc. that
> you code your app to, and then implement those interfaces in each
> platform you care about.