Dec 4, 2007
Burning the Midnight Oil
Not because I have to, but because I wasn’t feeling tired, so I thought I would spend the night working on my Snowball fight game. So I picked up some new tracks from iTunes, and went to town. I want to get this thing working really well for my networking class. I still have 10 days to finish it, for that deadline. So, we’ll see how far I get, but there are a few things that I will not even be worrying about until after the deadline. Modes (yep, modes!), menu screen, user interface, and …. AUDIO… Come one, don’t you want to ping your buddy over the head to the tune of a remixed Jingle Bells? I think (or hope) I can mix something good together. ![]()
I have 2 1/2 weeks until my next semester class begins (Jan 2nd). So, by Christmas Eve, I hope to have this thing fully decked out for distribution.
I figured I would update the blog with my progress this evening.
Well, my systems were not designed exactly right, particularly how I was dealing with players being introduced to the server and client. Luckily, it wasn’t bad at all to fix. I was also having some fun trying to get the client and server to work from the same application, but I eventually got them working. That was mainly due to downloading boost and needing to get a little familiar with it. I particular wanted it to use it for Threading. Right now, I just bump a thread to handle the code that will accept a new connection.
For testing purposes, the server can drop in players, up to 6 (or however many is defined), onto the game map. Collision detection works fine, the players move around just fine (one at a time), and things look like they’ll work well from a data transmission point of view.
This might look familiar to you, from a few entries ago. But, now we’ve got some multi-colored jackets.
Which makes me wonder if you’re thinking, “Multi-colored jackets? How do we…”
Free for All.
Manipulating the map is simple. I have plans to drop in my Calix Map Editor with the download so the server master can create a custom map, and transmit that new map to the connecting players. So, the mode of gameplay will be: Teams, and Free for All.
But, before all that, I’m going to get back to the code. Next up is to finalize the code for communication between the server and client(s).





