?
Solved

beginning game programming

Posted on 2002-05-20
13
Medium Priority
?
362 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

 

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

Introducing Priority Question

Increase expert visibility of your issues by participating in Priority Question, our latest feature for Premium and Team Account holders. Adjust the priority of your question to get emergent issues in front of subject-matter experts for help when you need it most.

Question has a verified solution.

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

For those of you searching for a fun but also medium paced MMORPG game I would highly suggest Ragnarok Online. This MMORPG is a bit older than World of Warcraft and in a way is extremely different. Compared to WoW's 3D environment and massive wor…
As we all know Counter Strike is a very popular computer game. Usually it is played over a network for which people create a server and users join it but it is interesting to know that one can creates a dedicated server which not only hosts the game…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

771 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