Solved

beginning game programming

Posted on 2002-05-20
13
340 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
ID: 7025662
Not necessarily for beginners, but here are some good resources:

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

Expert Comment

by:zechis
ID: 7025848
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
ID: 7027938
Another good place for learning game coding in an academic environment is at:
http://www.gameinstitute.com/
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Expert Comment

by:rrbf
ID: 7073150
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
ID: 7075865
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
ID: 7102840
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
 

Expert Comment

by:C1AzadNizam1C
ID: 7142491
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
ID: 7242587
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
ID: 7271323
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
ID: 7313904
follow your heart to freedom.
0
 

Expert Comment

by:dkkelso
ID: 7333837
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
ID: 9464368
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
ID: 9797159
Question PAQ'd and 50 points NOT refunded

AnnieMod
CS Moderator
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Cited: Konstantinos Dimopoulos URL Cited From: Article from Indie Games: http://indiegames.com/2012/07/browser_game_pick_the_grid.html The Grid (http://codeelf.com/games/grid/) is the sort of game I haven't played in over 10 years. It is …
Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

778 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