ashoulson / RailgunNet

A Client/Server Network State-Synchronization Layer for Games
Other
154 stars 21 forks source link

Individual tick-keys for object sync #13

Closed ashoulson closed 8 years ago

ashoulson commented 8 years ago

Can do this by:

Packet contains overall basis tick Each entity contains offset tick (-1 to -60 or so) from basis tick

ashoulson commented 8 years ago

State function should probably be something like

Decode(RailEntity entity (could be null), RailState basis, Tick serverTick)