Newbie Developer in need of help.

Tyrtael
Unregistered
 
Post: #1
The apple developer site is completely useless to me because its so huge and confusing.

Anyways, I would like to ask someone to make as small a game they can in Carbon (preferably in Project Builder) using OpenGL or whatever you would prefer. I need it to be HEAVILY documented, so I can understand every part.

Anyone willing to do this for me would be very appreciated.
Quote this message in a reply
Moderator
Posts: 608
Joined: 2002.04
Post: #2
I have numerous short examples, none of them, however, use OpenGL. You are welcome to them if you like. Email me joshaber[at]idevgames.com or ino2[at]earthlink.net
Quote this message in a reply
Member
Posts: 116
Joined: 2002.04
Post: #3
IMHO, that won't do much for you.

That's like asking someone to teach you how to do something on your computer, by writing down the steps. It works fine, but as soon as something doesn't follow the steps, you're lost, because you don't understand the underlying concepts.

The way to approach it is to take each piece in turn, and not necesarrily in relation to a game.

For example, start with events. Read the documentation on Carbon event handling and then create a program that prints a message to stdout when you press a certain key. By doing so, you'll gain a basic understanding for events.

After that, you need a menu. Create a menu bar and a menu item, that when selected, will print that same message to stdout. Then you'll have somewhat of a grasp on menus.

Next, create a program that prints the message, but does so to a window.

Etc, etc, etc.

Of course Apple's developer web site is confusing if you're trying to understand it all at once. Break it down into the smallest portion possible, and add on from there.

Wade
Quote this message in a reply
Apprentice
Posts: 19
Joined: 2002.12
Post: #4
Check out SDL. Its a cross platform library for graphics, audio, and input.

The site has many links to games written with it. Many include source.

It integrates well with Project Builder. It also works well with OpenGL.

Or if your interested in basic check out TNT Basic. It looks to have some pretty simple tutorials on writing a few basic games with it.

belboz@cinci.rr.com
Quote this message in a reply
Moderator
Posts: 700
Joined: 2002.04
Post: #5
They're not games, but they are OpenGL, they are the NeHe and (shameless plug? Why notÖ) neheX tutorials Rasp

Mark Bishop
--
Student and freelance OS X & iOS developer
Quote this message in a reply
Member
Posts: 269
Joined: 2005.04
Post: #6
Apple's developer site is actually very easy to navigate. Well, at least for me it is.

Documentation Essentials (the basics): http://developer.apple.com/techpubs/macosx/Essentials/devessentials.html
Carbon docs: http://developer.apple.com/techpubs/maco...arbon.html
Carbon OpenGL docs: http://developer.apple.com/techpubs/maco...pengl.html
Sample code: http://developer.apple.com/samplecode/
2D Graphics sample code: http://developer.apple.com/samplecode/Sa...ics_2D.htm
3D Graphics sample code: http://developer.apple.com/samplecode/Sa...ics_3D.htm
Games sample code: http://developer.apple.com/samplecode/Sa.../Games.htm
GlyphaIV sample code (a fantastic place to start learning games): http://developer.apple.com/samplecode/Sa...yphaIV.htm

If you need the absolute basics of Carbon, then this is where you need to start.
Quote this message in a reply
Member
Posts: 104
Joined: 2002.04
Post: #7
Check out the uDevgame source. I tried to comment my code well enough, and I know others have as well. That would be where I would start if I were you.
Quote this message in a reply
Post Reply