Discuss Scratch

Minecraft_Master3964
Scratcher
500+ posts

Have USB controllers added to extensions

If this feature gets added it'll give me a lot of stuff to do over the summer
RobotChickens
Scratcher
500+ posts

Have USB controllers added to extensions

Some controllers have a 6-axis gyro. Is that going to be a part of the extension?
Minecraft_Master3964
Scratcher
500+ posts

Have USB controllers added to extensions

You mean like the N64 controller and Gamecube?

Last edited by Minecraft_Master3964 (June 13, 2022 17:05:51)

TheGlassPenguin
Scratcher
1000+ posts

Have USB controllers added to extensions

Minecraft_Master3964 wrote:

You mean like the N64 controller and Gamecube?
No, we're probably only going to support controllers made for consoles released within the past few years (PS4/5, Xbox One, Nintendo Switch). The layouts for the N64/GC controllers might be confusing to program for, and not everyone has a way to use them with their computer.

Last edited by TheGlassPenguin (June 13, 2022 17:29:59)

musicROCKS013
Scratcher
1000+ posts

Have USB controllers added to extensions

TheGlassPenguin wrote:

not everyone has a way to use them with their computer.
Maybe the extension could work similar to makey-makey, where you can still use your keyboard for some inputs.
The-Molten-Freddy
Scratcher
500+ posts

Have USB controllers added to extensions

(long unnecessary quote removed by moderator - please don't spam)

Uh, (removed by moderator - please keep it polite) yeah, support. Although, you could have different controls for different systems (i.e one for Switch, one for PS4, ect)

Last edited by Paddle2See (June 13, 2022 21:03:16)

minecrafter6548
Scratcher
45 posts

Have USB controllers added to extensions

SArpnt wrote:

-Osiris- wrote:

are USB controllers compatible with Scratch?
For the online version: search up “HTML5 Gamepad Tester” on google. if one website can detect it, any website could. the only problem here would be that scratch uses flash, and i'm not sure if flash can detect controllers, but there could possibly be a workaround if flash can interact with the rest of the webpage, where then i believe HTML could pick up the controller signals, then flash would use the data from that.

For the offline version: Absolutely could work, no doubt.

scratch doesn’t use flash anymore
Drawing246911
Scratcher
2 posts

Have USB controllers added to extensions

SArpnt wrote:

-Osiris- wrote:

are USB controllers compatible with Scratch?
For the online version: search up “HTML5 Gamepad Tester” on google. if one website can detect it, any website could. the only problem here would be that scratch uses flash, and i'm not sure if flash can detect controllers, but there could possibly be a workaround if flash can interact with the rest of the webpage, where then i believe HTML could pick up the controller signals, then flash would use the data from that.

For the offline version: Absolutely could work, no doubt.

well… flash have its service down… and never could come back… so we need a different way of doing it
KN1Rises
Scratcher
62 posts

Have USB controllers added to extensions

Drawing246911 wrote:

SArpnt wrote:

-Osiris- wrote:

are USB controllers compatible with Scratch?
For the online version: search up “HTML5 Gamepad Tester” on google. if one website can detect it, any website could. the only problem here would be that scratch uses flash, and i'm not sure if flash can detect controllers, but there could possibly be a workaround if flash can interact with the rest of the webpage, where then i believe HTML could pick up the controller signals, then flash would use the data from that.

For the offline version: Absolutely could work, no doubt.

well… flash have its service down… and never could come back… so we need a different way of doing it
S3.0 uses HTML5 iirc, so we could just connect it directly.
EDIT: no it doesn't, it uses JS

Last edited by KN1Rises (July 9, 2022 19:10:43)

RobotChickens
Scratcher
500+ posts

Have USB controllers added to extensions

Drawing246911 wrote:

(#1394)

SArpnt wrote:

-Osiris- wrote:

are USB controllers compatible with Scratch?
For the online version: search up “HTML5 Gamepad Tester” on google. if one website can detect it, any website could. the only problem here would be that scratch uses flash, and i'm not sure if flash can detect controllers, but there could possibly be a workaround if flash can interact with the rest of the webpage, where then i believe HTML could pick up the controller signals, then flash would use the data from that.

For the offline version: Absolutely could work, no doubt.

well… flash have its service down… and never could come back… so we need a different way of doing it
Yeah, this quote by SArpnt is obviously old, so I don't know why we are quoting it. When that was posted, Scratch 2 was still around and ran on flash which is why the ST had to make Scratch 3 that runs on HTML 5 now. This extension won't be too hard to implement.

By the way, Flash has officially ended along with its browser support due to security issues.
musicROCKS013
Scratcher
1000+ posts

Have USB controllers added to extensions

mccann119 wrote:

There is already a feature in -snip-, so why would we need another one from the ST?
Please don’t name browser extensions.
scratch___user12345
Scratcher
1000+ posts

Have USB controllers added to extensions

I support this, but different game controllers can be connected to different things, the only problem is that scratch might only be able to support one type of controller
musicROCKS013
Scratcher
1000+ posts

Have USB controllers added to extensions

scratch___user12345 wrote:

I support this, but different game controllers can be connected to different things, the only problem is that scratch might only be able to support one type of controller
I agree. They can’t really say, “Nintendo switch controller” because they might get i legal troubles with Nintendo. This goes for any other type of controller as well.
Crow_Boy08
Scratcher
1000+ posts

Have USB controllers added to extensions

Hmm this could be for Xbox support (just go to ms edge on xbox and search. Scratch)
Wifi_Spider
Scratcher
100+ posts

Have USB controllers added to extensions

musicROCKS013 wrote:

Support! This would be great for being able to make games for different game systems and give it a realistic feel. I just wonder, would it not work for wireless controllers?
maybe if there connected with bluetooth
musicROCKS013
Scratcher
1000+ posts

Have USB controllers added to extensions

Wifi_Spider wrote:

musicROCKS013 wrote:

Support! This would be great for being able to make games for different game systems and give it a realistic feel. I just wonder, would it not work for wireless controllers?
maybe if there connected with bluetooth
Yeah, I've connected by switch controllers via bluetooth to my macbook and my ipad, so it's definitely possible.
RobotChickens
Scratcher
500+ posts

Have USB controllers added to extensions

mccann119 wrote:

(#1397)
There is already a feature in -removed-, so why would we need another one from the ST?
That extension just adds simple button mapping with no rumble support or analog input (some main features of this suggestion).
And, not all scratchers are allowed to download browser extensions for various reasons.

scratch___user12345 wrote:

(#1399)
I support this, but different game controllers can be connected to different things, the only problem is that scratch might only be able to support one type of controller

It doesn't matter how the controller connects to your computer. The Scratch website has no way of knowing and won't even care. As long as it connects to your computer in any way, it will work for input.
Kenguin26
Scratcher
72 posts

Have USB controllers added to extensions

bump
RobotChickens
Scratcher
500+ posts

Have USB controllers added to extensions

Bump
meepeygamer567
Scratcher
500+ posts

Have USB controllers added to extensions

Support! It sounds like a great idea to implement controllers in Scratch. It may make the games in Scratch like actual games!

Powered by DjangoBB