- Home /
2 virtual joysticks controlling 2 different game objects ( players ) pls help
Hi I actually found someone answered this question but it didnt helped me Pls help me with this, I need 2 Virtual joysticks to work for my 2 players to be controllable first player works coz he is the first one that I made but the second player doesnt it is uncontrollable btw I copy pasted it in my scene and tried to changed everything but still doesnt work Ill provide a picture of it btw its a 2D mobile game im working on :D but im a noob
I need it to work like the game called "supreme duelist" where it has 2 joysticks for player 1 and 2 and they can move around with it at the same time
Post your player script. You'll need to structure it in a way that it only controls your player, based on the horizontal and vertical axis of the joystick.
oh hey I actually made it work by making those 2 canvas far from each other so I can make 2 of them work :D im actually sad when I saw this question to have no answer for like 8 hours :< and fixed it by myself by accident :D
BUt still thanks for caring for my question :)