Discuss Scratch

GigiDrone
Scratcher
17 posts

How to make a joystick

Hello! I'm making a game that requires a joystick. Does anyone know how to do the coding/process for that? Thank you!
codeman1044
Scratcher
1000+ posts

How to make a joystick

I might be wrong, but I believe that a joystick handles the same as the arrow keys. That would be something to test.
StrangeMagic32
Scratcher
1000+ posts

How to make a joystick

this has a Joystick and Button layout that you can rip, but it may be a little hard to understand…
https://scratch.mit.edu/projects/320504022/
GigiDrone
Scratcher
17 posts

How to make a joystick

Thank you so much StrangeMagic32 I'll see if I can work the code out.
GigiDrone
Scratcher
17 posts

How to make a joystick

CodeMan1044 Thank you! I'm still deciding if i want to use command on arrow keys or with the mouse though
codeman1044
Scratcher
1000+ posts

How to make a joystick

Why not make an option when starting the game so you could select either one? Or try both?
GigiDrone
Scratcher
17 posts

How to make a joystick

codeman1044 good point…the game I'm making controls a drone (front, back, left, right, and altitude (up, down)), so both sets of control is a good option. Thanks
Horse284
Scratcher
3 posts

How to make a joystick

GigiDrone wrote:

Hello! I'm making a game that requires a joystick. Does anyone know how to do the coding/process for that? Thank you!
Umm go to youtube it has everything I recommend Griffpatch
agoti1365
New Scratcher
1 post

How to make a joystick

GigiDrone wrote:

CodeMan1044 Thank you! I'm still deciding if i want to use command on arrow keys or with the mouse though

Powered by DjangoBB