News for hackers. Stuff that matters.
Re:Show HN: My First Commercial Game Is Now Online by ido on Thursday August 11, 2011 @06:39AM (#2872229)
HaXe mostly.
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.
Re:Show HN: My First Commercial Game Is Now Online by superted on Thursday August 11, 2011 @07:13AM (#2872297)
HaXe seems to be a fine idea indeed. What is your experience working with it in practice?
Re:Show HN: My First Commercial Game Is Now Online by ido on Thursday August 11, 2011 @07:15AM (#2872307)
Really, really good.

I've made the prototype in js and it was a ton easier and worked better with haxe.