I was thinking about mixing UDP and TCP in my game.
My game is a very simple game, you’re piloting a tank in field that you look down onto (top-down). You use ASDW and mouse to move around and fire at other tanks (other players).
I’m thinking about using UDP to send player input information to a dedicated-server, and let it calculate the game state of all players, and then the server sends back via UDP the new state of all players.
TCP I was going to use to do client/server formal procedures, like get game world info; log-on to server, send to server player name, check if server is full, get score of players.
Is that the right way to do it? UDP for frequent updates, TCP for infrequent but essential updates?