Skip to content

Latest commit

 

History

History
executable file
·
30 lines (25 loc) · 712 Bytes

README.md

File metadata and controls

executable file
·
30 lines (25 loc) · 712 Bytes

game-networking

A simple game-like networking program that uses client-side prediction and entity interpolation. The project is based on Valves description of basic networking for the Source engine, read here.

Watch demo: http://youtu.be/52AQqD_kKPY

Start server

Run in terminal:

./server 1024

Start client(s)

Run in terminal:

./client localhost 1024 3d

Controls

3d-controls:
  • WASD + mouse look
  • Space: Move up
  • Left ctrl: Move down
2d-controls:
  • Use arrow keys
Other:
  • F1: Toggle debug mode
  • F2: Toggle prediction and interpolation
  • Escape: Quit