Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 16874

How can I send coordinates over Enet?

$
0
0

Heya,

 

So I was making a multiplayer game engine demo that I hoped would look similar to Goldeneye.

 

I got connections working, but I ran into the issue of sending more than one coordinate at a time.

Here is a video of the demo:

 

 

As you can see, I can only send the character's X coordinate. 

My overall question is how I can send more than one packet at a time or send X, Y, and Z coordinates in one packet. 

 

Thank you in advance,

-Ryan


Viewing all articles
Browse latest Browse all 16874

Latest Images

Trending Articles



Latest Images