Is it possible to program good computer games in C, or is it best to learn C then move on to C++ and then worry about creating computer games?:confused:
Printable View
Is it possible to program good computer games in C, or is it best to learn C then move on to C++ and then worry about creating computer games?:confused:
>Is it possible to program good computer games in C
Yes, you can do anything with C.
>or is it best to learn C then move on to C++ and then worry about creating computer games?
Learning both is always a good idea. Most of the time it takes quite a bit of experience with the basics to even begin writing a decent text game, much less something graphical.
-Prelude
So how would I go about starting to program computer games?:(
Also, how do I begin to become more confident in using C?:confused:
>So how would I go about starting to program computer games?
Start simple, then work your way up.
>Also, how do I begin to become more confident in using C?
The best way is to work with C and ask a lot of questions.
-Prelude
What are good first games to program and where can I get more information about it?Quote:
>So how would I go about starting to program computer games?
Start simple, then work your way up.
:cool:
>What are good first games to program and where can I get more information about it?
If you have no programming experience then a number guessing game is the best to start with, then text based tic-tac-toe, maybe a simple RPG. Try www.gamedev.net for more information on where to start with the graphical aspects.
-Prelude
>If you have no programming experience then a number guessing game is the best to start with.
I have programmed a game called "Find the Hurkle" where the program generates two random numbers which relate to the "Hurkles'" position within a two dimensional array(10 by 10). The user gets a set number of attempts to guess the position by inputting numbers. The user is told whether the numbers are higher or lower depending on the random numbers generated(see the Query thread) and this continues until either the number is found or the user runs out of goes!
>then text based tic-tac-toe, maybe a simple RPG
meh?:confused:
Well your 'Hurkle' game seems like a great start for writing games. Did you know that the windows operating system and the quakeII engine were both written in C? When Prelude said that you can do anything in C, she meant it!!! Your role playing game could be easily done, you can have it all be text with words and the user enters commands (I think everyone starts out this way).
For example:
"You have entered the dark dungeon, would you like to continue or go back?"
and then the user inputs either 'Continue' or 'Go Back'
The only bit of advice I can give you that I don't think anyone else will is to not let yourself get too frustrated with programming. I just thought I'd throw that in there :)
>then text based tic-tac-toe, maybe a simple RPG
>>meh?
tic-tac-toe = Naughts and Crosses for us English folk ;)
RPG = Role Playing Game, a text based adventure game.
I startet do program in C once and I
haven't done anything else, yet... :)
It is always good to start with C to learn
the basics and then, after some C coding
move to C++ or even VC++. I wouldn't
start with C++. A good and interesting
book is "Absolute Beginners Guide to C".
And after you got through this book you
can mind about changing to C++ or even
stay at C and learn some better coding...
Have fun! C is a good way to start... :)
For a few commercial applications written in C, i could note:
Quake 1,2,3
All quake game engines are written in plain C.
as you can see, C is very powerful tough ;)
Thanks for the help guys!
:cool:
It has been my experienced that although C++ unknowingly know C they seem baffled by syntax. Therefore, I suggest learning C first. If you aren't new to object oriented programming and already know C you can learn C++ in an extremely short time.
I also want to point out that you can make a game using almost any programming language.