News for hackers. Stuff that matters.
Re:Show HN: My First Commercial Game Is Now Online by StavrosK on Thursday August 11, 2011 @07:07AM (#2872279)
Wait, so can you now generate JS, Flash and C++ versiond of the game automatically (or, at least, easily?).
Re:Show HN: My First Commercial Game Is Now Online by ido on Thursday August 11, 2011 @07:13AM (#2872298)
Kinda easily...It requires some extra code.
Re:Show HN: My First Commercial Game Is Now Online by aparadja on Thursday August 11, 2011 @08:03AM (#2872429)
Could you go into a bit more details? I'd find it very interesting to hear about a fresh real-world experience with converting a HaXe game to another platform.

Are there many places where the same code should work but, for some reason, doesn't? Or have you knowingly made some parts of the code platform dependent, and simply need to port/independentize them?

Re:Show HN: My First Commercial Game Is Now Online by ido on Thursday August 11, 2011 @08:32AM (#2872512)
For example some of the flash API is still missing from NME (a lib for the c++ target) & the performance (and more importantly bottlenecks) is quite different on different targets.

Not to mention all the browser limitations you have to work around if you use JS...

Re:Show HN: My First Commercial Game Is Now Online by StavrosK on Thursday August 11, 2011 @07:14AM (#2872301)
Still, very nice! How did you like the language?
Re:Show HN: My First Commercial Game Is Now Online by ido on Thursday August 11, 2011 @07:30AM (#2872352)
Pretty good! It's like AS3 but with a bunch of stuff added and some of the rough edges polished.