Hello guys,
Lately I have been trying to make a bgame using gamepads, but I would love to keep the keyboard available for "player1".
The thing is, I spawn my 4 players using the same object but spawning a difference instance, with a variable instance "ID" growing (0-1-2-3).
Then when I use the keyboard, I specify, "pick the player with player.id=0" and simulate the 8 direction. so that's basicly :
keyboard -> when left arrow is down
player -> pick instance with player.id=0 --> simulate 8 direction pressing left
But when I do that, I launch the game, and all my players instance are moving with the keyboard, at the exact same time.
Would you happen to know what could cause this ? I can't seem to find the answer... verifyed the id etc, all seems correct !
Thanks a lot,
Mael