BigMacintosh / Parking

Year 3 Games Project
MIT License
6 stars 0 forks source link

Investigate input-based networking #84

Open ghost opened 4 years ago

ghost commented 4 years ago

What Do You Want? To test out sending inputs to the server, and then using a tick-state-based method of interpolation etc

How Do We Do It? http://www.codersblock.org/blog/client-side-prediction-in-unity-2018

RileyEv commented 4 years ago

If you plan to capture the inputs in a different place from the drive controller (probably likely) could you let me know, currently trying to think of a way to stop keyboard commands controlling the car when escape is pressed.

ghost commented 4 years ago

If you plan to capture the inputs in a different place from the drive controller (probably likely) could you let me know, currently trying to think of a way to stop keyboard commands controlling the car when escape is pressed.

Probably will want to do this. It's not a huge deal if we do it in the wrong way/an incompatible way at first tho since it would probably be easy to fix and if we do end up going with this method the vast majority of the changes are gonna be unrelated to the specific client-side key handling.