Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

How does the client command the server in Javascript?

$
0
0
My friend and I are working on an online FPS game, and right now we can't solve this problem. We want to have it so that when the client player hits the zombie, it commands the server to decrease the health of the zombie by one, because the way it is right now it only decreases the health for the client, and when the client kills the zombie it doesn't die for the server. We are very inexperienced so sorry if we are missing something obvious. Please help!

Viewing all articles
Browse latest Browse all 1875

Trending Articles



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