Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm really interested in starting to study some language with the idea of develop games for ipad and iphone.

My main concern is that as soon as is possible to develop games with javascrit and html5 with canvas seems so powerfull, shouldn't be better to invest time in studying javascript+HTML5+canvas instead of Objective-c and the necessary libraries?

Thank you

share|improve this question

closed as off topic by michael.bartnett, Tetrad Feb 27 '12 at 16:43

Questions on Game Development Stack Exchange are expected to relate to game development within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

This is Gorilla vs Shark. – michael.bartnett Feb 27 '12 at 11:06

HTML5 is becoming so powerful that it is very much possible to develop games for mobile platforms using them. If you are planning for simple 2D games, then I would say you go for HTML5.

But if you want to do some big complex games supporting device orientation and other such features, then I suggest you learn Objective-C. Because as of now, there in no direct procedure to make the game stick to one orientation (which I suppose is one of the basic feature). As far as I searched it is not possible to tell the browser to stop auto-rotating on change of orientation.

Another things is about performance. The performance of canvas API inside the browser is good enough for simple games, but it cant compete with the power of native games.

Regarding libraries, on native side there is cocos2d and many other mature libraries; but on HTML5 side I dont think the libraries are not mature enough when compared to native libraries. But soon this problem will vanish as the libraries evolve.

share|improve this answer
Thank you, can't vote you up because my reputation, but I would. – user5793 Feb 27 '12 at 5:24
I believe it's possible in javascript to get device orientation etc. Have seen several examples, for iphone / ipad, online but haven't been able to test it myself. – Thomas Feb 27 '12 at 10:52
its possible to get the orientation.. what I said is its not possible to tell the browser not to switch orientation when the phone is rotated so as to stick to any one orientation. – saiy2k Feb 27 '12 at 11:23

Objective-C and HTML5/JavaScript are quite different. If you have a background in web-technologies, the HTML5 route might be easier for you. If you have some Java or C/C++ experience, you might feel more comfortable with Objective-C.

While it's certainly possible to develop games in both "environments", you shouldn't forget about monetization. You can put your Objective-C app in the AppStore and sell it, while you'll have to find other ways to make money from your HTML5 app (maybe ads or some sort of subscription model?). If your focus is iPad/iPhone, then Objective-C is going to be less of a pain and also give you the better performance.

share|improve this answer

If your really interested in iOS Development, I STRONGLY recommend you at least learn the fundamentals of Objective C 2.0 and Cocoa Touch.
I'm have quite a bit of experience with iOS development as I'm in a group called theCodeCadets.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.