So, I’ve started making a game in which I want multiple people to be able to fight each other alongside AI. I decided that I should get the base mechanics working first a simple AI, Weapons, Movement, Animations, Models, Ect. I made it single player assuming that it would be easy to then make it multiplayer once I had refinded the concept, however I am now facing quite a few problems in doing so. Firstly Because all the players use the same base character they seem to share a health variable and I am not sure how to solve this furthermore when a player attacks on one screen they can see their attack animation but it cannot be seen on the other players screen.
I’ve tried searching around for answers but haven’t seemed to find much that can help me so far, any help would be greatly appreciated.