Pages

Sunday, January 11, 2015

Back to work

What Got Done

  • State synchronization for units over the network.  It used to be very easy for networked games to get out of sync, especially when the game was running at different framerates on different machines.  This new solution has the host's units periodically send out their locations, and then the clients can then speed up or slow down to match the host.  So far this has been working really well, but there is still more testing to do.
  • Smooth movement for units.  New way to move units that doesn't involve rigidbodies.  They face the right direction now too!
  • Lots of working with Jonathan on particles.  We are starting to get the hang of Particle Playground and actually make some cool stuff.
  • Some refactoring on Unit classes.  As I started setting up scripts for integrating particles with the different units, I found some limitations with the current setup which was making it very difficult to get information like the current target that a unit is attacking.  I spent a good amount of time refactoring the flow of information and made certain bits more accessible to outside classes.

What's Next

  • More particle work
  • Unit behaviors
  • Pulling in new models to the project
  • Environment?
Total time:  36 hours

No comments:

Post a Comment