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

Hiding variable information from certain clients

$
0
0
I am planning/developing a card game using UNet. I am stuck on figuring out how to ensure that only the appropriate player will be able to see info about their cards when others should not, such as cards in his/her hand.

My initial thoughts were to have a cardID that would assign the appropriate card image, card text, etc. client-side once a card is spawned; the cardID would be initialized to 0 (which would have a blank card image and text to prevent cheating), but if the local player is...

Hiding variable information from certain clients

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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