Hacker News new | past | comments | ask | show | jobs | submit | singmajesty's comments login

Flex was really, really slow


OpenFL does support the earlier workflow, but you are exactly correct that refactoring and porting are better done separately than at once!


OpenFL is getting TypeScript support in the next release


OpenFL supports WebAssembly too, but outputting plain JavaScript (and not WASM) simply runs better and is smaller

The company also has a priority on mobile, where the native targets in OpenFL are performing much better than the older Adobe AIR version.


The company chose to move to bitmap-based animation to get better performance on mobile


Facebook famously moved away from HTML5 for mobile applications, the author is talking about a time some years ago when his company began to look for other technology.

I think the important thing here is that "HTML5" as a solution would mean wrapping it in a Phonegap/Cordova application for mobile. Haxe means HTML5 and/or Flash on the web, but also native for mobile.


Yes, actually ;)

We're about a half hour away from NME 3.4


Here is a good example:

http://www.joshuagranick.com/blog/2012/04/12/html5-pirate-pi...

It's a Bejeweled clone that has been published in the Amazon Appstore, Google Play, BlackBerry App World, the webOS App Catalog and also compiles for iOS, Flash, Windows, Mac, Linux and HTML5


Last I compared against Corona, NME was getting 7 times the performance.


The "deploy everywhere" saying may feel a bit tired, but before you hate on haXe before having given it a try, NME is a perfect example of what's possible.

I recently wrote a haXe version of "Pirate Pig", a sample game originally written for Enyo in JavaScript. It took me about a day of work to write, and it went straight to webOS, Android, Windows, Linux, Linux 64-bit, Flash, Mac and the iOS simulator.

It would have gone to an actual iOS device, too, but I was too lazy to pull out my iPod Touch.

If you are interested, please feel free to view the game online, in the webOS App Catalog, Android Market or downloadable. All the source code and assets are available, too:

http://www.joshuagranick.com/blog/2012/02/22/nme-game-exampl...

I am very thankful for haXe, which makes the NME project possible. The great part is that it really works.


Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: