?
Solved

What is the best way to start Game Programming?

Posted on 2002-04-29
4
Medium Priority
?
413 Views
Last Modified: 2013-12-04
I would like to know the best way to start game programming using Visual C++ and DirectX 8 SDK.
I am currently working on my own version of TETRIS but I'm having trouble with sorting out my ides.
0
Comment
Question by:Samir__max
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 5

Expert Comment

by:Jan Louwerens
ID: 6981714
Do you have questions about the programming or the design?
For pragramming, a good way to start is to go through the DirectX8 documentation, and reading through all the examples, and meybe even implement them yourself, to get a good understanding of how it works. That might be a good place to start.

More game programming information can be found at:
http://www.gamedev.net/
http://www.gamasutra.com/

0
 
LVL 19

Accepted Solution

by:
DreamMaster earned 150 total points
ID: 6986298
If you say you are having trouble sorting out your ideas...it sounds to me like the programming itsself is not your first concern.

The best way to start ANY programming project, is to make sure for yourself that you understand every functionality you want to build in.

A good way to start is as global as possible and work things out from there.

For example, for the game of Tetris you want to build, you would start by defining what different game states there will be and what should happen in those states.

For example the game will have:

- IDLE State. (Game has not been started yet)
- Starting State (Game is starting, loading of intro screens, setting variables that are needed further on and that sort of thing)
- Menu state (actually also a sort of IDLE state. The game has loaded and you now have a menu where you can choose to start or set options or things like that)
- Options state (Options were chosen, so display a screen where you can set options, if there are any)
- Game Running state (The actual game is running, here is where the most things happen. Scoreboard updates, amount of lifes left etc...)
- Game end state (The game has ended, here you could update a leaderboard, unload different screens etc..)

These steps (and there are more) give you a framework from which to start...and as soon as you have these steps, go on. Most of the time I start with a purely functional game. Screw the graphics and beautifull pictures...eventhough they are very attractive, they cloud you from what you need...a working game. So graphics I usually implement later.

Games usually take a lot of time to create, so be patient...keep trying, mistakes are bound to be made, but the result...your own created game is well worth it...

If you need any more help, just ask.. :)

Max.
0
 

Author Comment

by:Samir__max
ID: 6989388
Thanx DreamMaster for the advice it helps a lot but i could still use more help with source code for similar games like tetris,
so if anyone has any sites to offer where i can find free code it would be great.

Samir__Max
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6989651
There are some Tetris source codes here..

http://www.ziron.com/links/srccode.htm

and another one here:

http://hem.netlink.se/~sbe10329/

Good luck,
Max.
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you searching for a fun but also medium paced MMORPG game I would highly suggest Ragnarok Online. This MMORPG is a bit older than World of Warcraft and in a way is extremely different. Compared to WoW's 3D environment and massive wor…
As we all know Counter Strike is a very popular computer game. Usually it is played over a network for which people create a server and users join it but it is interesting to know that one can creates a dedicated server which not only hosts the game…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month15 days, 6 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question