Solved

beginning game programming

Posted on 2002-05-20
13
328 Views
Last Modified: 2013-11-12
i want to learn how to make my own games. how do i start learning how to do this? any sites aout there that will help me?
0
Comment
Question by:nikmagid
13 Comments
 
LVL 4

Expert Comment

by:bluezoo7
Comment Utility
Not necessarily for beginners, but here are some good resources:

gamasutra.com, flipcode.com, gamedev.net
0
 
LVL 2

Expert Comment

by:zechis
Comment Utility
Learn to program first.  The industry generally uses C or C++ for most commercial games out there.

Then buy books, lots and lots of books.
0
 
LVL 5

Expert Comment

by:Jan Louwerens
Comment Utility
Another good place for learning game coding in an academic environment is at:
http://www.gameinstitute.com/
0
 

Expert Comment

by:rrbf
Comment Utility
Assuming you already have some rudiments of C,
you can use www.libsdl.org, it's a cross platform
library. it has lots of interface to make the harder things
possible, is fast. then you may pick cpp, but as
skills advance, typically you'd rather want to go down
rather than "up", most professional game programmers
bend toward assembly to get the most out of the hardware.
it's not that hard and brings lots of light to how it works.
That's the top-bottom approach.

If you don't know C, you may need only 2-3 books that
many said it can suffice for a lifetime:
- The C programming language, K&R.
- C: A Reference Manual , from Harbisson.
Check out also http://accu.org/ for other references.
Later If you got time to read, read code from
experienced programmers, rather than books.
time is precious.

Game programming is lot of fun and enjoyment.
Excellent for mental health points.

- Boris


0
 
LVL 1

Expert Comment

by:David MacDonald
Comment Utility
If you know a bit C++ you should buy the book: "Trick of the windows game programming guru"

It's one of the best in my opinion, for someone who begins game programming, assuming you want to do it using C++...

Cheers!
0
 
LVL 1

Expert Comment

by:effectstudios
Comment Utility
Well,
game programming is one hell of a job.I myself am a beginner. Now, i am saying this not to scare you but just so that you are aware of the facts. It requires a huge amount of patience, you keep popping up with unexpected issues and problems, plus you will probably have to write source code that exceeds a few megabytes of size.

But for the actual answer.
As everybody has said, learn c and C++ if you don't already know it.
Then i would suggest you get comfortable with OpenGL. Visit www.opengl.org for information.
Try to get someone else who has similar interests, this will make things more fun. Plus there are too many areas to handle alone, like physics, AI, sound programming and all.
As already mentioned,flipcode.com, gametutorials.com,gamasutra.com are good resources.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Expert Comment

by:C1AzadNizam1C
Comment Utility
You could write games using C/C++ or Java.
A good website would be: www.gamedev.net ,if you have experince in C/C++ this would help a lot.If you know C functions and arrays this would help you a lot.The games industry mostly uses C/C++ for making games.
Asad.    
0
 

Expert Comment

by:perlhack
Comment Utility
Hi.

I am a fellow beginning game programmer. My recommendation would be to learn the fundamentals of C++ programming before tackling gaming.

Why C++? For one, it is very common among the best of games, including Return to Castle Wolfenstein. Two, it is very powerful and fairly easy to learn. Three, it can be both object oriented and sequential, which is a bonus because you get to learn both concepts.

I, personally, had a little trouble deciding which game library to use. Primarily, there are DirectX and OpenGL. Supporters of both will defend their claims. My choice became DirectX, since it has remained very up-to-date and is quite functional. If you want a simple library, you might try libCON (however, it's slow).

If you are impatient, like me :-), try this website:

http://www.32bits.co.uk/

It quickly teaches you how to create a win32 window, then steps progressively into DirectX game programming.

Hope that helps!

$perlhack
0
 

Expert Comment

by:strangemoose
Comment Utility
If you are looking to start out simply, check out http://www.allegro.cc, and http://alleg.sf.net.

Allegro is a 2D game library. It supports DOS, Windows, Linux, and most Unix's With X installed.

For me, using Allegro has helped quite a bit, the people at allegro.cc, and on the allegro, and agp mailing lists are freindly, and helpfull.

If you want to do all the Higher level code like line, rect, polygon, triangle, rectfill, elipse, etc, then by all means DirectX or SDL is for you, but If you'd rather skip all that, and start writing a game, I'd suggest Allegro.
0
 
LVL 1

Expert Comment

by:xorcrack
Comment Utility
follow your heart to freedom.
0
 

Expert Comment

by:dkkelso
Comment Utility
A lot of people might disagree, but I prefer diving into the API I want to write in.  Instead of simply buying LaMothe's next book (not knocking him, he is great), I would get a book that is based soley on the API.  It makes it easier on you, and generally includes more information on building up to where you need to be to actually program your game.

If you learn C, and want to use OpenGL. I recommend (like anyone) the Red Book (OpenGL Programming Guide) and OpenGL SuperBible. The SB deals a lot with Glut, but it is strictly C, no C++.

The Red Book is the Holy Grail of API books, far as I am concerned, and, luckily for you, you can find it online.

http://fly.cc.fer.hr/~unreal/theredbook/

If you haven't learned a language yet, DO THAT.  Do not dive into any game programming book if you haven't.  Don't let the math scare you, there isn't much to it. (Well.. the book will get you through the hard parts).

I can't recommend any sole DX API books (haven't read any) but if you really want to give DX a try - LaMothe has plenty of them (not AP but game programming, with a touch of the API - it doesn't cover everything you need in the API (that is what the SDK is for I suppose), but it is as good a base as any.

Sams makes great books on languages.  I would suggest picking up C or C++ (your choice) in 21 days.

But if you don't have the cash, go here:

http://www.gametutorials.com/Tutorials/tutorials.htm

And then pick your poison.  All of their tutorials work you up, and they all build on the last one.  Anything new is heavily commented.  It is an excellent site.

Just remember, anyone who got into this field never left without kicking and screaming.  You can't expect to be the next Carmack, so don't try.  Do what you are capable of at first, then build on that.  Keep building, and who knows, all of us might be playing something you wrote in the future :)

Kelso
0
 

Expert Comment

by:CleanupPing
Comment Utility
nikmagid:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 

Accepted Solution

by:
AnnieMod earned 0 total points
Comment Utility
Question PAQ'd and 50 points NOT refunded

AnnieMod
CS Moderator
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you are interested in the gaming world and want to try World of Warcraft, I'd recommend this basic set of add-ons to get you started.  All add-ons are available either by Google search or on Curse.com. For the person who doesn't want to get in…
What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now