Discuss Scratch
- Discussion Forums
- » Suggestions
- » Have USB controllers added to extensions
- Marc92020
- Scratcher
1000+ posts
Have USB controllers added to extensions
please be constructive and explain why you support SUPPORT
saying “support” adds nothing to the conversation
- therealRedStrider
- Scratcher
18 posts
Have USB controllers added to extensions
Support.
Both TW and extension we don't talk about have it already but they just convert the controllers input to keyboard controls.
If this was officially added then we could have true analog stick movement(Not to mention the possibilities for gyro).
Rumble is also a great suggestion as not just controllers but some phones and tablets have that feature.
Both TW and extension we don't talk about have it already but they just convert the controllers input to keyboard controls.
If this was officially added then we could have true analog stick movement(Not to mention the possibilities for gyro).
Rumble is also a great suggestion as not just controllers but some phones and tablets have that feature.
- CZSuperboy
- Scratcher
100+ posts
Have USB controllers added to extensions
Support.
Both TW and extension we don't talk about have it already but they just convert the controllers input to keyboard controls.
If this was officially added then we could have true analog stick movement(Not to mention the possibilities for gyro).
Rumble is also a great suggestion as not just controllers but some phones and tablets have that feature.
when I receive [actually good support post v]
broadcast [lots of applause v]
(cool signature BTW)
- doggie523
- Scratcher
14 posts
Have USB controllers added to extensions
actually, scratch team has said that this idea is not rejected.I think this counts as rejected as making Scratch for gaming consoles is rejected. Scratch has a lot of extensions for things like lego, makey makey, generally some strange input types that aren't usable for a lot of projects.
adding support for controllers would help lots of projects, especially ones that work well with analog input, like drivingwhen button [a v] pressed :: extension hat // buttons include ABXY, dpad, L, R, LT, RT, and analog sticks (they can be clicked down on some controllers)triggers are LT, RT, L2, R2, or ZL, ZR. note that switch controllers (if they get support) just have triggers (ZL and ZR) be at either 0% or 100% since they aren't analog.
when [LT amount v] amount [= v] (100) % :: extension hat // input options are triggers and all stick movement (shown on next blocks)
rumble for (1) secs :: extension stack
rumble :: extension stack // just keeps rumbling until stopped
stop rumble :: extension stack
<button [a v] pressed? :: extension>
([left v] stick x :: extension)
([left v] stick y :: extension)
([left v] stick direction :: extension)
([left v] stick distance :: extension) // how far the stick is from the center
([LT v] pressure :: extension) // how far the trigger is pushed down
another thing to help is that text on the blocks will change depending on which type of controller is connected.
another thing that could be done is adding support for multiple controllers, for thigns like multiple players. with would modify the blocks to add player numbers from 1-4 (this would be the same as the player indicator on the controller) and add these blocks.when player [1 v] connected :: extension hatmultiple controllers should be a togglable option because it does make things much more complicated.
when player [1 v] disconnected :: extension hat
<player [1 v] connected? :: extension>
- Thethree13
- Scratcher
42 posts
Have USB controllers added to extensions
support. Great idea. The people using this extension should definitely also include keyboard support though.
- CZSuperboy
- Scratcher
100+ posts
Have USB controllers added to extensions
As stated above, projects that don't probably won't have a very favorable reception support. Great idea. The people using this extension should definitely also include keyboard support though.
- mrrecordman
- Scratcher
1000+ posts
Have USB controllers added to extensions
what if you plugged in a phone charger
- TheGlassPenguin
- Scratcher
1000+ posts
Have USB controllers added to extensions
nothing would happen, as the extension only would respond to gamepads being connected. what if you plugged in a phone charger
Last edited by TheGlassPenguin (March 19, 2022 20:56:02)
- Jessie_AlExA12323545
- Scratcher
44 posts
Have USB controllers added to extensions
USB controllers are supported in TurboWarp, but you have to go to the add-ons page to turn it on.I mean, are the controllers capable of being compatible with Scratch?I wonder what this thread is about. are USB controllers compatible with Scratch?
here's the TurboWarp link.
- Marc92020
- Scratcher
1000+ posts
Have USB controllers added to extensions
thats not officially supported, so it doesnt really countUSB controllers are supported in TurboWarp, but you have to go to the add-ons page to turn it on.I mean, are the controllers capable of being compatible with Scratch?I wonder what this thread is about. are USB controllers compatible with Scratch?
here's the TurboWarp link.
- doggie523
- Scratcher
14 posts
Have USB controllers added to extensions
I just think that it would be very cool to have this added.please be constructive and explain why you support SUPPORT
saying “support” adds nothing to the conversation
- CZSuperboy
- Scratcher
100+ posts
Have USB controllers added to extensions
But why do you think it would be very cool? That's the kind of stuff you should say in a support statement.I just think that it would be very cool to have this added.please be constructive and explain why you support SUPPORT
saying “support” adds nothing to the conversation
- historical_supa
- Scratcher
1000+ posts
Have USB controllers added to extensions
Support, if we have Makey-Makey and Micro:bit, USB controllers should also be added! Would also be awesome for games that want a “console” feel.
- cs2461348
- Scratcher
100+ posts
Have USB controllers added to extensions
turbowarp.org has a controller availible, hit addons and find the controller one. (turbowarp runs scratch projects faster)
Last edited by cs2461348 (April 9, 2022 11:44:09)
- Marc92020
- Scratcher
1000+ posts
Have USB controllers added to extensions
okay, but its not endoresed by scratch turbowarp.org has a controller availible, hit addons and find the controller one. (turbowarp runs scratch projects faster)