I want to create simple a multiplayer 2D game with tanks ( cooperative ) in C# with .NET. I also want to keep it simple, because it is only a semester project, and unfortunately i don't have time to learn additional game engines like Unity.
So, can i do it without Unity, XNA or other game engine ? If yes, here is an architecture/design problem that i am facing: How should i notify the two players regarding the position of the other player on the map, the position of the bullets and the position of the enemies ?
- Should i query the server at 50-100 ms intervals and get a list of JSON messages containing positions and states ( a tank exploded ) ?
- Should i send a message from server regarding a bullet let's say, bullet no.1 started from x,y heading on axis y, then in the client, i will draw it until i will receive like an interrupt in case it hits an obstacle ( a tank that was passing by) ?
The first option seems more simpler, but it will kill the server in a real life ( 100000 players ) situation. The second seems like on overkill and over-engineering from client side.
Any other suggestions ? Thanks