Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

RTS game. UNet. How to synchronize structs or classes (unit commands)?

$
0
0
Hi! I am trying to make simplest RTS game.

The question is: how to send the orders (classes or structures) to the server from a client and then back to all clients?

As it's known, many of RTS games use so called command (order) based approach. Every unit has it's own "order queue", and we just put any given order for unit to it's order queue and it starts to execute the orders in the queue.

In multiplayer game, I would like to send (synchronize) only the orders for units between...

RTS game. UNet. How to synchronize structs or classes (unit commands)?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>