Language/Tutorial/Info

Member
Posts: 29
Joined: 2007.08
Post: #1
Hullo, like wilkey92, I am determined to learn how to program for games and/or program my own very, very* small 2D game engine.

I have three questions on this matter. Please respond only if you have real information that would help me.

I am using a G4 Macintosh with Mac OS X 10.4 Tiger.

• The first question is what language should I start with? C+, C++, Cocoa?

• The second question is exactly where can I find everything I need to learn it.

• The third question is that I really want to learn C (And eventually C++) for game engines. Is this possible with my computer?

Thank you very much.
Quote this message in a reply
Moderator
Posts: 624
Joined: 2007.09
Post: #2
1. Cocoa is not(I think) a language. Cocoa is a set of frameworks. I like Objective-C, but I haven't really tried game development so I don't know how suitable it is.

2. I don't know of any books since I haven't really looked, but there's information all over the web, if you're willing to spend more time googling than coding. I took the google approach(for learning cocoa), and strongly recommend books. Rasp

3. I see no reason why it would be any less possible than any other language.

Places to look…
http://www.idevgames.com/forum/showthread.php?t=14803
http://www.idevgames.com/forum/showthread.php?t=11896

GIYF,

- LG

- Lincoln Green
http://www.binkworks.com/
Quote this message in a reply
Moderator
Posts: 3,579
Joined: 2003.06
Post: #3
First question: Start with C. Also, Cocoa is an API, not a language.

Second question: There is no one perfect place to find everything you need to learn everything about programming. There is a great book I can recommend on how to learn to program C on the Mac though: http://www.spiderworks.com/books/learncmac.php

Third question: Yes.
Quote this message in a reply
Oldtimer
Posts: 834
Joined: 2002.09
Post: #4
...and if you're primarily interested in getting your feet wet, and creating a simple game, I heartily recommend getting into Python (the game) and Pygame (the game creation framework).
Quote this message in a reply
Member
Posts: 312
Joined: 2006.10
Post: #5
Fenris Wrote:...and if you're primarily interested in getting your feet wet, and creating a simple game, I heartily recommend getting into Python (the game) and Pygame (the game creation framework).
Or even better than Pygame, Pyglet! Smile
Quote this message in a reply
Moderator
Posts: 683
Joined: 2002.11
Post: #6
I second pyglet. People probably shouldn't be recommending Pygame anymore. It's bloated and is pure SDL.

My web site - Games, music, Python stuff
Quote this message in a reply
Member
Posts: 29
Joined: 2007.08
Post: #7
Thank you for the help guys.

Fenris, I don't want to make a game. I want to make it's engine.
Quote this message in a reply
Moderator
Posts: 683
Joined: 2002.11
Post: #8
PatrickA Wrote:Thank you for the help guys.

Fenris, I don't want to make a game. I want to make it's engine.

No need to be picky, an "engine" is more or less just a content-free game. All of our suggestions still stand.

My web site - Games, music, Python stuff
Quote this message in a reply
Member
Posts: 29
Joined: 2007.08
Post: #9
Aha! I thought Pyglet was a game but I see now that it's not.

Would pyglet be better to know then C?
Quote this message in a reply
Member
Posts: 59
Joined: 2007.12
Post: #10
Google tells me pyglet is a multimedia library for python. It may be easier to start with pyglet, but usually you need to learn C sometime later for speed-critical programs (which is not too difficult once you know another similar language).
Quote this message in a reply
Moderator
Posts: 683
Joined: 2002.11
Post: #11
C isn't for beginners. Also, C's libraries aren't for beginners.

My web site - Games, music, Python stuff
Quote this message in a reply
Moderator
Posts: 624
Joined: 2007.09
Post: #12
Why can't he learn C?

- Lincoln Green
http://www.binkworks.com/
Quote this message in a reply
Member
Posts: 29
Joined: 2007.08
Post: #13
I can, it's just that it's not meant for beginners. But, I'll probably learn it anyway.

Thanks, I'm going to get some pyglet tutorials right now. Cool
Quote this message in a reply
Moderator
Posts: 3,579
Joined: 2003.06
Post: #14
C, itself, is perfectly fine for beginners. It's just that doing anything more than a command line tool isn't necessarily so easy because you'll have to learn other API(s) to do more complex stuff like graphical games.
Quote this message in a reply
Member
Posts: 29
Joined: 2007.08
Post: #15
Well, it may be hard, it may be tough...but I'm gonna learn it. Ninja

My main ambition is to make a little 2D game. Thats gonna be soooo fun!...I can't wait. Cool
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  is There any OpenGL tutorial with C language?? Goomba 8 11,354 Jan 24, 2009 10:14 AM
Last Post: ThemsAllTook