I have been struggling immensely trying to make a co op beat em up game.
At the moment I'm basically trying to get 2 players to grapple each other, and vault over each other, like in Streets of Rage.
I did eventually get it working but I'm sure my approach is garbage, basically when 2 players collide I always have the player with id 1 (the host) run the grapple code, and the other player run the code for being grappled.
However what I really wanted was for player id 1 to decide everything, then set the values on player 2 directly, but I can't seem to do that, the values never change when player 1 tries to change it directly on player 1. So it must be some multiplayer security thing.
So I have no idea if I'm doing this right with my current method or if there is a better way.
Hello,
I have been struggling immensely trying to make a co op beat em up game. At the moment I'm basically trying to get 2 players to grapple each other, and vault over each other, like in Streets of Rage.
I did eventually get it working but I'm sure my approach is garbage, basically when 2 players collide I always have the player with id 1 (the host) run the grapple code, and the other player run the code for being grappled.
However what I really wanted was for player id 1 to decide everything, then set the values on player 2 directly, but I can't seem to do that, the values never change when player 1 tries to change it directly on player 1. So it must be some multiplayer security thing.
So I have no idea if I'm doing this right with my current method or if there is a better way.
Hope you can help.
Thanks in advance.