View Full Version : FlipSquare Tutorial
I'm not sure if there is a better place to ask a question about this tutorial so I figured I'd post it here. I have completed part three of the tutorials and, without errors, i do not get a blue rectangle. I'm not sure where I went wrong but I could post some code. If you need to see code and know which files there are (because you've done the tutorial) ask and I'll post the code. Again there are no warnings or errors so I have no clue where to begin looking. Thanks for any help.
EvolPenguin
2004.07.16, 10:28 PM
maybe ask at the cmg forums, because that is where it is hosted.
Other than that... are you sure you put the color that the rect is supposed to be, or maybe you forgot an awakeFromNib call.
Alex
Tasnu Arakun
2004.07.18, 08:01 AM
since you haven't gotten that far yet the easiest approach is to doublecheck your code against the original. make sure that "- ( void ) displayPlaying:( NSRect )rect" int GameView.m is actually being called. the drawing itself is so easy i find it unlikely that's where the error is.
there's a thread over at cgm dedicated to the tutorial.
Thanks for the help. I figured it out and finished all the tutorials.
BeyondCloister
2004.07.19, 06:11 AM
Thanks for the help. I figured it out and finished all the tutorials.
Glad to hear you got it sorted.
So now for the big question - did you find that the tutorials actually helped you?
I think the tutorials helped me a lot. It was the first game I had made on the Mac. I know how to set up for games in Cocoa now. I was very pleased with the knowledge I gained from the tutorials. I only hope there may be more to come.
borges
2004.07.19, 08:40 PM
Like SimReality/Nick, I found the FlipSquare tutorial very helpful. This was the first programming I've done since I dabbled in Think Pascal on my LC630 back in tha day. I feel much more confident in my understanding of how Cocoa and Xcode work, and now I'm applying the information in your tutorial to actually moving a square around the screen. Whoo-hoo!
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.