Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Joysticks don't work properly.
- mantasvk1backup
- Scratcher
5 posts
Joysticks don't work properly.
So I made a update where I added joystick and theres a bug idk where is the problem here is the game : https://scratch.mit.edu/projects/988435503/
- bombardingppl
- Scratcher
100+ posts
Joysticks don't work properly.
what is the bug?
I like scratching. I like math, I like coding, yknow.
You'll find me on the forum, as well as creating projects actively.
try some of my projects, they include simulations, games, math/geometry, all the gud stuff.
- mantasvk1backup
- Scratcher
5 posts
Joysticks don't work properly.
what is the bug?
when the joystick that is connected to player 1 is used player 2 also moves you can see it in the game
- Wolf_Link21
- Scratcher
100+ posts
Joysticks don't work properly.
I don't think you can fix that, there can only be one mouse position detected a a time.
This is dave
:D :: hat :: motionHe protects my from evil kumquats.
Please follow me if you find my response helpful and give me any ideas for my game https://scratch.mit.edu/projects/992371983/
- mantasvk1backup
- Scratcher
5 posts
Joysticks don't work properly.
no its that players 1 joystick also moves player two like on this video : https://youtu.be/lIfee5FOW0o
Last edited by mantasvk1backup (March 25, 2024 18:33:39)
- mantasvk1backup
- Scratcher
5 posts
Joysticks don't work properly.
h
Last edited by mantasvk1backup (March 25, 2024 18:33:54)
- Norse7
- Scratcher
67 posts
Joysticks don't work properly.
Try this tutorial: https://www.youtube.com/watch?v=cI1mdVVvCWY&t=1583s
It helped me do this sort of thing. You just have to do the joystick part twice instead of the button
It helped me do this sort of thing. You just have to do the joystick part twice instead of the button
“It’s not a bug; it’s an undocumented feature.” ― Anonymous
when green flag clicked
forever
change [ awesomeness] by (1)
end
- eefie_gang
- Scratcher
26 posts
Joysticks don't work properly.
log the mouse position in a variable then say if the mouse is within a certain distance to the joystick them the joy stick works but only when its in said distance. the only issue is that the mouse can not be at 2 places at once so the joysticks will not work for 2 players at the same time.
ask [Are you subscribed to Nolswit on Youtube?] and waitCurrently working on: Nuclear Platformer
if <(answer) = [Yes]> then
say [Thank you!]
else
Redirect to [www.youtube.com/@Nolswit]
end
- Discussion Forums
- » Help with Scripts
- » Joysticks don't work properly.