This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Experienced in web development. How to get started with iPhone Game Development?
- Question
I am an iOS developer working on business applications. I want to start development of games for iOS. My Question is from where to start and what are required tools for games development and which resource is most important. So far i think that openGL and core Animations are required tools.
Please guide
You should take a look at the Cocos2d framework. Here's a great tutorial:
http://www.raywenderlich.com/352/how-to-make-a-simple-iphone-game-with-cocos2d-tutorial
I'd recommend a game development framework. This article is a bit dated, but does reference toolkits that still exist and are good:
http://maniacdev.com/2009/08/the-open-source-iphone-game-engine-comparison/
If you're not prepared to learn a lot of math/programming, then shoot for using a commercial engine like Unreal, where most of the heavy lifting is done for you. Their tutorials are a good place to start.
You should also want to start playing with Blender and/or Google Sketch-up. They will give you a better feel for the things you'll need to know in order to use a pre-built engine....and both are free.
The Unreal game engine also has a free edition.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
As someone who has never developed an iOS app but hopes to soon and has never had a Mac (to date) the whole XCode and process for developing apps was a little lost on me.
To start: things like which languages are supported in development was one area I wasn't sure of:
I've seen C, C++ and Objective-C referenced as the languages used to write the apps. But I've also seen JavaScript` + HTML + CSS and .NET as options and a host of other compiled languages, with people arguing if you can or can't use them.
Another thing I wondered about was Xcode, does it support all the mentioned languages? Or is an IDE built for a specific language such as Cocoa ? If it is, then how would someone use JavaScript for example to write the app?
I'm sure this is a fairly simple answer to Apple users, but I had some struggle trying to relate from a non-Apple background.
Updated
Thanks for the great answers and insight, hopefully other this post will be helpful to others who don't have an Apple / iOS background
All three language alternatives that you mentioned are available to iOS application developers *.
Objective-C/C++ offers a way of making native apps for iOS, you produce machine code that runs on the devices. You use Xcode to develop in these languages.
You can build apps in JavaScript + HTML + CSS because iOS comes with a browser. Apple offers a mode that gives your apps a completely native look and feel, so they do look like first-class citizens.
You can build your apps in C# as well by using Mono Touch. This is different from .NET, although the language is the same, because your code is compiled into binary ahead of time. Although using Mono Touch eliminates the learning curve associated with the new language, you need to go through a fair bit of learning to adapt your knowledge of .NET to a different platform.
* Except Cocoa, which is not a language, but a collective name for Apple's frameworks for developing under OS X and iOS.
iOS' native language is Objective-C. While it's true you can use C++ to make apps (Cocos for example, is mostly written in C++) it isn't the 'native language'.
As for the other languages you mention, while it's possible to create apps using them they won't be 'native' normally relying upon another IDE/Library, phone gap or adobe air for example. Most of these also support cross platform development.
Where I work we also use HTML5 to create a 'faux native' interface/experience.
If you're new to iOS it's worth while checking out Apple documentation/sample code at:
https://developer.apple.com
There is a wealth of knowledge there that should set you on the right path. It ins't however, something I'd recommend if you don't have any experience with object orientated programming.
Coming from a C++ background myself, I didn't find it too difficult but have been working on iOS for about 3 years (on and off) and am only just starting to really become truly fluent in it's processes and conventions.
Hope this helps, let me know if you want to know anything specific.
I am not very familiar with Game engines for iOS app. Can anyone suggest an open source game engine for my game development?
My game scenario is as follows: The user selects a map, and a character inside of the game I moves through a path predefined in the map.
I was thinking about writing this game in OpenGL but it seems like I have to write a huge amount of code. Do any game engines exist in which I can successfully write this game?
Lua is easier to learn than Objective-C. There are several Lua development environments:
Gideros Studio: http://www.giderosmobile.com/
Corona SDK: http://www.coronalabs.com/
Moai: http://getmoai.com/
My favourite is Gideros Studio, because it seemed to me the easiest to get started, and is free until you want to remove the splash screen, and has a very friendly forum with access to the developers. You can also include native plugins (Objective C and C++ for Android).
Moai is the only actual open source one, if you really need to change the source, but it is probably the hardest one to learn.
cocos2d is popular and easy to use and learn. you could also use kobald2d as that includes cocos2d and other frameworks as well. you can download them through a search on google
As state by the other user cocos2d would be a good solution for what you want. Although you asked for "open source", you can always check, for free, Unity for iOS. You could also check a question I made some time ago, which can give you some hints of some options you have, here. From the Unity site:
Oh, and don't forget that Unity is free and we have fully-functional
30-day trials available for Unity Pro and Unity iOS Pro!
I know it's not perfect, but still, if you see it's worth, it can make a huge difference in your project.
Try Stencyl, it's not free, but it is a good engine that doesnt require a lot of code
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Tips for an iOS developer to learn Mac programming?
After having spent a year in IOS-development, I'd like to broaden my horizon and jump into OSX-development. Does anyone have a good ressource, book, online or otherwise? I'm looking for: 'the differneces in short and fast are', instead of 'first, download xcode'. Any tipps appreciated!
I advice to use learning resources from http://developer.apple.com
This is the standard for learning Cocoa on Mac OSX. I went through it and found it to be very good:
http://www.bignerdranch.com/book/cocoa_programming_for_mac_os_x_rd_edition_
Also, this book was good but felt more like a reference and less like a tutorial which the previous book was:
http://www.amazon.com/Cocoa-Programming-Developers-Handbook-Chisnall/dp/0321639634/ref=sr_1_3?ie=UTF8&qid=1316367686&sr=8-3
After those, this advanced book is good:
http://www.bignerdranch.com/book/advanced_mac_os_x_programming_rd_edition_
I also recommend the WWDC videos if you pay for the dev program. Good hands on practical advice and walk throughs on good topics.
This question already has answers here:
What do I need to learn iPhone development offline? [closed]
(6 answers)
Closed 7 years ago.
I'm soon going to be starting some iPhone Development (3.0) building a simple app that communicates with a web service and uses push notification.
My Objective-C is pretty much non-existent but I've already got some good information from this question and also from Apple's development centre.
Basically if you've developed with the iPhone before what caveats/hints/pitfalls/tips/etc could you recommened in general?
Get "Cocoa Programming for Mac OS X by Aaron Hillegass" and go through the first half of the book. Get "Beginning iPhone Programming" after that and pay the $99 so you can run apps on your phone. There are a lot of design patterns in Objective C that are strange to begin with, but as you work more with them, they make sense.
One of the best things I found in the Hillegass book is his advice in the introduction: "assure yourself that you are not stupid and some things are hard".
I had great success getting started by diving into the Apple developer guides. I read the following:
Apple Objective-C guide, a good place to learn the basics
Apple Cocoa Fundamentals Guide
Apple iPhone Application Programming Guide
Spend time looking over the various examples, read the code, make changes, etc. Apple also has many good examples (outside the books) that you can learn a great deal from.
I agree, Cocoa Programming for Mac OS X by Aaron Hillegass is a great book to learn Cocoa, and it covers Obejctive-c nicely, but if you really want to KNOW the language, I would recommend:
Programming in Objective-C 2.0: http://www.amazon.com/Programming-Objective-C-2-0-Developers-Library/dp/0321566157
Both are fantastic books and nicely complement eachother.
Its very important to remember that other people are having a hard time learning Cocoa too. Reading Aaron's book is a fantastic way to start. Reading source code is also another great way. THere is some open source iPhone projects (for example: wordpress), and there a bunch for OS X. Read what other people are doing so you can get the flow of an application. I found that to be the hardest part about learning (especially the Cocoa part).
http://www.lynda.com/ is perfect for starting iOS, OSx development. The site takes you past the beginner status quickly.
Recently I've been getting more and more into mobile development. I am currently working with the iPhone and Android based devices.
Palm's new WebOS looks interesting.
Are there any good online tutorials for quickly getting up to speed on developing for the Palm WebOS?
The Palm Developer Network has some basic overviews: http://developer.palm.com/
They also have a section up there: Palm webOS: Developing Applications in JavaScript Using the Palm Mojo Framework. This may be a good start.
Palm webOS: Developing Applications in JavaScript Using the Palm Mojo Framework is a book in the making, available currently through O'Reilly Rough Cuts program).
You can easily read the first chapter.
That's the closest you can get currently from official sources. Unless you apply to their SDK early access program (sdkapplication.palm.com/sdkapplication) and they let you in (you can apply for it until the SDK is officially released to the public).
Of course, another thing we can do until the SDK is out is catch up on whatever technologies we individually need that programming for Palm's webOS will require: JavaScript, HTML5, CSS... and there's ton of material about these online. Actually, there are many websites dedicated to Palm Pre and webOS that sprung up recently. The one that is more programming oriented that I know of is webOShelp.net: take a look at their Getting started with webOS guide (www.weboshelp.net/getting-started-with-webos).
P.S. sorry about not clickable links, had to play the system somehow ;) - it won't allow me to post more than one link since I'm new here.
Now that the device is out, people are actively playing with the device. Best site I have found so far is (no affiliation) http://predev.wikidot.com
Also, if you root the device, you can look at the source for the shipped apps in /usr/palm/applications
I have additional notes at http://friendfeed.com/
The site www.weboshelp.net has quite a few good tutorials.
This blog has a good tutorials:
http://kmdarshan.com/blog/category/webos/