IMP1 / silent-running

Submarine stealth game
0 stars 0 forks source link

Rework Server/Client responsibilities #6

Open IMP1 opened 7 years ago

IMP1 commented 7 years ago

I think the server should handle the movement of the player, and the client should just send its inputs (hold left for X seconds. The client can still move the player as well, but when the server sends its position that will be the new position. Maybe also position should include velocity.