Multiplayer replication of non-player entities.

August 17, 2025 at 04:57 PM
163 views 1 replies
ConservativeSuperlative
ConservativeSuperlative
User
August 17, 2025 at 04:57 PM

A tutorial or "Quest" explaining how to properly replicate the position and rotation of a non-player entity would be extremely helpful. Essentially, how to add an accurately replicated sphere to the multiplayer demo that all players can kick around. I'm struggling with modifying the network packages to include the position of the "gameball" as it exists on the server and adjusting the "gameball" location on the clients accordingly. I'm left with my closest attempt resulting in a ball that is visible by both server and client, but does not replicate it's position...

P.S. - Guilherme, you are doing the indie-dev community a huge service with this site, as well as Cave. Awesome work, much appreciated! God is great!

Replies (1)

Stuart Ford
cryptoviper
User
October 10, 2025 at 02:00 AM

I haven't created a project in Cave yet as I was waiting for 1.3 to start my project... but, if there are network messaging APIs in the engine, it should be easy to broadcast entity creation messages to all attached players.

Join the Discussion

Please login or create an account to reply to this post.