Sign in to follow this  
bxela1

I am a beginner programmer who needs help

Recommended Posts

I need to know what programs i need to start a simple c++ game. FYI: the for beginners section did not help!!!

Share this post


Link to post
Share on other sites
If you don't know what tools to use yet, then you will need to learn C++ before programming a game in it. To run C++ code you should get a compiler, today most people use IDEs, which is integrated development envirorments, they have a compiler, advanced text editor, debugger etc. Microsoft Visual Studio is generally considered the best IDE, it's only for Windows though, and the real version is very expensive. Visual C++ 8.0 Express is freely available from Microsoft. If you want to work with Win32 you'll need to download the platform SDK (step 4 at the link). You could instead download a more lightweight IDE like Dev-Cpp or Code::Blocks, personally I feel these aren't as good as Visual Studio especially the debugger, which you'll use for larger projects.

That is only for programming though in a real game project your artists will need tools, you'll need tools to make audio, you'll need a source control program etc. In your first game you aren't likely to use anything but the IDE though.

Share this post


Link to post
Share on other sites
bxela1, to say it quickly, read what CTar had to say. He brought up alot of valid points and good references. Look around on Microsofts website for the basic tools you need to get started. Learn the language, make some textbased games, move on from there. It'll take a long time though, be prepared to spend alot of time on programming if you want to become any good at it.

Share this post


Link to post
Share on other sites
Quote:
Original post by bxela1
how big is the download for the SDK on a 56k connection?


You won't be able to download Visual C++ Express with a 56k connection I believe it's around 1 GB, but I don't remember the exact size.

Share this post


Link to post
Share on other sites
the SDK is about 400 mb I think, but a with a 56k connection it will still take a while.

Share this post


Link to post
Share on other sites
If you are in the process of learning the language you realy dont need VC++.
Code::Blocks with MingW compiler is fast, light weight and all you need to follow a book or write small projects.
Sure the MSVC++ package has a good debugger and a code completion that actually works, but it is huge (you will also have to upgrade to SP2 in order to use the platform SDK)

Since you are probably not going to make a state of the art, distribution ready game right away, you should realy consider downloading codeblocks or dev-c++ (Games like quake 2 has been developed on dev-c++) and use that for a few days until the MSVC++ download has finished.

Share this post


Link to post
Share on other sites
Quote:
Original post by dbzprogrammer
Hey bud, if you want something small to download, go with Dev C++. http://www.bloodshed.net/

I'll second this, if the Visual C++ and Platform SDK download size are a problem for you Dev-C++ is a good choice; it lacks some of the features of Visual Studio, but it's a lot smaller and beginners often find it easier to set up. Code::Blocks (mentioned above) would also be a fine choice, although I havn't tried it personally.

What you're getting here is an IDE or Integrated Development Environment (definition), which is basically a fancy text editor, a compiler (definition), and a few other tools all built in. You won't need any other software to get started once you've got an IDE.

You'll probably also want to pick up some books and/or tutorials. Beginning C++ Game Programming would be a good choice for a book, and the online tutorials at www.cprogramming.com/ are pretty good.

Hope that helps.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
http://www.google.com/search?client=opera&rls=en&q=source+codes+to+games+like+tetris,+pacman+and+breakout&sourceid=opera&ie=utf-8&oe=utf-8

Share this post


Link to post
Share on other sites
I think you can also order the Visual C++ and the Windows 2003 Platform SDK on CD. You might have to shell out 5 bucks or so, but that will bring you the best avaliable tools for software development on the Windows platform.

Alternatively, you could go and learn C#, which is signicantly smaller to download(300mb) and doesn't require additional software dev kits.

C# is completely different than C++ tho, but probably a bit easier to grasp for you than C++. This is due to the fact that C# doesn't have pointers, and doesn't require you to clean up your own memory.

But, you need to determine wether or not you want to learn C++ or choose a different language like C#.

Toolmaker

Share this post


Link to post
Share on other sites
Quote:
Original post by bxela1
Who knows where to find the source codes to games like tetris, pacman and breakout?

You will hardly learn programming by looking at other peoples' source codes. Get a book, start reading, do the exercises. Leave tetris and pacman alone for another couple of months.

Share this post


Link to post
Share on other sites
Quote:

You will hardly learn programming by looking at other peoples' source codes. Get a book, start reading, do the exercises. Leave tetris and pacman alone for another couple of months.


agreed. I also dunno what I was doing after "modding" after people's artwork. It's good to have strong foundation

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this