Discuss Scratch

reallysoftuser
Scratcher
1000+ posts

Have USB controllers added to extensions

creeperyeettt wrote:

would dual joycons work? cause to play normal games with them you need a program so the computer uses them as one controller
I don't think this will be possible, and if it is it will definitely only be for the Pro Controller. Each Joycon counts as a separate Xinput controller, so the ST would need to develop special support only for Joycons to make it possible.
HelloJelloPeople
Scratcher
61 posts

Have USB controllers added to extensions

creeperyeettt wrote:

HelloJelloPeople wrote:

musicROCKS013 wrote:

DaBoi001 wrote:

Adding to that, joycons as plain bluetooth controllers are not rejected, only motion is.
Where is adding motion controls to scratch rejected? It's not included in this suggestion, but that doesn't mean it's rejected. Can you give a citation?
I feel like an easy-ish way of adding motion is with assigning a keypress to when the controller is shaken.


yea that could be a issue as not all controllers have motion (xbox)
It would be possible to have a way to assign buttons (and in this case, controller shake) a keypress using variables, potentially.
Mozboz
Scratcher
500+ posts

Have USB controllers added to extensions




define <controller button pressed (input)?>
if <(input) = (button pressed)> then
return <true>
else
return <false>
Prince_Wolf1
Scratcher
1000+ posts

Have USB controllers added to extensions

Support!
This would be helpful for two player games, racing, fighting etc. and it’d be cool!
-YourLocalPhantom-
Scratcher
1000+ posts

Have USB controllers added to extensions

Support. This will be very good because many people prefer using controllers instead of keyboard for many games. I wish this is in Scratch.
Bran615
Scratcher
89 posts

Have USB controllers added to extensions

Support. It would be cool to play popular games like platformers on a controller.
ajskateboarder
Scratcher
1000+ posts

Have USB controllers added to extensions

Support! JavaScript can actually receive controller events with the Gamepad API, so this is not only possible but quite simple to add to Scratch.
Gamer_Logan819
Scratcher
1000+ posts

Have USB controllers added to extensions


ajskateboarder wrote:

Support! JavaScript can actually receive controller events with the Gamepad API, so this is not only possible but quite simple to add to Scratch.

Good point. If they implement via this, I support the suggestion due to the fact that I wouldn’t have to see everyone argue about this anymore, and it’s simple and cheap for Scratch to add.

Last edited by Gamer_Logan819 (Oct. 17, 2022 17:35:45)

RobotChickens
Scratcher
500+ posts

Have USB controllers added to extensions

Bump
RobotChickens
Scratcher
500+ posts

Have USB controllers added to extensions

bump
-yeldarbnivot-
Scratcher
23 posts

Have USB controllers added to extensions

Support, you'd be able to create harder games with frame perfect movement (since WASD can only go in directions of 45°)
creeperyeettt
Scratcher
500+ posts

Have USB controllers added to extensions

bruh its been what five years?
creeperyeettt
Scratcher
500+ posts

Have USB controllers added to extensions

reallysoftuser wrote:

creeperyeettt wrote:

would dual joycons work? cause to play normal games with them you need a program so the computer uses them as one controller
I don't think this will be possible, and if it is it will definitely only be for the Pro Controller. Each Joycon counts as a separate Xinput controller, so the ST would need to develop special support only for Joycons to make it possible.
there are programs that trick the computer into thinking the two joycons are a single controller so it could work
single joycons would be great for retro games
RobotChickens
Scratcher
500+ posts

Have USB controllers added to extensions

Bump
cs3868895
Scratcher
1000+ posts

Have USB controllers added to extensions

Bumping this, I support.
bananarang-games
Scratcher
56 posts

Have USB controllers added to extensions

-yeldarbnivot- wrote:

Support, you'd be able to create harder games with frame perfect movement (since WASD can only go in directions of 45°)
Also, since analog sticks aren't just d-pad buttons, you can tilt the analog stick just a little bit or all the way and the game could react differently!
RobotChickens
Scratcher
500+ posts

Have USB controllers added to extensions

bananarang-games wrote:

(#1480)

-yeldarbnivot- wrote:

Support, you'd be able to create harder games with frame perfect movement (since WASD can only go in directions of 45°)
Also, since analog sticks aren't just d-pad buttons, you can tilt the analog stick just a little bit or all the way and the game could react differently!
Yes, exactly! This could be used for racing games so people can have accurate steering.
scratchcode1_2_3
Scratcher
1000+ posts

Have USB controllers added to extensions

No support. There is a reason why, but I can't mention it.
Minoru07
Scratcher
100+ posts

Have USB controllers added to extensions

scratchcode1_2_3 wrote:

No support. There is a reason why, but I can't mention it.
i think ik what ur reason is, but not everyone has that reason if it is what i think it is
creeperyeettt
Scratcher
500+ posts

Have USB controllers added to extensions

bananarang-games wrote:

-yeldarbnivot- wrote:

Support, you'd be able to create harder games with frame perfect movement (since WASD can only go in directions of 45°)
Also, since analog sticks aren't just d-pad buttons, you can tilt the analog stick just a little bit or all the way and the game could react differently!
such as you move faster the further the stick goes

Powered by DjangoBB