My First iOS Gaming App Experiment – Log1

Menu_bg-ipadI got bored of being a iOS App developer i wanna jump to the Gaming Side. How kewl it would be to play a game when you have created that game, That feeling is awesome. So it happened suddenly that i  wanted to develop a iOS game and i have to take the simpler path as i have to go through complex calculations and mathematical formulas for Gaming. But it is not that hard what i imagined when i think now. As a iOS developer for the past 3 years i love the way how Objective-C and iOS evolved inside my Medula Oblangata. It was so so soooo phenomenal.

Ideation So i jumped into the iTunes which i call the iWorld. Searched, Browsed, Surfed 100s of game to pick the right thing. Finally i found that the basic pingpong game(The classic computer pingpong) is the opt one because it doesn’t have complex controls simple swipe and simple mechanics. Also found there are some bored Not-So-Fantastic pingpong apps in appstore. So took that idea and added some wow factors like superpowers in it. I iterated Iterated and Iterated a lot in this game(There was a famous saying i remember now “Innovation is 1%Innovation and 99% Iteration) and finally created a Game design document on that

Design Finally drawing after drawing, sketching after sketching found a good complete gameplay for the app. Simple slider on both ends. Superpowers spawning from both the ends. User has to touch and drag superpowers to acqiure them. Superpower may cause damage to other user. and soooooo oooonnnnn. With some help from our UI team(Hari & Arul) designed the whole thing in Photoshop and created the Visual Elements in iPad Retina size So that i will resize that to any device resolutions like iPhone4Inch, iPhone3.5Inch, Retina and iPad.

Development For any game development. Be prepared with the Images before You start coding. With Xcode 4.6 in my Macmini. Downloading Cocos2d framework and installing in my Xcode created a Cocos2D Project. Cocos2D has been amazingly very easy to develop any game. This can be the best framework that any iOS geek can start his gaming idea. With cocos 2D i started my idea with great help from my friend(Sadesh). Keeping RayWenderlich’s Tutorials(This n this and this one too) on my Browser tabs i opened my Xcode and started coding by filling my coffee mug with Latte. After a week coding in cocos2D making just the 2 sliders on my screen heard that my game can be made very easily using Box2D extension and started reading about Box2D about how physics will be applied to the gaming objects and after reading this tutorial on Ray i got very much excited. Thats how i kicked off with my gaming app. My next Log will be discussing more on technical stuff Next Log…. Coming Soon

iOS Development for Beginners

Hi Nerds

So welcome to the world of objective-C, your future favorite programming language. With just a two year experience, as a iOS developer it has been a Roller-Coaster ride for me with iOS development and I had some thrilling slides, smooth sight-seeings, slow-uprising of my iOS applications. Hope i will give you some tips to become a comfortable and pro-active iPhone/iPod/iPad developer.

If you are really reading this then you should definitely know some programming language at a very basic level. If the answer is “C” then you will be a Rockstar here. Some of the other techie words that you should get familiarize with are the OOPS concepts, MVC patterns and IDE’s.

Assuming you are pro in the above mentioned techs. I would like you to jump into the Apple world. There are two rules which you should obey when you start developing iOS applications

1. Buy/Borrow/Own/Steal/Rent a Mac machine

2. Buy/Borrow/Own/Steal/Rent a iPhone/iPod Touch/iPad device

Without a mac machine you can’t develop a native iOS app(of-course you can go hybrid but thats not your focus now newbie) as Xcode is the only tool for developing iOS apps and it is available only for mac OS. Without a device to test is always a risk. So obey the two rules.

You got everything you got start learning. I would like to suggest you to see as many video tutorials than the normal text blogs. Lynda.com provides some of the best video tutorials with very simple and clear explanations of iOS and Xcode. Apart from that the best is to learn from the people who created it. Apple Documentations are the best  for any clarifications or doubts.

Try to take a simple idea and create the application for that to learn. Learning each feature separately is not going to help. Take a simple idea that has some of the basic controls and start completing that project so that you have a complete app. My idea would be trying these basics in a single app.

  • Textfield validations
  • Button, Label, View creations
  • Transition of views from one screen to other
  • Passing data to next screen
  • Sqlite DB operations
  • Tableview Creations and manipulations
  • Delegates

As a starter you don’t  need to be so choosy for glassy interface for your app. While things go on you will be familiar with the user interface so do not worry about it now.

If you are stuck up on middle of a bug/isssue and apple documentation doesn’t solve your issue then go posting your question on Stackoverflow. Be neat, simple and clear on the question you are going to ask provide sample code in that and acknowledge the person who is trying to answer your question. Your hours and days effort will be minimized into seconds and minutes. If you become pro someday you can answer the questions posted by other developers as I do now. Thats me in SO.

RayWenderlich is a good team of iOS coders provide very easy and simple tutorials with sample code for some commonly used functionalities. Feel free to browse through their tutorials.

Appsamuck is site that provides open source iOS projects for free. You can download and play with those codes and feel the awesomeness in you by experimenting in it.

So welcome to the iOS.