perspective game design:a overview of current code

  • From: "Tyler Littlefield" <tyler@xxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Mon, 1 Jun 2009 10:47:29 -0600

Hello list,
I was wondering if someone would mind looking at some code I set up.
Basically all the game is is "shoot the plane down." but I'm more worried about the code aspect, whether I could do things better, etc. Two thing I've noticed, that I'm not sure how to solve: sometimes the plane engine stops, until you hit a key or move. Also, when the game ends, the window still stays open; I'd like to kill the game, though I'd have to kill the previous thread, then the one it's currently in or something similar. Other than that, I've been told the code is decent; others thoughts would be good, too.
the source (with sounds) is at:
http://tds-solutions.net/XShoot.zip
Again, it's not ment to be a full game, just something to help me get familiar with game design. I'm working on ideas for another game, though that one is going to be a lot more advanced.
Another question I have, is related to 3-d work.
I'd like to build a mapping system of sorts; I was thinking about using something like the CVS format, that would have something like:
tile_type,sound
that would hold the type of each tile and the sound, then the tiles would just be arranged as defined by a header. I need to set it up so that the sound plays (which shouldn't be to hard, after the world is initialized), but I would like to use sounds relative to the player. So, for example, if a player is at 2,2, the waterfall at tile 1,1 would be behind and to the left.
Is there an easy way to set that up?

Thanks,
Tyler Littlefield
Web: tysdomain.com
email: tyler@xxxxxxxxxxxxx
My programs don't have bugs, they're called randomly added features.

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts:

  • » perspective game design:a overview of current code - Tyler Littlefield