What kind of game should I start out making for a begginner programer??
What kind of game should I start out making for a begginner programer??
depends are you using and API such as directx or opengl or just c/c++?
My fist two games were completely text based. Tic-Tac-Toe and Connect4
But as far as a real game with actual graphics, my first was tetris. Although Pong would probably be the easiest.
Sounds good it depends upon your intrests and what you want to learn. It is always a plus if it is an original idea. I consider myself a beginner and am working an a multiplayer space duel program. In the process I have been learning opengl, posix threads and berkly sockets.
The amount of reading I have done makes this fairly simple idea a big task and already I am running into hitches and questions as I learn. I anticipate I will not finish until next summer as I am attending school and don't have much time for outside studies.
My advices is pick a subject like probability trees and AI or opengl start studying and begin developing a game based upon what you are learning.
I am learning C++, so I would like to create one in C++. I am not going to do OpenGl, Direct X, Direct3d, ect... until I am out of high school so I may have the actual time to do such a thing. So, should I create Tic-Tac-Toe or something? I really don't know where to start off, and what elements of programming I need to know to make such a game, some help would be much appreciated.Originally Posted by linuxdude
You could make a pong game. There would probably be a bigger chance to use objects in pong than in tic-tac-toe. Plus you get to learn collision detection as well which you'd have to learn eventually anyways.
Yeah I have actually made pong with pure c++, except... you will need to use the system() command to clear the screen each frame.
If you're hell-bent on using pure standard C++, you're not going to get far. Everybody needs some non-standard functions whether it's to set the cursor position, to clear the screen faster than with a system call, or for nicer graphics ([shameless plug]GDI is cool![/shameless plug]). I would suggest you at least get some code on setting cursor position and clearing the screen (that uses some Windows API code, but you can just copy and paste it). Then you can build pong, or a text-based rpg, or whatever you like.
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.
Well, I just want to be able to create a simple game in C++. I have given it some thought, and I mite probibly try out some Direct X after I make a game or 2 in C++ (and after I learn alot more) But where I am stuck is the fact that I have no idea how to start programming a game. What aspects of programming do I need to know? I know I would need to know Functions, and Classes. But, I don't know what else I would need to know. Could someone help me out with my problems? Thanks alot.
It's about the same as programming anything else. Basically you receive input, process the input and maybe update stuff (enemies, player stats, etc), and generate output. Why not search the forums for pong or something similar and look at their source to see how they did it?
This is a good place to check: http://www.gamedev.net/reference/start_here/
>>What aspects of programming do I need to know?
STL containers like std::vector, std::list, std::map, std::deque. Vector and list are the most important ones. Also read up on pointers and references. Then read up on _kbhit() or your compiler's equivalent if one exists, because it's useful if you don't want cin to stop your whole program from running while it waits for input.
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.
What hunter said plus with games you really need to focus on loops. Also working with member functions in your classes helps save you alot of work . Id pesonally recommed allegro because it's fairly easy to work with.
Woop?