Now a days iphone and Android are so much common and everyone wants his/her smartphone to be either having Ios or Android os. But Developers tend to choose iOS Over Android. But now these iphone or Android smartphones are not enough for our generation, we want everyday a new feature, a new game and for that many of us think to make our own app or game. And I am quit sure everyone has desire to make games, so this is the right place where you fall.
I am gonna give you every easy and basic tips to help you out.So the first step or first thing you need is MAC and then second important thing is Xcode. If you have these two, BINGO.. You can be an iOS developer. Although it is not necessary to make your game or app in Xcode, there are several other platform like for 2D games you can use Corona SDK , torque 2D , box2D. Games like angry bird , joyride jetpack can easily be made on these 2D platform. If you like more challenging work and more fantastic thing, go for 3D gaming platform like Unity , UDK etc. So guys get ready to make your own apps and games.
I am gonna give you every easy and basic tips to help you out.So the first step or first thing you need is MAC and then second important thing is Xcode. If you have these two, BINGO.. You can be an iOS developer. Although it is not necessary to make your game or app in Xcode, there are several other platform like for 2D games you can use Corona SDK , torque 2D , box2D. Games like angry bird , joyride jetpack can easily be made on these 2D platform. If you like more challenging work and more fantastic thing, go for 3D gaming platform like Unity , UDK etc. So guys get ready to make your own apps and games.
Steps To Develop Your iOS Apps :
1. Create a folder ,in that you will store your all files and images.
2. First file that corona SDK will execute is always main.lua file. From main.lua you can go to any of the file with the help of two methods:
a.)You can use director class.
b.)You can use storyboard APIs.My personal choice is storyboard way because I felt it more systematic.
3. For every screen, one file is used.
now you know how it flow but its the time to know what you gonna show.
a.)To display image following syntax is used:
local background = display.newImage("a.png");
background.x = 0;
background.y = 0;
This line of code will display a new image to your screen and store it in local variable called background. Remember to put "local" before the name of variable otherwise it will become global and consume memory.
NOTE:put a.png in same folder that you created in step 1.
b.)To display text
local myText = display.newText("Hello World!!", 50 , 50 , native.systemfont, 24)
myText:setTextColor(255,255,255)
Stay tuned for next.
0 comments:
Post a Comment