Archived

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

Ok I've learned the things in c++ recommended for making games

This topic is 5149 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

Where do i go from here? I''ve learned Funtions, arrays, structures, classes, pointers, amoung many other things. MAde some progrms with them and can do them pretty well, here is my question to you guys? where do i learn graphics on c++ and stuff? or just starting to make games on c++ can u guys tell me? send me links? thanks!

Share this post


Link to post
Share on other sites
Oh, no one told you about the most important part? Try learning to think for yourself. Its great. While your at it look into SDL or allegro. Google is your friend.

[edited by - sagwagon on November 9, 2003 10:00:42 PM]

Share this post


Link to post
Share on other sites
Basically what you need to do is learn a graphics API. ShadowHunter has mentioned the two main ones, OpenGL and the graphics component(s) of DirectX, but there are others that are probably better for beginners. SDL is popular, and I''ve heard good things about Allegro (Allegro community site).

From looking at the front pages of the websites for these APIs, they can seem a bit daunting. The trick is to find some good tutorials or a good book that will guide you through the process of setting up your compiler and putting together some simple programs. Personally, I used the NeHe tutorials to quickly jump into OpenGL.

Share this post


Link to post
Share on other sites
quote:
Original post by Tisephone
...I personally think you should try to make a complete game before learning an API. Tetris can be done well in text mode.
But then, you could make Tetris with only the most rudimentary knowledge of any API.

Incidentally, this article from the For Beginners section provides a very good path for starting to learn game development, and Tetris is the suggested first step.

Share this post


Link to post
Share on other sites
I would suggest you make some sort of semi turn based text base game. Something with simple commands, and make it very short, but try to include some from of an AI, even the dumbest AI will help you think in terms of how to make your programs.

Share this post


Link to post
Share on other sites
I suspect that you probably don''t have as good of a grasp on C++ as you think you do. In addition to being familiar with various constructs and elements, you should also know a bit about algorithms and datastructures (ie: the STL). After you''re familiar with that, I suggest picking up Code Complete, a really useful reference regarding software construction. It will tell you how to plan and structure your projects.

When you do decide to tackle a graphics API, I suggest you familiarize yourself with the inner-workings of it (in a general sense). Knowing how to use an API is one thing, but if you know how the API works at a lower level you can more effectively troubleshoot when problems arise (this means not looking at OpenGL or Direct3D or whatever you use in some superficial manner; like some magical blackbox that does everything for you).

In summation, go over your C++ book to see if there''s anything you missed (if you had to enumerate the various elements of the language you know, ending with "etc," you probably don''t know it well enough) and learn how to use the standard library and the STL. Then when you''ve got a grasp on those things tackle a high level graphics API, but never let it blind you to what''s going on inside the computer.

Share this post


Link to post
Share on other sites
Like Scythe I recommend Code Complete by Steve McConnell also pick up a Windows Programming book of some sort, to make DirectX programs you will need it cause building a DirectX program starts with creating a window. See my post of Book Recommendations somewhere in this forum.

http://www.gamedev.net/community/forums/topic.asp?topic_id=190523

Share this post


Link to post
Share on other sites
I would have to agree, I have tried to learn some of this and some of that, I to would love to make a game, but as they tell you, WIN32 and OpenGl and DirectX are some hard things to learn, unless you have been doing C++ for a while. I mean try to make your own window with what you know, it''s impossible, the most I can do with it, even with instructions is change what the title bar says..lol but i''m a major noob.

It''s nice to meet you in your own forum, hope that you get along well with your game programming, as for me I''m with the basics for a while, maybe you and I can make a Text game? graphics are a bit hard...but if you wanna try you can go....

http://www.gameprogramming.com

I think that that link is still working, I''m not sure. There they have things that you can downlaod tutorials that are in with the source code for OpenGL and stuff like that.

If I helped YAHHHHOOO if not, I''m sorry that I wasted your time..
GOOD LUCK!

Share this post


Link to post
Share on other sites