I am new to working with multiplayer and my code got messy fast, very simple start to a game but already having issues.
The number one issues that is bugging me at the moment is a slight jerk in the movement right after one of the larger pumpkins spawns a smaller one on the peer side but not host side.
Second would be fixing the view following host and peer.
But anyway it would be awesome if someone could go through the file and leave comments in it on how to improve the code and maybe on dealing with future lag or bugs. Please.
http://www.filedropper.com/nmlmp009