Object Views

I prototyped an object view class to implement the multiplayer system defined in this gamasutra article. Here it is (it’s a C++ file, but I had to rename it to .c to get wordpress to link it): Object View Prototype

Why it’s cool:  it’s a generic class that can attach to an object, track some parameters, and then serialize data (currently only a text “serializer” is implemented, but it would be trivial to write a binary one).  If the object changes, and you re-serialize, only the parameters that changed are serialized.  Code for de-serializing isn’t written yet.

Comments are closed.

Dev Journal and Project Hosting