Discuss Scratch

doggie523
Scratcher
14 posts

Have USB controllers added to extensions

SUPPORT
Marc92020
Scratcher
1000+ posts

Have USB controllers added to extensions

doggie523 wrote:

SUPPORT
please be constructive and explain why you 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.
CZSuperboy
Scratcher
100+ posts

Have USB controllers added to extensions

therealRedStrider wrote:

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

garnetluvcookie wrote:

SArpnt wrote:

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 driving

when 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)

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
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.
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 hat

when player [1 v] disconnected :: extension hat

<player [1 v] connected? :: extension>
multiple controllers should be a togglable option because it does make things much more complicated.
I think this counts as rejected as making Scratch for gaming consoles is rejected.
actually, scratch team has said that this idea is not rejected.
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

Thethree13 wrote:

support. Great idea. The people using this extension should definitely also include keyboard support though.
As stated above, projects that don't probably won't have a very favorable reception
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

mrrecordman wrote:

what if you plugged in a phone charger
nothing would happen, as the extension only would respond to gamepads being connected.

Last edited by TheGlassPenguin (March 19, 2022 20:56:02)

Jessie_AlExA12323545
Scratcher
44 posts

Have USB controllers added to extensions

-Osiris- wrote:

LiberlandAnimations wrote:

-Osiris- wrote:

are USB controllers compatible with Scratch?
I wonder what this thread is about.
I mean, are the controllers capable of being compatible with Scratch?
USB controllers are supported in TurboWarp, but you have to go to the add-ons page to turn it on.
here's the TurboWarp link.
Marc92020
Scratcher
1000+ posts

Have USB controllers added to extensions

Jessie_AlExA12323545 wrote:

-Osiris- wrote:

LiberlandAnimations wrote:

-Osiris- wrote:

are USB controllers compatible with Scratch?
I wonder what this thread is about.
I mean, are the controllers capable of being compatible with Scratch?
USB controllers are supported in TurboWarp, but you have to go to the add-ons page to turn it on.
here's the TurboWarp link.
thats not officially supported, so it doesnt really count
doggie523
Scratcher
14 posts

Have USB controllers added to extensions

Marc92020 wrote:

doggie523 wrote:

SUPPORT
please be constructive and explain why you support
saying “support” adds nothing to the conversation
I just think that it would be very cool to have this added.
CZSuperboy
Scratcher
100+ posts

Have USB controllers added to extensions

doggie523 wrote:

Marc92020 wrote:

doggie523 wrote:

SUPPORT
please be constructive and explain why you support
saying “support” adds nothing to the conversation
I just think that it would be very cool to have this added.
But why do you think it would be very cool? That's the kind of stuff you should say in a support statement.
dhuls
Scratcher
1000+ posts

Have USB controllers added to extensions

bump
RobotChickens
Scratcher
500+ posts

Have USB controllers added to extensions

bump
RobotChickens
Scratcher
500+ posts

Have USB controllers added to extensions

bump
k0d3rrr
Scratcher
1000+ posts

Have USB controllers added to extensions

And…
Bump.
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

cs2461348 wrote:

turbowarp.org has a controller availible, hit addons and find the controller one. (turbowarp runs scratch projects faster)
okay, but its not endoresed by scratch

Powered by DjangoBB