All Forums
 Technology
A question for computer programmers

 Printer Friendly
 
Author Previous Topic Topic Next Topic  
enigma
PF Advisor


USA
1016 Posts
Posted - 02/13/2003 :  19:37:37  Show Profile Send a private Message
Hi all,

I've been playing around with the idea of making a computer game for a while now, and I've got a question about the planning stages.

Is there a "best" software to use when outlining the framework? For example, if I were to start writing down interrelationships between objects: setting up class inheritances, outlining functions, etc.

Is there a software package which easily allows you to keep track of each class, perhaps setting up links or popups or such to other interrelated objects?

... or do most people just use paper/pencil?


enigma

"Life is the crummiest book I've ever read. There isn't a hook; just a lot of cheap shots, pictures to shock, and characters an amateur would never dream up."
-Bad Religion
Stranger than Fiction


Alert Mentor now

Soveraign
Radio Wave


USA
20 Posts
Posted - 02/14/2003 :  01:07:13  Show Profile  Send a private Message
I can't really speak to the software that is helpful for this phase of tracking to the degree you mention. The most detail I've ever found useful was a good object model. I've been out of this area for a couple years now, though, so I cannot recommend good software to help you out.

One thing I like to stress though is having a clear set of requirements. In defense you typically see this as the list of "shalls". More specifically it's a list of what the software "shall" do (e.g. The software shall process wave forms within 0.1 seconds). Now defense is pretty admin heavy, but this basic idea applies everywhere. Having very clear requirements of what your software will do can help immensely with keeping you on track and building a balanced product.

Sorry I couldn't be of more help, but it's an impulse for me to get my $0.02 in there. I wish you the best of luck!



Alert Mentor now Go to Top of Page

J-Man
Visible Light Wave


USA
744 Posts
Posted - 02/24/2003 :  21:15:52  Show Profile  Send a private Message  Send J-Man an ICQ Message
I'm an unorthodox programmer.
I usually start by writing down requirements, ideas and strategies in notepad. Then I make a framework or outline of the program. Basically a top-down approach. Make an outline and fill in the pieces. I often make changes on the fly which is why it takes me longer to write a program than I initially thought. I usually have 2 to 20 text files with information specific to the program.

One consideration to keep in mind:
-Scalability.
This means make your routines as generic as possible. From things such as screen size, object creation, sound, etc. For example, if your program works great in 1024x768, will it look right in 800x600? If you use sound, what happens if the user has no sound card? Maybe you should check.
Scalability enables you to (1) reusable code, (2) prevent some machine dependent errors, (3) make the app look right independent of the resolution.

Specific example:
Suppose you are drawing a graphics sprite 10 pixels wide and high. You want it to be initially placed in the center of the screen. You are using 800x600 resolution. You could program it to be displayed at x = (800 - 10) /2 and y = (600-10)/2. However if the person using your program is using 1024x768 resolution the sprite will appear in the upper left quadrant of the screen. It would be better to program it to be displayed at x = (screenwidth - spritesize)/2 and y = (screenheight - spritesize)/2. This will allow any screen resolution and sprite size to be positioned correctly.

Hope that helps. I might add more later.


This message was written entirely with recycled electrons.

Alert Mentor now Go to Top of Page

Greg Bernhardt
Radio Wave


USA
2001 Posts
Posted - 02/24/2003 :  21:19:10  Show Profile  Send a private Message  Visit Greg Bernhardt's Homepage  Send Greg Bernhardt an ICQ Message  Send Greg Bernhardt an instant message
Microsoft Visio is great for organizing, planning and then communicating your projects.

http://www.microsoft.com/office/visio/default.asp

Also, if your into .Net programming, Visual Studio.Net keeps track of everything for you.

admin@physicsforums.com
http://www.physicspost.com

Alert Mentor now Go to Top of Page

ObsessiveMathsFreak
Infrared Wave


Burkina Faso (Upper Volta)
282 Posts
Posted - 02/27/2003 :  12:11:17  Show Profile  Send a private Message
Forget it.

A game is a behemoth of a project. Programmers spend months just planning it's structure before even touching code.

The days of a single person making games in their bedroom are long since gone.

You could always make a simple game if you had the time, but I stress, even this will be a harrowing experrience.

It would be a lot easier if you were working in a group of some sort.


"May the maths be with you"

Alert Mentor now Go to Top of Page

STAii
X-Ray Wave


Jordan
1376 Posts
Posted - 02/27/2003 :  17:57:29  Show Profile  Send a private Message
I mainly do not make any plans for little projects.
In medium projects i use notepad just as J-Man said, isn't notepad great ?
In big projects i start to try to make some drawings, but this alwasy fails with me, and i end up with a big map of lines that mainly mean nothing to me, so i prefer to leave the map in my brain, and start working (therefore most my programs turn into failures ).
I heard there is a program called Microsoft Projects, never used it thought !

"Don't try to teach colors to a blind person"

Alert Mentor now Go to Top of Page

enigma
PF Advisor


USA
1016 Posts
Posted - 02/28/2003 :  03:07:06  Show Profile  Send a private Message
quote:
Originally posted by ObsessiveMathsFreak:
Forget it.

A game is a behemoth of a project.


Oh, come on!

No, actually, I'm fully aware of that fact. Making a game is just a pipe dream of mine.

I'm frustrated by the types of games which are being developed in the US. I don't like FPS, and I got tired of RTS after Red Alert. The last three games I actually enjoyed for more than a day were either made by German companies (mainly for European release) or released online only.

For me now, the real underlying reason why I'd like to do something (even if it's just a shadow of what I've built in my mind) is because I'd like to teach myself how to do some things with CG. I'd never have the time to actually finish a game as well as finish my degree, but I could probably learn some basic OpenGL and not fail in the process.

enigma

"Life is the crummiest book I've ever read. There isn't a hook; just a lot of cheap shots, pictures to shock, and characters an amateur would never dream up."
-Bad Religion
Stranger than Fiction

Alert Mentor now Go to Top of Page

nowonmai
Radio Wave


Ireland
26 Posts
Posted - 03/05/2003 :  14:27:44  Show Profile  Send a private Message  Send nowonmai an ICQ Message
get your hands on DarkBasic.. much better than crappy C++ for doing games stuff



Alert Mentor now Go to Top of Page

Greg Bernhardt
Radio Wave


USA
2001 Posts
Posted - 03/05/2003 :  15:31:00  Show Profile  Send a private Message  Visit Greg Bernhardt's Homepage  Send Greg Bernhardt an ICQ Message  Send Greg Bernhardt an instant message
Oh yeah, I forgot about good ol darkbasic. It's is pretty neat. http://www.darkbasic.com/

admin@physicsforums.com
http://www.physicspost.com

Alert Mentor now Go to Top of Page

STAii
X-Ray Wave


Jordan
1376 Posts
Posted - 03/05/2003 :  16:17:52  Show Profile  Send a private Message
I had darkbasic, did work a lot on it, but i prefer to work in enviroments where you have FULL control on your work (line by line ), so dark basic was not really what i would be looking for.

Will This Be My Last Signature ?

Alert Mentor now Go to Top of Page

   

 Printer Friendly

 
load time: 0.6885