Hi,
I have been recently coding a basic directx11/c++ FPS game where player can walk on a simple terrain.
I want to start implementing simple multiplayer functionality, my game will be two(or more) players join to server and shoot each other until someone wins the game. Yeah very basic I know.
I have couple of questions:
- Are there simple tutorials/example of how to handle packages/connection/data via UDP so I can sync player positions and some other simple data between players? Maybe some very simple fps skeleton of game would be best to learn from.
- How should I implement the server, I'm thinking I could setup my own domain and run server on it. Any ideas how to have player join to this server from their clients and then join to some "room" where they are in the same game?
- OR, if this is very hard to implement, I could connect players directly from clients.
- I know it is not easy to implement this, but Im patient and want to learn it!
Thanks,
tone