Archived

This topic is now archived and is closed to further replies.

Game Programming

This topic is 5736 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I''m a 12 year old who has studied programming for about 4 years. I think I''ll now head off in the direction of C/C++ programming for Windows. I have heard that there are beginning game programming tutorials in the web. Can you guys give me some recommendations on some of these??

Share this post


Link to post
Share on other sites
winprog.org is a good place to ramp up on windows programming.



"There is no reason good should not triumph at least as often as evil. The triumph of anything is a matter of organization. If there are such things as angels, I hope that they''re organized along the lines of the mafia." -Kurt Vonnegut

Share this post


Link to post
Share on other sites
Seriously consider what programming entails. Math is a must, and being able to figure out problems (abstract thinking) is a must also.
Since you have already done a few years (and at 12, I am impressed!) I don''t think you will have much of a problem.
There are some good books that have changed my perspective on programming. OpenGL Game Programming is a great resource for teaching you how to setup a Win32 OpenGL program.
Of course, you want to learn programming in general as well.
Getting to know how your compiler works is a good thing.
Bjourne Strousap (spelling?) is the author of C++. He wrote a book, now in its third or special edition, called "The C++ Programming Language." Even if you don''t understand everything in it, it is seriously a nice resource of terms to look up.

Also, have fun looking up things online or at the library. How many times has someone looked up "error code" and found out a new technique for debugging software or even how to display messages to the user? Or looked up "animation" and discovered that there is a number of different ways to do it, and then looked up "rigid body animation" and found something on "kinematics" which leads to them creating this awesome demo?

Always keep pushing the envelope of what you know. Being able to apply what you know is nice, and it only gets nicer when you know more. B-)


-------------------------
(Gorgeous graphics)+(beautiful sound effects)+(symphonic music)+(no gameplay) != Good game

Share this post


Link to post
Share on other sites
In a way it is, it''s basically just a thing to make 3d and 2d graphics and stuff.

If you care about her/him, you''''ll listen
If you love her/him, you''''ll heal his/her wounds
If you like her/him, you''''ll do all of the above, and help her/him in need

A person who cares is a person who never speaks

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
8. how can you study programming at 8. its mad. how do you do it.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by Anonymous Poster
8. how can you study programming at 8. its mad. how do you do it.


Maybe his zero button doesen''t work,

quote:
Original post by GoldenOne
Hi, I''m a 120 year old who has studied programming for about 40 years.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
An 8 year old and a computer can have a lot of fun. Especially if circumstances come about that the computer is a better thing than going out and getting shot in a neighborhood or having everyone pick on you in a extremely negative light.

I programmed on a Texas Instruments(don''t know what model or what), and, at age 8 wrote a music program that would play a song for approx 3 mins while a robot dance to it with neon lights flashing.


Anyhow, congrats on preparing to start now. Find that programming book mentioned and "Teach yourself c++ in 21 days" whcih you can find for free(and it''s everywhere to view) over the internet.

I ran a search on eBay and found a few other windows programming books < $10 USC. Included were, Teach yourself Visual c++ in 21 days, Tricks of the windows game programming gurus, and win32 sdk.

You can download a decent compiler thru borland c++ or over at www.bloodshed.com . They have the Dev-C++ compiler/IDE which a lot of people, not wanting to shell out $85.00 for Visual c++ 6.0 use. There are a few problems with this and DirectX together, but there are a lot of forusm across the net that can show you how to overcome this.

Stick with it all, and take as many math courses as possible. While you do that, and learn c++ and assembler, you should also do some searches thru Artificial Intelligence sites, as well as some networking stuff when you are ready. The AI stuff can be used while programming as basic methods will stick in your head!

Anyhow, that''s just a few things.

Take it easy, and very good for you starting out this early(watches out for the kid to make sure he doesn''t take his job in 4 years)

Hasta!

Share this post


Link to post
Share on other sites
Do u think a 16 year can work at Blizzard Entertainment and make StarCraft II?

If you care about her/him, you''''ll listen
If you love her/him, you''''ll heal his/her wounds
If you like her/him, you''''ll do all of the above, and help her/him in need

A person who cares is a person who never speaks

Share this post


Link to post
Share on other sites
Thanks for all of your replies so far. And yes, I''ve STUIDIED programming and have programmed since 8. I got hooked after reading a magazine article a long time ago. And I got even more hooked on games when I was 10, by Starcraft. Now, I''m starting on a basic Tetris game, entitled "The Sky Will Fall!". I hope to become a succesful dude in this field.

Share this post


Link to post
Share on other sites
Well I applaud your bravery in starting early, good for you. But you have to accept the fact that there are things that only maturity can bring. Another thing, don''t let your head get too big too fast. 4 years is a good start but you need heck of a lot more experience, not even with games, but programming in general, and problem solving in general. In the process, there are things that only time can mold, responsibility, tactness, discretion, and "seriousness". I''m not saying you are not serious about pursuing your goal, its clear that you are determined, but I''m not sure you''re being realistic. But maybe you are you just need to slow down a bit and tackle things one by one and make sure you understand, not know. There are a lot of knowhows in programming, but its not what you know that makes you a good programmer. Its the disgretion you take when you solve a problem, the approach you take when implementing an algorithm, etc. If you say you want to be the best dude in this thing, well don''t just say it. Its good to start early but don''t forget, you have a long road to take. and 4 years of garage programming doesn''t mean crap when you stand up against the maturity of people who''ve written servers, operating systems, satellite tracking modules and the like. And even if you don''t need to program those beasts, you need to learn and understand a whole deal of storytelling, what makes and sells a good story, a good game. characters, plots, quatrinions, hidden surface algorithms, collision detection etc...man you''ve got work to do and knowing it doesn''t cut it. You need to understand the meat and use it as tools in creating or solving problems that are yet to be faced.

hey was that a good speech or what? well, dude, hooray for you but if you get your head too big too fast, you''re not going anywhere. knowing a lot of things is different from understanding simple things and using it effectively.

GL

Share this post


Link to post
Share on other sites
I always give the same exact advice. Want to make games? Go make them You''ve already know some programming, maybe it''s the time to do your first game, some basic game you can finish in a week or so. Start it, but most importantly, finish it, and then go for a second, a third, and so.

If you need help with some difficult part of the development process, just post here your doubt and somebody will reply with help. Articles are very useful too, but if you want my little advice, work harder in trying to make finished projects than in reading about tons of stuff you won''t ever use at all.


--DK
--H. Hernán Moraldo
http://www.hhm.com.ar/
Sign up to the HHM''s developers'' newsletter.

Share this post


Link to post
Share on other sites
Ofcourse an 8 year old can code. I looked back on some Qbasic games I made when I was about 9-10 maybe.

I wasn''t really good at English back then. This is just hillarious

This is the beginning of one game I started on(I couldn''t find my full/longer games):


  
REM THE ULTIMATE WAR
CLS
PRINT "R"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT "AR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT "WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT "E WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT "TE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT "ATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT "MATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT "IMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT "TIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT "LTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT "ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR"
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " ULTIMATE WAR "
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " TULTIMATE WAR "
FOR I = 1 TO 2000
NEXT I
CLS
PRINT " THULTIMATE WAR "
FOR I = 1 TO 1000
NEXT I
CLS
PRINT " THEULTIMATE WAR "
FOR I = 1 TO 1000
NEXT I
CLS
PRINT " THE ULTIMATE WAR "
FOR I = 1 TO 1000
NEXT I
CLS
PRINT " THE ULTIMATE WAR "
FOR I = 1 TO 1000
NEXT I
CLS
PRINT " THE ULTIMATE WAR "
FOR I = 1 TO 1000
NEXT I
CLS
PRINT " THE ULTIMATE WAR "
FOR I = 1 TO 1000
NEXT I
CLS
PRINT " THE ULTIMATE WAR "
FOR I = 1 TO 20000
NEXT I
''Play scale in 7 different octaves
scale$ = "AABBFFGGEEAABB"
PLAY "L16"
FOR I% = 0 TO 2
PLAY "O" + STR$(I%)
PLAY "X" + VARPTR$(scale$)
NEXT I%
BEEP
CLS
LOCATE 10, 10
PRINT " IT HAVE WAR ON THE EARFH THE FOUR WORD WAR!"
PRINT ""
PRINT "
"
PRINT "
"
PRINT "
"
PRINT "
"
PRINT "
"
PRINT "
"
PRINT "
"
PRINT "
"
PRINT "
"
PRINT "
PRESS ENTER TO CONTINUE"
PRINT "
"
INPUT LLLLLLLLLL$
CLS
PRINT "
ENTER YOUR NAME:"
INPUT NAME$
CLS
LOCATE 10, 10
PRINT "
WELCOME "; NAME$;
FOR I = 1 TO 50000
NEXT I
K:
CLS

PRINT "
YOU ARE A ROOKY THE BEST YOU CAN BE IS A GENERAL"
PRINT "
UNDER STAND?"
INPUT SVARJ$
IF SVARJ$ = "
YES" THEN GOTO JA:
IF SVARJ$ = "
YES SIR" THEN GOTO JAU:
CLS
PRINT "
WHY DID YOU NOT UNDER STAND?"
PRINT "
I WILL REPEATE WHAT I SAID!"
GOTO K
JA:
PRINT "
GOOD!"
FOR I = 1 TO 40000
NEXT I

H:
PRINT "
REMEMBER I ARE YOUR GENERAL WHAT EVER I SAY YOU DO?IS THAT KLEAR!"
FOR I = 1 TO 80000
NEXT I
PRINT "
GOOD!"
GOTO VIDARE
JAU: CLS

PRINT "
THATS GOOD THAT YOU SAYD YES SIR!"
GOTO H
VIDARE:



That''s just cute

/MindWipe

"If it doesn''t fit, force it; if it breaks, it needed replacement anyway."

Share this post


Link to post
Share on other sites
lol MindWipe, brings back memories...

I miss those days when I wrote text adventures in BASIC on the IBM PC junior, then on the C-64.

Too bad I gave up on programming for the next 15 yrs.

Share this post


Link to post
Share on other sites
I don''t have a big head. I just stated that I wanted to be succesful in the field. That''s the BASIC goal I''m setting. I''ve written 5 or 6 text games with battles and such. Also, I''ve been taking online courses for about 2 years now. I took the Intro to C++ about 4 times to get a VERY strong foundation. And again, I''m writing a tetris clone, "The Sky Is Falling". Now, I''m beginning to take a Intermediate C++ course. And to be honest, I''m ULTIMATELY serious about this. This is my career path I want to take. I go to Barnes and Noble that''s nearby almost every day to intake some more stuff about programming and to answer some of my questions. I''m 10000000000000000000000-> % serious about this.

Share this post


Link to post
Share on other sites
Now you''re making jokes? :''(

Well, I''m not using anything like DirectX or OpenGL. Yet... Just making console programs. Basically, all I''ve done in the 4 years is this. The first two years: studied overall about programming itself and some of the languages. Did lots of research in this time. I figured out that I basically wanted to use C++. The last two years, I''ve been studying about C++ and getting again, a VERY STRONG FOUNDATION.
-----------

Share this post


Link to post
Share on other sites