Hacker News new | past | comments | ask | show | jobs | submit login

I don't follow game development much -- I thought one of the reasons HTML5 was so widely touted was because it streamlined mobile game development -- instead of writing an Android and an iOS version of a game, you could write it in HTML5? I'm surely I'm vastly oversimplifying the issue -- what am I missing?



Screen size, sound and performance issues are the main problem. I recently wrote a Making Of for one of my games that offers a few more details:

http://www.phoboslab.org/log/2012/06/x-type-making-of


A great read, thanks!

Regarding controls: with the dual analog sticks, did you then have arrow keys/mouse bound to the sticks for non-mobile browsers, and then touch for mobile browsers? How was that handled?


I just switched between these two control schemes, based on whether the browser supported the touch events.

There's a certain degree to which you could do this "automagically" - i.e. generate on-screen buttons based on the keyboard keys that are used in the game. But since controls are so important, I'd rather decide for myself on case by case basis how they translate to mobile.


Using HTML5 is certainly no easier than one of the many other cross-platform frameworks out there.

The touted advantage is that you can run games without going through the app store and therefore losing 30% of potential revenue to Apple.




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

Search: