Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Breaking up the GAME module
09-24-2012, 06:20 AM, (This post was last modified: 09-24-2012, 06:22 AM by NaN.)
#2
RE: Breaking up the GAME module
The client server concept is good even for non networked application. The idea is to move the simulation into a separate thread anyway.

The issue you will have to deal with is latency. But then it is a racing sim not a FPS. I'd say go ahead and see how it works out.

Btw there is StuntRally https://github.com/stuntrally which is based on VDrift and has network/LAN support. They are using prediction/correction and run the simulation on clients and correct the velocity/position. I haven't really looked into their code, not sure how they deal with the latency when calculating the state correction.
Reply


Messages In This Thread
Breaking up the GAME module - by wyuka - 09-24-2012, 04:51 AM
RE: Breaking up the GAME module - by NaN - 09-24-2012, 06:20 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)