Added: 2 years ago
From: SDKTutor
Views: 23,445
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (72)

Sign In or Sign Up now to post a comment!
  • 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 yeah, email away, sdktutor @ gmail . com

  • 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 it's

    if (self = [super init]))

  • @SDKTutor ((self = [super init]))

  • 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 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

  • 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 Starting from what point?

  • @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.

  • @SDKTutor Ok thanks man uve really helped ive liked and subbed

  • @YesYouClickIt Thank you very much.

  • Your computer is gonna blow dude! Your computer AC outlet was working out! LOL

  • @MegaFedererFan That was on my old macbook. I now have a maxed out iMac and a macbook air.

  • Hey! u hv sims 3? XD

  • You need to take a speech class man, you talk like a retard.

  • @ditoway

    Be greatful that someone has made all this work.

    Complaining about his speech is just patetic.

  • are you typing with a sledge-hammer?

  • dude type slower ur typing in 100 mph relax

  • 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 Nope, I had a KTagball not kTagball in the enum, my bad, works fine now

  • Hey bro how can u add a timer to this game so when it runs out it goes to a new game scene?

  • 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?

  • dude good tutorial but we cant see ur code..

    can u post the code seperately ? thanks

  • I love ur background...

  • Can I get this great background?

  • What is the advantage of hard coding compared to using something like GameSalad??

  • @djcondra well, you get more control over your game, better performance, more options, and TONS more features.

  • @SDKTutor thanks for the reply. What about Corona. Good compromise between Cocos2D and GameSalad?

  • @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.

  • @SDKTutor Its trure Games Salad is F***ing slow!

  • can't bearly see your screen

  • Were do i download that Cocos SDK you were using???

  • @James161997 google cocos2d

  • 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

  • lol macfag

  • stop raping your keyboard... or get a headset.

  • What exactly is the ktag method?

  • 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!

  • Thanks for this basic tutorial

  • 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 I think I might have been using .8 or something like that and the API might have changed since then.

  • @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 check your function name...

  • @thecyberdell check your function name its "setFontName" not "setfontName"

  • i cant find the cocos app thing

  • hey man im new to this stuff as well, when i open xcode cocoa doesnt come up, it starts at the navigation based aoolication

  • dude i am new at this stuff where can i learn about the code?

  • the cocos2d documentation and api.

  • 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

  • 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.

  • Thank you very much! I am shocked at that comment.... I don't know what to say. Thanks for the advice and comment.

  • Comment removed

  • nice

  • @dtlamons no you viewed it 2nd

  • first comment and view

  • i viewed it first :D

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more