@SDKTutor Actually a few days ago i really wanted to make an app and the most i did with a computer was make a movie maker slideshow but im very determined in it and ive spent like 10 hours trying it and reading programming tutorials on idev my questions were where do i start, whad do i need to know and like can u make apps on xcode like details can you please provide me with some details and help. thank you very much :)
@YesYouClickIt first place to start is by downloading Xcode from the mac app store and getting yourself acquainted with the application. You also need to learn objective-c. Then download source code of open source apps and learn how they work.
@SDKTutor OK and what if i have pc? same thing ? amd it cost 99$ right and where is the best place that you would recomend to learn objective c ? and what exactly is the source code of the apps ? what exactly is that? thanks man
@YesYouClickIt You NEED a Mac not a PC. Get books to learn objective-c. Just google source code on google for iOS stuff and you will find tons. Google is your friend and you can find out how to get started on it.
@SDKTutor Ok thanks man u helped me alot and my last question is what if i just wanna make a easy game like say umm truth or dare right and what would i use to make it and publish it for 0.99$ ? and also is it gonna cost me anything ? if yes is there anyways to do it free of charge ? oh and there is no way to do it on the PC ?
@YesYouClickIt You would use Xcode on a MAC to create/build it. You have to be a paid developer to upload on the app store. I don't know of any way of building an app (besides Flash) to put on the app store that isn't on the Mac.
Where do you get al your knowlegde of this? i am googeling around the internet 2 days for turtorials for icocos2d now, but i can't find one where i can learn what commands i must typ. please help.
@HackingDutchman cocos2d-iphone (dot) org, the place where you downloadcocos2d from, has an API reference available, which is what I use for anything when I can't find any tutorials I like.
@SDKTutor - how did you learn objective-c / cocos2d? School? Documentation? Books? Could you recommend anything for someone who knows the basics of objective-c and wants to code a cocos2d isometric tiled RPG game?
@djcondra Corona is alright, I have heard some stuff about it, but it uses a C-ish type language (which I hate C). I don't know if I would use a game system like that to create an iphone app. i don't know if I could completely trust it, but that's my opinion.
@SDKTutor But isnt C more similar to Objective C, just without the extra bits? I thought LUA was more similar to a scripting language such as Action Script or Javascript. Im a bit confused. Thanks for all your replies anyway, and best of luck in the future. Your tutorials are brilliant.
@djcondra Objective-C is based upon C but is extremely different. Obj-C is object oriented and C is procedural. and knowing C can mess up good object oriented programming code. You treat objects way differently in obj-c and c. My advice is that if you are going to make iPhone apps with obj-c, stay away from other languages that are procedural like C.
@SDKTutor@djcondra Corona uses a javascript-like scripting language called Lua, and it IS object oriented. Cocos2D-iphone and Cocos2D-x (a C++ cross-platform variant) are going to support Lua scripting for creating games soon.
@SDKTutor That is nonsense. Knowing C is a good base for getting into Objective-C. C has no support for classes, obviously, and it takes some getting used to Objective-C's syntax and message sending, but Objective-C still *is* C, basically. It's a superset of C, like C++ is. The extensions to C in Objective-C are relatively small, and any C program will compile with an Objective-C compiler.
@Negatyfus The difference in the languages are big enough to cause many people problems. Objective-C may be a super set of C, but it is a lot different. The difference in syntax alone can confuse people. I'm just saying that it isn't necessary to learn C before Obj-C.
@SDKTutor C is very important to know first because Objective-C relies on many C concepts like pointers. Also, there are many C APIs on the system, such as CoreFoundation.
I really wish you would not skip to a particular line within a file, without explaining first where you're going, and why. That's my only gripe! Great tutorial. Keep them coming!
Gee great tutorial! Small prob! I am using Cocos2D 099.4RC2 and iphone Simulator 4.0 It builds fine but I get the following error when the simulator tries to run the app...
ball dodge[8153:207] +[CCMenuItemFont setfontName:]: unrecognized selector sent to class 0xbd980
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[CCMenuItemFont setfontName:]: unrecognized selector sent to class 0xbd980'
terminate called after throwing an instance of 'NSException'
Outstanding work, my friend. I teach Thesis 3D animation in NYC and I can confidently tell you that besides the obvious gift for code, you are a gifted instructor.
I have 2 sections of college seniors that I wish were as motivated and focused as you are.... By the time you hit college, you're gonna be a force of nature. Keep up the amazing work, and never look back.
ok changed but it still says expected statement before ) token
is there any way i can send you a picture of my code? like email or something?
werido55 1 week ago
@werido55 yeah, email away, sdktutor @ gmail . com
SDKTutor 1 week ago
ok i got the nil not nill
it's sharedDirector not shareDirector
it's CCTransitionZoomFlipAngular not CCZoo,flipAngularTransition
thank you on that(sorry hard to read the text but still good tutorial)
it says this is wrong
-(id) init { if ([self = [super init]) ] { } return self;
}
@end
and a warning CCMenuItemFont may not respond to +setFontSize
if you can help thank you
werido55 1 week ago
@werido55 it's
if (self = [super init]))
SDKTutor 1 week ago
@SDKTutor ((self = [super init]))
SDKTutor 1 week ago
can i have some help
nill undeclared
missing sentinel in function call
CCDirector may not respond to +shareDirector
CCZoo,flipAngularTransition undeclared
Expected ] before scene
werido55 1 week ago
@werido55 it's nil not nill
it's sharedDirector not shareDirector
it's CCTransitionZoomFlipAngular not CCZoo,flipAngularTransition
I'm not sure about the other ones without looking at your code
SDKTutor 1 week ago
hey dude im really new to the this stuff but i wanna make an app can u walk me though it please like just the basics
YesYouClickIt 1 month ago
@YesYouClickIt Starting from what point?
SDKTutor 1 month ago
@SDKTutor Actually a few days ago i really wanted to make an app and the most i did with a computer was make a movie maker slideshow but im very determined in it and ive spent like 10 hours trying it and reading programming tutorials on idev my questions were where do i start, whad do i need to know and like can u make apps on xcode like details can you please provide me with some details and help. thank you very much :)
YesYouClickIt 1 month ago
@YesYouClickIt first place to start is by downloading Xcode from the mac app store and getting yourself acquainted with the application. You also need to learn objective-c. Then download source code of open source apps and learn how they work.
SDKTutor 1 month ago
@SDKTutor OK and what if i have pc? same thing ? amd it cost 99$ right and where is the best place that you would recomend to learn objective c ? and what exactly is the source code of the apps ? what exactly is that? thanks man
YesYouClickIt 1 month ago
@YesYouClickIt You NEED a Mac not a PC. Get books to learn objective-c. Just google source code on google for iOS stuff and you will find tons. Google is your friend and you can find out how to get started on it.
SDKTutor 1 month ago
@SDKTutor Ok thanks man u helped me alot and my last question is what if i just wanna make a easy game like say umm truth or dare right and what would i use to make it and publish it for 0.99$ ? and also is it gonna cost me anything ? if yes is there anyways to do it free of charge ? oh and there is no way to do it on the PC ?
YesYouClickIt 1 month ago
@YesYouClickIt You would use Xcode on a MAC to create/build it. You have to be a paid developer to upload on the app store. I don't know of any way of building an app (besides Flash) to put on the app store that isn't on the Mac.
SDKTutor 1 month ago
@SDKTutor Ok thanks man uve really helped ive liked and subbed
YesYouClickIt 1 month ago
@YesYouClickIt Thank you very much.
SDKTutor 4 weeks ago
Your computer is gonna blow dude! Your computer AC outlet was working out! LOL
MegaFedererFan 1 month ago
@MegaFedererFan That was on my old macbook. I now have a maxed out iMac and a macbook air.
SDKTutor 1 month ago
Hey! u hv sims 3? XD
JackLim626 4 months ago
You need to take a speech class man, you talk like a retard.
ditoway 5 months ago
@ditoway
Be greatful that someone has made all this work.
Complaining about his speech is just patetic.
net777nu 5 months ago
are you typing with a sledge-hammer?
getyaboogieon 6 months ago
dude type slower ur typing in 100 mph relax
philohan95 6 months ago
I noticed that CCZoomFlipAngularTransition is now CCTransitionZoomFlipAngular; I was getting build errors on that.
There is also a problem with kTagball, it seems to say its undeclared, has Cocos 2d changed this as well?
Thanks!
blakeallenvideo 8 months ago
@blakeallenvideo Nope, I had a KTagball not kTagball in the enum, my bad, works fine now
blakeallenvideo 8 months ago
Hey bro how can u add a timer to this game so when it runs out it goes to a new game scene?
johnydee187 9 months ago
Where do you get al your knowlegde of this? i am googeling around the internet 2 days for turtorials for icocos2d now, but i can't find one where i can learn what commands i must typ. please help.
HackingDutchman 9 months ago
@HackingDutchman cocos2d-iphone (dot) org, the place where you downloadcocos2d from, has an API reference available, which is what I use for anything when I can't find any tutorials I like.
Omnom18 6 months ago
@SDKTutor - how did you learn objective-c / cocos2d? School? Documentation? Books? Could you recommend anything for someone who knows the basics of objective-c and wants to code a cocos2d isometric tiled RPG game?
zatchmo1988 9 months ago
dude good tutorial but we cant see ur code..
can u post the code seperately ? thanks
gauravdawg 10 months ago
I love ur background...
hey1111112222222 1 year ago
Can I get this great background?
TheMaldinio 1 year ago
What is the advantage of hard coding compared to using something like GameSalad??
djcondra 1 year ago
@djcondra well, you get more control over your game, better performance, more options, and TONS more features.
SDKTutor 1 year ago 2
@SDKTutor thanks for the reply. What about Corona. Good compromise between Cocos2D and GameSalad?
djcondra 1 year ago
@djcondra Corona is alright, I have heard some stuff about it, but it uses a C-ish type language (which I hate C). I don't know if I would use a game system like that to create an iphone app. i don't know if I could completely trust it, but that's my opinion.
SDKTutor 1 year ago
@SDKTutor But isnt C more similar to Objective C, just without the extra bits? I thought LUA was more similar to a scripting language such as Action Script or Javascript. Im a bit confused. Thanks for all your replies anyway, and best of luck in the future. Your tutorials are brilliant.
djcondra 1 year ago
@djcondra Objective-C is based upon C but is extremely different. Obj-C is object oriented and C is procedural. and knowing C can mess up good object oriented programming code. You treat objects way differently in obj-c and c. My advice is that if you are going to make iPhone apps with obj-c, stay away from other languages that are procedural like C.
SDKTutor 1 year ago
@SDKTutor @djcondra Corona uses a javascript-like scripting language called Lua, and it IS object oriented. Cocos2D-iphone and Cocos2D-x (a C++ cross-platform variant) are going to support Lua scripting for creating games soon.
ConnorAlves 7 months ago
@SDKTutor That is nonsense. Knowing C is a good base for getting into Objective-C. C has no support for classes, obviously, and it takes some getting used to Objective-C's syntax and message sending, but Objective-C still *is* C, basically. It's a superset of C, like C++ is. The extensions to C in Objective-C are relatively small, and any C program will compile with an Objective-C compiler.
Negatyfus 4 months ago
@Negatyfus The difference in the languages are big enough to cause many people problems. Objective-C may be a super set of C, but it is a lot different. The difference in syntax alone can confuse people. I'm just saying that it isn't necessary to learn C before Obj-C.
SDKTutor 4 months ago
@SDKTutor C is very important to know first because Objective-C relies on many C concepts like pointers. Also, there are many C APIs on the system, such as CoreFoundation.
bonchbonch 4 months ago
@SDKTutor Its trure Games Salad is F***ing slow!
theCodeMonsters 9 months ago
can't bearly see your screen
NouCrazyBitches 1 year ago
Were do i download that Cocos SDK you were using???
James161997 1 year ago
@James161997 google cocos2d
isaacsoh83 9 months ago
fking apple now stole Aero from Microsoft? I get that they wanna be like Microsoft but CMON! Dont steal shit and eat your white apples
and you should let people know they need a mac for this to work
someone0000000000000 1 year ago
lol macfag
outlaw2411 1 year ago
stop raping your keyboard... or get a headset.
iamandrew95 1 year ago 2
What exactly is the ktag method?
Guy7542 1 year ago
I really wish you would not skip to a particular line within a file, without explaining first where you're going, and why. That's my only gripe! Great tutorial. Keep them coming!
dslieker 1 year ago
Thanks for this basic tutorial
arefatx 1 year ago
Gee great tutorial! Small prob! I am using Cocos2D 099.4RC2 and iphone Simulator 4.0 It builds fine but I get the following error when the simulator tries to run the app...
ball dodge[8153:207] +[CCMenuItemFont setfontName:]: unrecognized selector sent to class 0xbd980
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[CCMenuItemFont setfontName:]: unrecognized selector sent to class 0xbd980'
terminate called after throwing an instance of 'NSException'
thecyberdell 1 year ago
@thecyberdell I think I might have been using .8 or something like that and the API might have changed since then.
SDKTutor 1 year ago
@SDKTutor ahhhh ok.... I will play with it until I figure it out... should not be too hard! Just something to do with setFontName selector
thecyberdell 1 year ago
@thecyberdell check your function name...
raidenlolt1 1 year ago
@thecyberdell check your function name its "setFontName" not "setfontName"
raidenlolt1 1 year ago
i cant find the cocos app thing
jamesboy678 1 year ago
hey man im new to this stuff as well, when i open xcode cocoa doesnt come up, it starts at the navigation based aoolication
alec11592 1 year ago
dude i am new at this stuff where can i learn about the code?
kaplinx 2 years ago
the cocos2d documentation and api.
SDKTutor 2 years ago
whenever i click on build and run there's an error:there is no SDK with the name or path iphoneos2.2
i can't build and run anything
how do i fix this
Joethemonkey101 2 years ago
Outstanding work, my friend. I teach Thesis 3D animation in NYC and I can confidently tell you that besides the obvious gift for code, you are a gifted instructor.
I have 2 sections of college seniors that I wish were as motivated and focused as you are.... By the time you hit college, you're gonna be a force of nature. Keep up the amazing work, and never look back.
B.
outtoplay 2 years ago
Thank you very much! I am shocked at that comment.... I don't know what to say. Thanks for the advice and comment.
SDKTutor 2 years ago
Comment removed
Joethemonkey101 2 years ago
nice
ipodmail 2 years ago
@dtlamons no you viewed it 2nd
tech0204 2 years ago
first comment and view
dtlamons 2 years ago
i viewed it first :D
KJApps 2 years ago