How to compile to native/C++ library?



  • Hello! I apologize if this is not the correct place to ask, but I was wondering if it was possible to export or use HaxeFlixel as a native library and access its members as such?

    To provide some clarity into what I wish to accomplish, I want to develop a native NodeJS module that abstracts Haxe classes to JavaScript. This was I could port my existing game's codebase over to a Haxe environment.

    Now, obviously, this could be done easily with the HTML5 export as it goes right to JS; however, I wish to obtain the performance benefits of using a native code engine, otherwise I might as well stick with what I have now.

    Getting back to the original question, all I know now is lime test [platform], which, in the case of lime test windows, just provides the executable. Is there anything I can to to receive it in a .lib/.dll or .a/.so form?



  • I think you will have more luck asking on the openfl forums.


Log in to reply
 

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.