Hi,
Not sure if this goes as a snippet… Also not sure if its totally a Showcase topic either…
Anyway, here is my version of some of the samples of networking code I found on the Forum
Big thanks to:
EdBighead - [url]Client Side Prediction Example] for the prediction stuff and general state updates
bigfoot29 & Yellow - [url]Panda3D network example] for the core networking code layouts and general comunication between server and client
I hope people find this useful and easy to use, just ask I’ll gladly help if possible
I didn’t want to paste each file here so I made a GitHub Repo to hold the code.
https://github.com/MJ-meo-dmt/netPanda
At the moment it can handle 2 clients connected to a server, movement updates work just fine. Ofc it needs massive fine tuning but this should only be a sample/example
Thanks and if any problems feel free to contact me.
MJ-meo-dmt