Le 10/10/2014 10:18, davy zhang a écrit :
> So, what's the cross-platform plan. OpenFL did some solid working on
> lime tool chain, will heaps leverage the same tool chain or start a new one.
>
> Or, its still to early to say anything about that?
>
> Thanks for fastest reply, like you always did :P
Heaps is entirely built on top of a very few platform-specific classes:
- h3d.impl.Driver :handle the 3D context
(Stage3DDriver for Flash, GLDriver for WebGL)
- hxd.Stage : handle events, mouse position, viewport size, etc
- hxd.System : additional properties, including main loop
- hxd.BitmapData : native bitmap format
...and a few more but not much
Every other part of the library is built on top of these in pure Haxe.
Currently heaps run in Flash/Stage3D and HTML5/WebGL. I'm planning to
have it run on HxCPP/OpenGL "soon", haven't yet decided what to use for
OGL display (multiple candidates including OpenFL/NME/Snow)
Best,
Nicolas