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

Networking simple PvP game

$
0
0
Hi

This is driving me nuts at the moment!

I'm trying to add networking to my two player game. At the moment the mechanic is simply a bunch of cube assets on a flat plane that have a color. When a player collides with a cube it is changed to their color.

I am using Raycasting against box colliders for all collision detection for player movement and for detecting the collision with the box. On a Raycast hit I send a message to the cube that was hit with the player color to change to.

How...

Networking simple PvP game

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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