Discuss Scratch
- Discussion Forums
- » Suggestions
- » Have USB controllers added to extensions
- cookieclickerer33
- Scratcher
1000+ posts
Have USB controllers added to extensions
I’m wrong, scratch is actually made in 93% JavaScript and no html5The editor is in HTML5 It’s both AND Javascript, otherwise the editor wouldn't function.
And yes the way the code is typed is different
The offline editor and editor itself isn’t coded in JavaScript
This would work but still ,many controllers are different
- RED-001-alt
- Scratcher
1000+ posts
Have USB controllers added to extensions
What about index.html LOL I’m wrong, scratch is actually made in 93% JavaScript and no html5
And WebGL, and the Scratch offline editor is an electron app, with scratch's JS running in a player.The editor is in HTML5 It’s both AND Javascript, otherwise the editor wouldn't function.
And yes the way the code is typed is different
The offline editor and editor itself isn’t coded in JavaScript
- mumu245
- Scratcher
1000+ posts
Have USB controllers added to extensions
I thought Scratch was supposed to be inclusiveYou could just change the code yourself, or don't play the game. The problem with analog input is that it can't be mapped to a mouse/keyboard, and I don't want people to make controller-only projects, because many people, including me, haven't got a controller.
king of the page
- DerpyHead0
- Scratcher
1000+ posts
Have USB controllers added to extensions
in other programming languages. what language and how? are you familiar with the web browser controller api? Also yea, I’ve used them before in other programming languages and they work very different from eachother
Also syntax is the way that you can use the controller in an IO situation and the way that you make requests to that. The controllers have different syntaxes
that's not what syntax means.
the way you would interface with controllers depends on the operating system driver and the library you're using, and neither of those are part of the controller itself, and can be different in all sorts of programs. scratch runs in a web browser, so uses the web apis.
- creeperyeettt
- Scratcher
500+ posts
Have USB controllers added to extensions
The problem with analog input is that it can't be mapped to a mouse/keyboard, and I don't want people to make controller-only projects, because many people, including me, haven't got a controller.
some people dont have keyboards, that doesnt stop people
- RobotChickens
- Scratcher
500+ posts
Have USB controllers added to extensions
no analog triggersActually…
All triggers (L2 R2 or LT RT) are analog. Some controllers (like the switch pro) just output either 0 or 100 with nothing in between.
- creeperyeettt
- Scratcher
500+ posts
Have USB controllers added to extensions
i am mr Q&A
ask me any question and thoust will receive a reply
ask me any question and thoust will receive a reply
- cookieclickerer33
- Scratcher
1000+ posts
Have USB controllers added to extensions
Ok, that’s still not analogno analog triggersActually…
All triggers (L2 R2 or LT RT) are analog. Some controllers (like the switch pro) just output either 0 or 100 with nothing in between.
- creeperyeettt
- Scratcher
500+ posts
Have USB controllers added to extensions
some will support some wontOk, that’s still not analogno analog triggersActually…
All triggers (L2 R2 or LT RT) are analog. Some controllers (like the switch pro) just output either 0 or 100 with nothing in between.
aka a xbox controller has the full range of 0-100
but a joycon only has 0 or 100
- -_RedGamer_-
- Scratcher
52 posts
Have USB controllers added to extensions
(#1510)I didn'tI know how to get gamepad support
dont say extension
- creeperyeettt
- Scratcher
500+ posts
Have USB controllers added to extensions
i was expecting them to say “we dont need this because chrome extentions can do it already”
Last edited by creeperyeettt (Feb. 1, 2023 18:37:57)
- bbrainstormer
- Scratcher
11 posts
Have USB controllers added to extensions
Support. This would be fairly easy to implement, especially since fan-made implementations already exist.
- Dogs-are-amazing1
- Scratcher
500+ posts
Have USB controllers added to extensions
That means we should ban projects that only work with keyboards because mobile users can’t use themI thought Scratch was supposed to be inclusiveYou could just change the code yourself, or don't play the game. The problem with analog input is that it can't be mapped to a mouse/keyboard, and I don't want people to make controller-only projects, because many people, including me, haven't got a controller.
king of the page
- creeperyeettt
- Scratcher
500+ posts
Have USB controllers added to extensions
exactlyThat means we should ban projects that only work with keyboards because mobile users can’t use themI thought Scratch was supposed to be inclusiveYou could just change the code yourself, or don't play the game. The problem with analog input is that it can't be mapped to a mouse/keyboard, and I don't want people to make controller-only projects, because many people, including me, haven't got a controller.
king of the page
- hill_walker123
- Scratcher
100+ posts
Have USB controllers added to extensions
lolThat means we should ban projects that only work with keyboards because mobile users can’t use them-snip-I thought Scratch was supposed to be inclusive
yeah, this sounds cool. support.
edit: king of da page
edit again: PLEASE put [/quote] at the end of your quotes. thank you.
Last edited by hill_walker123 (Feb. 7, 2023 15:04:31)
- RobotChickens
- Scratcher
500+ posts
Have USB controllers added to extensions
bump
80 pages!!!
80 pages!!!
Last edited by RobotChickens (Feb. 8, 2023 16:34:59)
- co0lcr34t10ns
- Scratcher
1000+ posts
Have USB controllers added to extensions
Hmm, good idea, I will stay neutral as an 8-bit-do adapter is good enough for me, as I wouldn't use it just for scratch.
- cookieclickerer33
- Scratcher
1000+ posts
Have USB controllers added to extensions
Why can I get one! Hmm, good idea, I will stay neutral as an 8-bit-do adapter is good enough for me, as I wouldn't use it just for scratch.