Topic:   My iPhone Game Tutorials for Beginners   (Read 393103 times)


0 Members and 5 Guests are viewing this topic.

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: My iPhone Game Tutorials for Beginners
« Reply #15 on: February 16, 2010, 06:26:23 PM »
Quote
Now I have to figure out a way to link my game model object to the view controller :)
What kind of a game object model? If it's just an NSObject or class you can #include "Class.h" to hook it up.

Quote
I expect I'll have more questions later!
I'll be ready. :)

Quote
I can't wait to start making a game! However it would take 2 hours to download Xcode and the Iphone SDK so I think I'll wait until I have more time.
Ah, I used iGetter. Cut the downloading time in half.


-Gan
« Last Edit: February 16, 2010, 06:27:51 PM by Gandolf »

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: My iPhone Game Tutorials for Beginners
« Reply #16 on: February 17, 2010, 04:38:35 PM »
I have time to make a 3rd tutorials. I have received a suggestion for it but what do you guys think I should focus on?


-Gan
« Last Edit: February 17, 2010, 04:38:48 PM by Gandolf »

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: My iPhone Game Tutorials for Beginners
« Reply #17 on: February 17, 2010, 09:58:30 PM »
Sorry guys, I had gotten everything prepared and was just ready when I realized I was out of time. I'll try and see if I can record tut #3 tomorrow.


-Gan
« Last Edit: February 18, 2010, 04:39:03 PM by Gandolf »

DWapps


  • GMG Newbie

  • *


  • Posts: 14

  • I love YaBB 1G - SP1!
Re: My iPhone Game Tutorials for Beginners
« Reply #18 on: February 18, 2010, 05:21:03 PM »
[url] http://DWapps.yolasite.com /url]

Zip of my source is there. I was trying to make program with the black ball/blue background with the ball moving around. For some reason it's not running correctly. Wondering if anyone could tell me what i did wrong.

just stays as a gray screen.



 ???
« Last Edit: February 18, 2010, 05:21:38 PM by DWapps »

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: My iPhone Game Tutorials for Beginners
« Reply #19 on: February 18, 2010, 05:35:38 PM »
On my way home, will see if I can get you an answer within the hour.


-Gan

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: My iPhone Game Tutorials for Beginners
« Reply #20 on: February 18, 2010, 06:06:07 PM »
Bad news, you only uploaded the xcode .xcodeproj file. You gotta upload the file containing it, if you don't than none of your source code will be uploaded.


-Gan

DWapps


  • GMG Newbie

  • *


  • Posts: 14

  • I love YaBB 1G - SP1!
Re: My iPhone Game Tutorials for Beginners
« Reply #21 on: February 18, 2010, 06:14:18 PM »

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: My iPhone Game Tutorials for Beginners
« Reply #22 on: February 18, 2010, 06:21:25 PM »
Your source was perfect except for:
Code: [Select]
background = [self loadImage:@"background" type:@"png"];  

ball = [self loadImage:@"ball" type:@"png"];
Your images have capitalized first letters, so it should be:
Code: [Select]
background = [self loadImage:@"Background" type:@"png"];  

ball = [self loadImage:@"Ball" type:@"png"];


-Gan

Gnome


  • GMG Extraordinaire

  • ***


  • Posts: 1073
Re: My iPhone Game Tutorials for Beginners
« Reply #23 on: February 18, 2010, 06:26:08 PM »
Wow, this stuff is easier then I though! I might start helping you with simple RPG gan!
This Cannot be, NOOOOOOOO!!!!

-Gnomes Cry when the McRib was discontinued again.

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: My iPhone Game Tutorials for Beginners
« Reply #24 on: February 18, 2010, 06:33:53 PM »
Awesome. :)


-Gan
« Last Edit: February 18, 2010, 06:57:09 PM by Gandolf »

DWapps


  • GMG Newbie

  • *


  • Posts: 14

  • I love YaBB 1G - SP1!
Re: My iPhone Game Tutorials for Beginners
« Reply #25 on: February 18, 2010, 06:58:14 PM »
Wow. I can't thank you enough for these tutorials. They're great. Keep it up. ;D
 (get tut 3 out!)

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: My iPhone Game Tutorials for Beginners
« Reply #26 on: February 18, 2010, 08:33:27 PM »
Tutorial #3 is up! Or at least it's trying. Uploading at the moment. Make sure to download the newest template, has new stuff on it.
Ah, sorry guys, I broke the 10min tradition. This tutorial covers new amazing things so I got lost in the excitement and it went to 20min.


-Gan
« Last Edit: February 18, 2010, 08:33:50 PM by Gandolf »

Gnome


  • GMG Extraordinaire

  • ***


  • Posts: 1073
Re: My iPhone Game Tutorials for Beginners
« Reply #27 on: February 18, 2010, 08:35:12 PM »
Main menu? Its getting closer!
This Cannot be, NOOOOOOOO!!!!

-Gnomes Cry when the McRib was discontinued again.

bloodline


  • GMG Newbie

  • *


  • Posts: 4

  • I love YaBB 1G - SP1!
Re: My iPhone Game Tutorials for Beginners
« Reply #28 on: February 19, 2010, 05:11:44 AM »
Hi Gandolf,

I'm totally new to Obj-C and not really sure of the scope of instances... I want my game engine object to be able to send messages to my view obect and vice versa, but as I understand it I need to have a Controler object which has instances of both my view class and my game engine class... Then the controller need to mediate between the two... This is a new way of working for me and will require reworking my game code a great deal...

Second question, I have built custom UIObjects (buttons which are animated), but they need to be animated with respect to the touch input. (i.e. Touch movement cause the icon to change more White if the touch moves up, more black if moves down etc...).. How can I do this, giving realtime feedback, without blocking the main thread of execution (and other animations)?

bloodline


  • GMG Newbie

  • *


  • Posts: 4

  • I love YaBB 1G - SP1!
Re: My iPhone Game Tutorials for Beginners
« Reply #29 on: February 19, 2010, 05:16:13 AM »
Third question... Does the AppDelegate run in a separate thread? What can I use this class for?