Monday, August 4, 2008

New layout started


No new stable version today. Started working on new layout and changing the last few things that need to be gemmified. Screen shoot above is 1/2 o new layout in unstable version. Spent a bit too much time trying to make ring gems look nice.  I will have to put that aside till the gem rings are the worst looking parts of the GUI. Lots more ugly things to fix first.

Need to think about how I will synchronize running on two (or more) machines. First guess is run it live all machines with one machine running master. when a sigificant event happens on the master send it to other machines. For example any collision that triggers something. Triggers that cause destruction of an object will have to disabled on slave machines, so that only collisions have to be sent not that data needed to resurect an acidently destroyed object.

Also slave machines will have to send player actions to master.  I think a queue with a slight delay so player on master machine does not have an advantage may be the best way to handle this. As thing is hopefully more of a think ahead game than reaction game opefully that won't affect game play too much.

No comments: