Search code examples
haxe

Agnostic Development


I'm getting into Haxe. I do really love the agnostic core language, but as soon as i run into a "complex" piece of software I need to use the designed language lib (flash.Lib, or js.Lib, etc).

Plus I always need lots of external libraries (tweening, image processing, etc, etc) that are all language specific.

Any hints on how I should approach the problem? Is there a "safe" agnostic libraries list?

How would you develop an application that should run on the Flash Player, but also on a JavaScript VM?


Solution

  • What you mostly need is NME.

    HaxeNME is the best way to do some cross-platform graphic application.

    You can also take a look at Jeash, thus it is included on NME.

    You can also use conditionnal compilation

    Also, a lot of Haxelib Libraries are tagged with "Cross", which means that they should be cross platforms.

    Regards,