Long absence is long. Having 1 200-level + 3 300-level courses that all involve me programming on my final quarter in this university has been a whole lot of chaos. Unfortunately this project got put on the back burner while I worked on finishing my capstone, but now that that's out of the way, it's time to steamroll this thing.
Looking at all of the SpaceWar code all at once was quite a head-ache. Not knowing what is going on and having to insert breakpoints and wander the call stack to find out what's calling what. I'm starting to get a hang of how this is working, but making the dataQueue has been not that easy.
Like my data driven practice, I made separate classes that hold the key data. AsteroidData holds necessary data for an asteroid, ShipData holds necessary data for a ship, etc. The problem I'm coming across in my mind is that once I enqueue the data, how do I tell exactly what object that is for? Sure, let's say I have an asteroid data's position and velocity. Which one is that for? :s
It might help if I get a client-server architecture set up first, but not sure. Today is gonna be a lot of trying to figure this out. Finals week, ho!
Also, this has nothing to do with networking, but this has been stuck in my head ever since one of my friends posted it: http://www.endlessvideo.com/watch?v=6b56jeNcxhU
No comments:
Post a Comment