How can I make joystick?

In my game I need to make joystick that work in pc but I don’t know how can I make it?

@yaustar

1 Like

See: Touch screen joystick

hi thanks but
your link is expired
https://playcanvas.com/project/607704/overview/old-on-screen-joystick

I couldn’t use nipple js

also I saw this but it just work in android it not work in PC
https://playcanvas.com/project/443562/overview/m7-uf5--touch--joystick

Try my link again. I forgot it was a private project.

Yep, because it only shows the joysticks if there is a touch screen device. Easy enough to change.

I couldn’t change it can you help me?
you’re my only hope in the world

@yaustar
finally I wrote my joystick
https://playcanvas.com/editor/scene/727478

1 Like

Hi sir, can you show me how to custom the joystick?

Hello @Toan_Nguyen_Xuan! You can click on the project link above to see how it is done.

Hi @Toan_Nguyen_Xuan,

Also check out this thread. It might be helpful: