I'm developing a game and it is intended to be a multiplayer game. I have experience in writing servers and clients in Java, but the game is written in C++. The server will be written in Java for sure.
I have 3 questions:
- Am I forced to write the client in C++ ?
- If not, is there a way to write the client in Java as well, and somehow communicate with the game program?
- The game includes characters moving. Is the correct approach to calculate the positions of every dynamic object on the server and for the clients to only receive the current positions of everything from the server? The only thing the clients would send is their input(click, spell casts etc.).