I'd suggest you go to www.planetsourcecode.com and search for 2D programming tutorials under their C/C++ section.
Or even easier, just go straight to www.gamedev.net :)
Hope this helped
Main Topics
Browse All TopicsHI can someone please help me.
i'm interested in getting into game programming and would like to program a tetris game for practise, can anyone recommed a site with good tutorials for programming tetris or other 2D games, i'm using C at the moment, and am just starting C++?
thanx in advance :)
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I'd suggest you go to www.planetsourcecode.com and search for 2D programming tutorials under their C/C++ section.
Or even easier, just go straight to www.gamedev.net :)
Hope this helped
www.gamedev.net is always a good start for beginning gameprogramming. there are especially many tutorials for your needs.
i'd suggest you to look http://www.flipcode.com/tu
:)
http://nehe.gamedev.net/
has excellent opengl tutorials in c++
Take a look at the SDL (www.libsdl.org), a cross-platform multimedia library with a nice and intuitive C interface. It allows you to do 2d graphics, 3d graphics (using OpenGL), audio and input event handling.
Besides that, there are a number of extension libraries for image loading in various formats (SDL_image), audio mixing and music playback (SDL_mixer), network programming (SDL_net), etc.
There are a loads of links to games (mostly hobbyist, some commercial) on the SDL site, including many simple ones. The majority comes with sources.
The SDL documentation is reasonable and contains many examples for setting up the video display, blitting images to the screen and more.
Hope this gets you started.
I've got an Asteroids clone on my website called AsteroidArena you could try out. The source code is there
for DX8 (soon to be updated), so that might help y'out..
http://www.wazooenterprise
hth,
if i were you i would start off really easy and get into Flash programming. People over look this as an amazing tool for creating practically anything you want. its not exactly programming but the action script that it uses has some programming traits. Flash can be as easy or as simple as you want it to be. I wouldnt do a project this big in C++ if you are new.
Other alternatives is Visual Basic - basically for the factt that it automatically creates an interfacwe for you....you now have to work out all the programming bits.
C++ - but dont go mad....create a text based fruit machine, this will get you used to the classes and the object orientated world that is C++
For the love of god get a book. Sams c++ in 21 DAYS... not hrs is a very good book to get you all the basics.
My only advice tho is to really start VERY small and make sure that you understand everything you are doing cos it can all get complicated very quickly. If you need any more specific tips then mail me at rholding2000@hotmail.com
I am positve http://gamedev.net has a tutorial for game programming beginners. The site will explain almost everything you need to know!
If i were to make a computer game as a beginner again i would make something like space invaders or tetris. I would familiarise yourself with 2D game programming before you go onto 3D.
"Can anyone help?"
Business Accounts
Answer for Membership
by: ged325Posted on 2003-10-02 at 13:39:37ID: 9480204
www.opengl.org