Discuss Scratch

cookieclickerer33
Scratcher
1000+ posts

Have USB controllers added to extensions

Minecraft_Master3964 wrote:

cookieclickerer33 wrote:

It’s both

And yes the way the code is typed is different


The offline editor and editor itself isn’t coded in JavaScript
The editor is in HTML5 AND Javascript, otherwise the editor wouldn't function.
I’m wrong, scratch is actually made in 93% JavaScript and no html5


This would work but still ,many controllers are different
RED-001-alt
Scratcher
1000+ posts

Have USB controllers added to extensions

cookieclickerer33 wrote:

I’m wrong, scratch is actually made in 93% JavaScript and no html5
What about index.html LOL

Minecraft_Master3964 wrote:

cookieclickerer33 wrote:

It’s both
And yes the way the code is typed is different
The offline editor and editor itself isn’t coded in JavaScript
The editor is in HTML5 AND Javascript, otherwise the editor wouldn't function.
And WebGL, and the Scratch offline editor is an electron app, with scratch's JS running in a player.
mumu245
Scratcher
1000+ posts

Have USB controllers added to extensions

RED-001-alt wrote:

mumu245 wrote:

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.
You could just change the code yourself, or don't play the game.
king of the page
I thought Scratch was supposed to be inclusive
DerpyHead0
Scratcher
1000+ posts

Have USB controllers added to extensions

cookieclickerer33 wrote:

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
in other programming languages. what language and how? are you familiar with the web browser controller api?
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

mumu245 wrote:

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

cookieclickerer33 wrote:

no analog triggers
Actually…
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
cookieclickerer33
Scratcher
1000+ posts

Have USB controllers added to extensions

RobotChickens wrote:

cookieclickerer33 wrote:

no analog triggers
Actually…
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.
Ok, that’s still not analog
creeperyeettt
Scratcher
500+ posts

Have USB controllers added to extensions

cookieclickerer33 wrote:

RobotChickens wrote:

cookieclickerer33 wrote:

no analog triggers
Actually…
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.
Ok, that’s still not analog
some will support some wont
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

creeperyeettt wrote:

(#1510)

Riles_mun12345 wrote:

I know how to get gamepad support

dont say extension
I didn't
RobotChickens
Scratcher
500+ posts

Have USB controllers added to extensions

-_RedGamer_- wrote:

(#1574)

creeperyeettt wrote:

(#1510)

Riles_mun12345 wrote:

I know how to get gamepad support

dont say extension
I didn't
Yeah… I don't know why they said that. Your post isn't edited either.
However, you dod quote the WHOLE op, which is spam.
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

mumu245 wrote:

RED-001-alt wrote:

mumu245 wrote:

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.
You could just change the code yourself, or don't play the game.
king of the page
I thought Scratch was supposed to be inclusive
That means we should ban projects that only work with keyboards because mobile users can’t use them
sonic__fan
Scratcher
1000+ posts

Have USB controllers added to extensions

bump
creeperyeettt
Scratcher
500+ posts

Have USB controllers added to extensions

Dogs-are-amazing1 wrote:

mumu245 wrote:

RED-001-alt wrote:

mumu245 wrote:

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.
You could just change the code yourself, or don't play the game.
king of the page
I thought Scratch was supposed to be inclusive
That means we should ban projects that only work with keyboards because mobile users can’t use them
exactly
hill_walker123
Scratcher
100+ posts

Have USB controllers added to extensions

Dogs-are-amazing1 wrote:

mumu245 wrote:

RED-001-alt wrote:

mumu245 wrote:

-snip-
I thought Scratch was supposed to be inclusive
That means we should ban projects that only work with keyboards because mobile users can’t use them
lol

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!!!

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

co0lcr34t10ns wrote:

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.
Why can I get one!

Powered by DjangoBB