After setting up the network manager I made two player spawn and move around however this was the intention and it did not work, however I will be looking around to solve the problem. Right now one player moves but it is not updated on the other screen which seems to be pretty weird.
Anyhow , photon has some interesting methods built right into it which requires the user to add a using photon namespace into it like most libraries do in C# but that is not all it also has the photon.punbehaviour interface which is needed before anything photon related can be used in the project . one of the cool things that they have is a virtual method called OnJoinnedLobby which is triggered when the player is joined the lobby , in here a piece
After some research I found out that the transform was not being observed in the photon inspector.
Networking does not seem to be working wherein the transform is not being synced over the network even though it seems to be connected, after some searching I found out that the transform was not being observed.
For the rest of the week we were having a recap into math’s as we usually do this time in the trimester which is usually a queue for the studio 3s to continue working on our projects, although it finished the players movement syncing over the network which was a huge feat for me as I am also focusing on studio .
Comments
Post a Comment