question

Hello, So im trying to make a multiplayer game using unity so what is the best option to render the map Make the client access the database and retreive map values OR client send a request to server side while server access the database and send it back to client note: the map is large its 100 * 60 So I will have to compress it
3 Replies
Jimmacle
Jimmacle11mo ago
what kind of game? unless it's something relatively slow/turn-based you probably shouldn't be hitting a database at all while the game is loaded but if you must, don't expose the database directly to the player
Anchy
Anchy11mo ago
depends on the type of map, if its procedural it would probably be better to transmit it to the client in chunks. if you are using a static map that never changes then you can have it already on the client need more information
𝔄ℑ𝔇𝔈𝔑
𝔄ℑ𝔇𝔈𝔑OP11mo ago
So basically players can can create thir own map its so its not static they can build or break blocks etc
Want results from more Discord servers?
Add your server