by programminggeek · 14y ago · 0 comments
If I were writing a game today, I'd do it on mobile first and work backwards to desktop from there, not the other way around. There are plenty of great tools for that - cocos2d, corona, etc..
That being said, in a future where supporting multiple platforms is a must, HTML5 might be great place to start, even for mobile, but it's still very early and immature at the moment. Great for demos and proof of concepts for cheap, I don't know that I'd bet the farm on it yet.
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?
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.
The touted advantage is that you can run games without going through the app store and therefore losing 30% of potential revenue to Apple.