Sunday, February 20, 2011

Some cleanup and general improvements

I've gone ahead and made XMLImageLoader and TextConfigLoader into static classes so they can be easily accessed around the entire program without shoving references of them everywhere.

I've also cleaned up some code, and added some new variables into the cfg:


#Global Game Settings
#start_speed is measured in milliseconds. the higher it is, the slower you will start off.
#300ms default
start_speed=300
#food_speed is the amount that a snakes speed will be modified when eating food. higher is slower.
#0.95 default, between 0 and 1
food_speed=0.95

I'm considering adding something like "max_speed", but not sure.

Anyway, now what needs to be coded in is:

- Adding of food
- Adding of snake body parts
- Adding of the secondary player
- Actually loading the players' respective keyboard configuration
- Possibly adding keyboard events instead of shitty input polling that XNA uses

Also, I'd like to take this moment to announce that Skyler Sharpe will be becoming a member of our team as a graphics artist. He's going to provide some imagery for this Snake game, so I'm going to hold off on posting any screenshots until he's sent them to me.



And on a more personal note, I've had some health problems these past few days, so it's been very hard for me to do anything. On top of this, I'm moving, and my new landlord is just absolutely fucking me over as best as he possibly can, so things are very stressful. I apologize for my lack of daily updates as promised, and assure you they will exist as soon as everything gets straightened out in my life (which shouldn't be too much longer). Thankfully, I'm not the only programmer on this team, so I believe Matti will be able to pick up the slack. I'm unsure if I'll be able to do any more work on this project, but there really isn't too much that has to be done. It's honestly too bad, too, since I really do feel online multiplayer could've been done without much hassle. Maybe we'll come back to this project in a few weeks from now and throw in some net code.

No comments:

Post a Comment