This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-06-24 07:52:00

TheSaint
Scratcher
Registered: 2008-11-04
Posts: 1000+

iPhone Programming

Hey guys

I just got a new Macbook Pro for college, with the purpose of finally being able to program games for the iPhone/iPad/iWhatever. Anyways, this stuff is hard. Do the few of you who have done this already know of any good tutorials on the web for games?

Tutorials:
~iTennis Game-Part 1 -- A video is missing from it, but the rest of the tutorial is good.
~iTennis Game-Part 2
~iTennis Game-Part 3
~iTennis Game-Part 4

Thanks.

Last edited by TheSaint (2011-06-25 10:44:56)

Offline

 

#2 2011-06-24 08:00:44

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: iPhone Programming

You could start with an easier program. There are some which are a little step up from Scratch which let you create games that are able to be placed on the app store for you to make money or/and get your name out. Search on the internets for iphone/iwhatever game maker.


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#3 2011-06-24 08:06:08

MrMokey
Scratcher
Registered: 2009-05-06
Posts: 1000+

Re: iPhone Programming

or/and? I thought it was and/or  smile


http://i1193.photobucket.com/albums/aa344/mrmokey1/Thankyouitfitsperfectlysig.png

Offline

 

#4 2011-06-24 09:03:18

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: iPhone Programming

MrMokey wrote:

or/and? I thought it was and/or  smile

No, "or/and" is correct in this case as the "or" is more likely than the "and". So I put the "or" first. If the "and" was more likely then I would put it first. Get it?


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#5 2011-06-24 09:44:05

agscratcher
Scratcher
Registered: 2009-07-09
Posts: 1000+

Re: iPhone Programming

Just a heads up:


Most people assume that non-jailbroken iOS devices only accept Objective-C. In reality, you can program in C and C++ as well. Not to mention that C code is valid Objective-C code. If your program is for jailbroken iOS devices, you also have the option of programming in Java and Flash.


Now, when it comes to SDK's, there are a few options. Most people only use the official SDK, but numerous SDK's are out there. For beginners, I'd say the easiest is Corona. Corona programs in Lua, which jacks into C code. Lua in a relatively simple language, so try starting with that. Corona also is an SDK for Android, in case you want to try that sometime.


Now, from what I can tell, if you manage to get an app of yours on to the App Store, you get most of the profits, in case you want to get some money. ;-)


Have fun!


EDIT: Apparently, jailbroken devices also allow .NET Frameworks.

Last edited by agscratcher (2011-06-24 09:49:37)


http://narwhaler.com/img/yu/5/no-barrel-i-insist-after-you-spiderman-yU5Ua7.jpg

Offline

 

#6 2011-06-24 11:40:31

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: iPhone Programming

agscratcher wrote:

Just a heads up:


Most people assume that non-jailbroken iOS devices only accept Objective-C. In reality, you can program in C and C++ as well. Not to mention that C code is valid Objective-C code. If your program is for jailbroken iOS devices, you also have the option of programming in Java and Flash.


Now, when it comes to SDK's, there are a few options. Most people only use the official SDK, but numerous SDK's are out there. For beginners, I'd say the easiest is Corona. Corona programs in Lua, which jacks into C code. Lua in a relatively simple language, so try starting with that. Corona also is an SDK for Android, in case you want to try that sometime.


Now, from what I can tell, if you manage to get an app of yours on to the App Store, you get most of the profits, in case you want to get some money. ;-)


Have fun!


EDIT: Apparently, jailbroken devices also allow .NET Frameworks.

Doesn't Apple allow apps ported from Flash and other platforms now?  hmm


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#7 2011-06-24 11:55:48

meew0
Scratcher
Registered: 2010-02-22
Posts: 1000+

Re: iPhone Programming

I wait until Stencyl supports iOS  cool


http://i.imgur.com/mJV3j.pnghttp://i.imgur.com/HwWAX.pnghttp://i.imgur.com/sZ7Ui.pnghttp://i.imgur.com/0y6yh.pnghttp://i.imgur.com/nOC4l.png

Offline

 

#8 2011-06-24 12:17:11

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: iPhone Programming

meew0 wrote:

I wait until Stencyl supports iOS  cool

That's 100$ for iOS dev (which is required even without publishing it) plus a monthly fee.


http://i46.tinypic.com/dw7zft.png

Offline

 

#9 2011-06-24 12:23:46

meew0
Scratcher
Registered: 2010-02-22
Posts: 1000+

Re: iPhone Programming

SeptimusHeap wrote:

meew0 wrote:

I wait until Stencyl supports iOS  cool

That's 100$ for iOS dev (which is required even without publishing it) plus a monthly fee.

Oh, didn't know that...


http://i.imgur.com/mJV3j.pnghttp://i.imgur.com/HwWAX.pnghttp://i.imgur.com/sZ7Ui.pnghttp://i.imgur.com/0y6yh.pnghttp://i.imgur.com/nOC4l.png

Offline

 

#10 2011-06-24 15:48:41

TheSaint
Scratcher
Registered: 2008-11-04
Posts: 1000+

Re: iPhone Programming

Thanks for all the tips guys.

I briefly looked int GameSalad as a possible Scratch like Environment, but it looked like it also had a steep learning curve. If I am going to do something where I would need tutorials, and guides to get me through, I would rather just go with the SDK...

Tomorrow I will go to the library and get a few books on iPhone programming and Objective-C, because the internet seems to be lacking in beginner-friendly help. I did manage to find one decent tutorial (http://www.icodeblog.com/2009/01/15/iph … al-part-1/) but it was missing one or two pieces, and I got some errors, that I had to fix myself.

I think I might as well start a little hub here for iPhone programming, seeing as people seem to like it. I will post links to good tutorials as I find them, and add any that you guys find.

Thanks again!

Last edited by TheSaint (2011-06-24 15:48:58)

Offline

 

#11 2011-06-24 15:50:51

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: iPhone Programming

COLLEGE?  yikes  yikes  yikes  yikes  yikes

Where are you going?


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#12 2011-06-24 23:21:09

TheSaint
Scratcher
Registered: 2008-11-04
Posts: 1000+

Re: iPhone Programming

The Honors Program at NC State. I am majoring in engineering.  smile

Offline

 

#13 2011-06-25 05:28:22

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: iPhone Programming

I am learning how to develop Android apps. I know Java better than Objective-C  tongue

Offline

 

#14 2011-06-25 10:46:36

TheSaint
Scratcher
Registered: 2008-11-04
Posts: 1000+

Re: iPhone Programming

I dabbled a bit with android and eclipse before I got the mac. I don't know either language, so I figured I would just learn Objective-C because iPhone is a "better" platform upon which to release games in my opinion.


I posted the iTennis tutorial for those interested.  smile

Offline

 

#15 2011-06-25 10:50:17

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: iPhone Programming

TheSaint wrote:

I dabbled a bit with android and eclipse before I got the mac. I don't know either language, so I figured I would just learn Objective-C because iPhone is a "better" platform upon which to release games in my opinion.


I posted the iTennis tutorial for those interested.  smile

Yeah, iPhone is probably a better choice. I couldn't decide at first, but then my parents got an android phone so I figured I would pick Android.  big_smile

Offline

 

#16 2011-06-25 20:49:22

mariobrosrule
Scratcher
Registered: 2008-06-09
Posts: 1000+

Re: iPhone Programming

You can use Stencyl  big_smile  It has some features made for mobile devices

Offline

 

#17 2011-06-26 10:33:52

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: iPhone Programming

Well I don't really know what program you use, but try Adobe Flash CS5.5.  It's extremely graphic-based, though coding is required, but it is still good.  Lynda.com has some really good tutorials on it.  Adobe Flash CS5 tutorials work for it.  Unity is also a (really) powerful thing for iOS devices, but it's really complicated and costs a couple $2,000 (that was not a typo.  It costs over $2,000). The traditional interface for making iOS games is Xcode which can be purchased in the App Store, and can use several programming languages such as Objective-C and C#.  And, wow, you're actually still on Scratch in COLLEGE????

Offline

 

#18 2011-06-26 10:42:54

Earthboundjeff
Scratcher
Registered: 2010-09-28
Posts: 1000+

Re: iPhone Programming

Can you program Apps on a PC?


https://encrypted-tbn0.google.com/images?q=tbn:ANd9GcR1SONrHUmdKZXQNDgtN_vpycOOo-BDMfnlqHZRA1lMpYXhX7Jc

Offline

 

#19 2011-06-26 10:47:32

agscratcher
Scratcher
Registered: 2009-07-09
Posts: 1000+

Re: iPhone Programming

Earthboundjeff wrote:

Can you program Apps on a PC?

Unfortunately, no.


Apple is being (literally) self-centered.


http://narwhaler.com/img/yu/5/no-barrel-i-insist-after-you-spiderman-yU5Ua7.jpg

Offline

 

#20 2011-06-26 16:17:16

TheSaint
Scratcher
Registered: 2008-11-04
Posts: 1000+

Re: iPhone Programming

agscratcher wrote:

Earthboundjeff wrote:

Can you program Apps on a PC?

Unfortunately, no.


Apple is being (literally) self-centered.

Extremely so.

maxskywalker, I would have loved to program flash a year or two ago, but the program costs about 750-1000 dollars. You could get pirated versions, but I try and not do things illegally.  tongue

However, Xcode was free on the apple website when you register an account. I got the mac instead of a pc so I could develop apps, and hopefully make some money to justify the price differential. (About 800 dollars) And yes, I still mess around with scratch even though I am going to college next year.  tongue

Offline

 

#21 2011-06-26 16:28:27

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: iPhone Programming

TheSaint wrote:

The Honors Program at NC State. I am majoring in engineering.  smile

Cool!  big_smile


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#22 2011-06-28 08:49:14

TheSaint
Scratcher
Registered: 2008-11-04
Posts: 1000+

Re: iPhone Programming

Yeah, it is.  smile

Offline

 

#23 2011-06-28 10:40:31

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: iPhone Programming

I'm learning how to use Objective C also. I agree, it is hard, but once you understand the syntax, you just have to understand the libraries, which probably arent too complicated.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

Board footer