Data Driven was complete as of 10-ish pm last night. Lobby got done around 4-5am. Currently working on getting the data networked and getting ships moving on opposite screens. So tired...
Also, this song goes with anything: http://www.youtube.com/watch?v=U0qdaTTS53M
Friday, June 10, 2011
Thursday, June 9, 2011
Ugh
I think I got queues and stuff working, but there's some bugs I need to stamp out still. I keep second-guessing myself and wondering if what I'm doing is correct. This isn't as easy as the whole Data Driven practice homework we did. While I understand we had more time to work on this, it sucks having my focus split in 4 different directions. Speaking of which, I have two other papers to write up, as well as studying for my Java final to get done tonight.
I don't think I'm getting sleep.
I don't think I'm getting sleep.
Monday, June 6, 2011
Why network games...
...when you can spend that bandwidth watching amazing videos like this:
http://endlessvideo.com/watch?v=f_7BVZOZ5DA
Getting back onto the data driven train. I hope to get this done before the sun comes up. That video shall help me tonight.
http://endlessvideo.com/watch?v=f_7BVZOZ5DA
Getting back onto the data driven train. I hope to get this done before the sun comes up. That video shall help me tonight.
Sunday, June 5, 2011
And it's the SpacewarData that really Drives me Insa-a-aaane.
Alright, after scrapping my last attempt which was going horridly, I think I'm getting a good basis going for this current attempt. I made data classes similar to the original classes are made. There's a base ItemData that has position, velocity, rotation. Then there's the ShipData, AsteroidData, ProjectileData that inherits from ItemData. Not as far as I'd like to be, but I need a break;
SpaceWar Hell
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
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
Subscribe to:
Posts (Atom)