Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old May 23rd, 2006, 7:13 PM   #10
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,107
Rep Power: 5 lectricpharaoh will become famous soon enough
Okay, things you need to know to write a game include general program logic and basic I/O (you need input from the user, after all). You also need to learn how to validate that input, so that your program doesn't puke on its shoes when the user does something 'wrong' (which users do quite often).

Other things that you will likely need to learn are:


  • File handling- otherwise, you cannot save/load games, high scores, etc, or dynamically load graphics at runtime- in other words, all the graphics would need to be embedded in the .EXE, which is generally an inflexible approach)
  • Graphics- depending on the type of game; text adventures, for example, don't need graphics, but the vast majority of games today make heavy use of them. Also, how you handle graphics varies from system to system, and even on one system, there are various ways to do it.
  • Sound- most games also rely heavily on digital sound effects and music. Like graphics programming, sound programming is highly dependant on the target platform.
  • Data structures- things like linked lists, binary search trees, and the like. These are important in most games programming, just as they are in regular applications or systems programming, but in games, there is an emphasis on choosing the fastest algorithms, so even if you don't learn to write your own, you at least need to learn how to pick the most appropriate ones to use.
So, as you can see, there's lots to learn, especially for games programming. Besides, as to your original question, maybe if you offered a little more information (what kind of game, etc), it would help.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:29 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC