SnpM / LockstepFramework

Framework for lockstep RTS, TD, and MOBA games.
MIT License
1.38k stars 347 forks source link

Question about the deterministic physics system. #174

Open JoshHux opened 4 years ago

JoshHux commented 4 years ago

Hi! So, I want to use the deterministic physics portion of the library, but I want to use my own netcode (the project I'm working on prefers rollback). Is there any way to separate the networking portion from the deterministic physics portion?

KnutHaraldR commented 3 years ago

From what I remember working on this, I got the commands serialized myself and sent/handled over the network, but I don't think you get away from digging around alot in the codebase and change stuff up. I had some painful git merges afterwards to get the new version, but if you make comment every place you edit the Lockstep framework, updating will be easier.