Discuss Scratch

RobotChickens
Scratcher
500+ posts

Help with USB Gamepad extension implementation

bump
crawfishcode
Scratcher
99 posts

Help with USB Gamepad extension implementation

RobotChickens wrote:

Update: Someone already made this extension for scratch! (not turbowarp) I'm thinking we would just use this code for the PR to Scratch Labs and try to find things to improve about the blocks in the meantime. If you have some free time, play around with the extension and find some bugs! (if there are any)

Link to Scratch mod with plugin: https://sheeptester.github.io/scratch-gui/flags.html?load_plugin=https://arpruss.github.io/gamepad.js
Link to Github repo: https://github.com/arpruss/arpruss.github.io/blob/main/gamepad.js
Link to the now-closed thread for this extension: https://scratch.mit.edu/discuss/topic/466878/
To clarify, we aren't moving topics. Keep the discussion here!
Don't we have to ask the owner of the code if we can use it?
GlitchedThrough
New Scratcher
1000+ posts

Help with USB Gamepad extension implementation

crawfishcode wrote:

RobotChickens wrote:

Update: Someone already made this extension for scratch! (not turbowarp) I'm thinking we would just use this code for the PR to Scratch Labs and try to find things to improve about the blocks in the meantime. If you have some free time, play around with the extension and find some bugs! (if there are any)

Link to Scratch mod with plugin: https://sheeptester.github.io/scratch-gui/flags.html?load_plugin=https://arpruss.github.io/gamepad.js
Link to Github repo: https://github.com/arpruss/arpruss.github.io/blob/main/gamepad.js
Link to the now-closed thread for this extension: https://scratch.mit.edu/discuss/topic/466878/
To clarify, we aren't moving topics. Keep the discussion here!
Don't we have to ask the owner of the code if we can use it?
It’s under the MIT License
That isn’t a requirement.
However,i t should be unique code submitted or they would’a done it themselves.
RobotChickens
Scratcher
500+ posts

Help with USB Gamepad extension implementation

GlitchedThrough wrote:

(#83)

crawfishcode wrote:

RobotChickens wrote:

Update: Someone already made this extension for scratch! (not turbowarp) I'm thinking we would just use this code for the PR to Scratch Labs and try to find things to improve about the blocks in the meantime. If you have some free time, play around with the extension and find some bugs! (if there are any)

Link to Scratch mod with plugin: https://sheeptester.github.io/scratch-gui/flags.html?load_plugin=https://arpruss.github.io/gamepad.js
Link to Github repo: https://github.com/arpruss/arpruss.github.io/blob/main/gamepad.js
Link to the now-closed thread for this extension: https://scratch.mit.edu/discuss/topic/466878/
To clarify, we aren't moving topics. Keep the discussion here!
Don't we have to ask the owner of the code if we can use it?
It’s under the MIT License
That isn’t a requirement.
However,i t should be unique code submitted or they would’a done it themselves.
Yup! This is what GitHub has a fork feature for. We can easily make a copy of the code to make our own edits on. Or we can make pull requests to the original code because that's another option too.
GlitchedThrough
New Scratcher
1000+ posts

Help with USB Gamepad extension implementation

RobotChickens wrote:

GlitchedThrough wrote:

(#83)

crawfishcode wrote:

RobotChickens wrote:

Update: Someone already made this extension for scratch! (not turbowarp) I'm thinking we would just use this code for the PR to Scratch Labs and try to find things to improve about the blocks in the meantime. If you have some free time, play around with the extension and find some bugs! (if there are any)

Link to Scratch mod with plugin: https://sheeptester.github.io/scratch-gui/flags.html?load_plugin=https://arpruss.github.io/gamepad.js
Link to Github repo: https://github.com/arpruss/arpruss.github.io/blob/main/gamepad.js
Link to the now-closed thread for this extension: https://scratch.mit.edu/discuss/topic/466878/
To clarify, we aren't moving topics. Keep the discussion here!
Don't we have to ask the owner of the code if we can use it?
It’s under the MIT License
That isn’t a requirement.
However,i t should be unique code submitted or they would’a done it themselves.
Yup! This is what GitHub has a fork feature for. We can easily make a copy of the code to make our own edits on. Or we can make pull requests to the original code because that's another option too.
I’m well aware.
But, aside from the ethical issues of using another mods code to suggest something for the original, the ST doesn’t really accept code from mods.
It should be original.
Gamer_Logan819
Scratcher
1000+ posts

Help with USB Gamepad extension implementation

GlitchedThrough wrote:

RobotChickens wrote:

GlitchedThrough wrote:

(#83)

crawfishcode wrote:

RobotChickens wrote:

Update: Someone already made this extension for scratch! (not turbowarp) I'm thinking we would just use this code for the PR to Scratch Labs and try to find things to improve about the blocks in the meantime. If you have some free time, play around with the extension and find some bugs! (if there are any)

Link to Scratch mod with plugin: https://sheeptester.github.io/scratch-gui/flags.html?load_plugin=https://arpruss.github.io/gamepad.js
Link to Github repo: https://github.com/arpruss/arpruss.github.io/blob/main/gamepad.js
Link to the now-closed thread for this extension: https://scratch.mit.edu/discuss/topic/466878/
To clarify, we aren't moving topics. Keep the discussion here!
Don't we have to ask the owner of the code if we can use it?
It’s under the MIT License
That isn’t a requirement.
However,i t should be unique code submitted or they would’a done it themselves.
Yup! This is what GitHub has a fork feature for. We can easily make a copy of the code to make our own edits on. Or we can make pull requests to the original code because that's another option too.
I’m well aware.
But, aside from the ethical issues of using another mods code to suggest something for the original, the ST doesn’t really accept code from mods.
It should be original.
Cheddargirl has said herself that if someone makes a mod then it might get added since the code is already there. Check the suggestions thread of USB gamepads for one of my posts, it has something showing something cheddargirl said

Last edited by Gamer_Logan819 (Jan. 3, 2024 21:47:02)

GlitchedThrough
New Scratcher
1000+ posts

Help with USB Gamepad extension implementation

Gamer_Logan819 wrote:

GlitchedThrough wrote:

RobotChickens wrote:

GlitchedThrough wrote:

(#83)

crawfishcode wrote:

RobotChickens wrote:

Update: Someone already made this extension for scratch! (not turbowarp) I'm thinking we would just use this code for the PR to Scratch Labs and try to find things to improve about the blocks in the meantime. If you have some free time, play around with the extension and find some bugs! (if there are any)

Link to Scratch mod with plugin: https://sheeptester.github.io/scratch-gui/flags.html?load_plugin=https://arpruss.github.io/gamepad.js
Link to Github repo: https://github.com/arpruss/arpruss.github.io/blob/main/gamepad.js
Link to the now-closed thread for this extension: https://scratch.mit.edu/discuss/topic/466878/
To clarify, we aren't moving topics. Keep the discussion here!
Don't we have to ask the owner of the code if we can use it?
It’s under the MIT License
That isn’t a requirement.
However,i t should be unique code submitted or they would’a done it themselves.
Yup! This is what GitHub has a fork feature for. We can easily make a copy of the code to make our own edits on. Or we can make pull requests to the original code because that's another option too.
I’m well aware.
But, aside from the ethical issues of using another mods code to suggest something for the original, the ST doesn’t really accept code from mods.
It should be original.
Cheddargirl has said herself that if someone makes a mod then it might get added since the code is already there. Check the suggestions thread of USB gamepads for one of my posts, it has something showing something cheddargirl said
Then the mod creator is more than capable of making the PR.
RobotChickens
Scratcher
500+ posts

Help with USB Gamepad extension implementation

GlitchedThrough wrote:

(#87)

Gamer_Logan819 wrote:

RobotChickens wrote:

Edit: -snip-
Cheddargirl has said herself that if someone makes a mod then it might get added since the code is already there. Check the suggestions thread of USB gamepads for one of my posts, it has something showing something cheddargirl said
Then the mod creator is more than capable of making the PR.
Can anyone get in contact with @arpruss on Scratch or GitHub? I remember already reaching out somewhere, but I haven't gotten a response.

Last edited by RobotChickens (Jan. 4, 2024 13:27:47)

QAIS20123
Scratcher
1 post

Help with USB Gamepad extension implementation

What is this I don't get it (I don't understand anything cause I'm 11 and an idiot)
RobotChickens
Scratcher
500+ posts

Help with USB Gamepad extension implementation

QAIS20123 wrote:

(#89)
What is this I don't get it (I don't understand anything cause I'm 11 and an idiot)
Well, this is the Dev Thread. You might want to start HERE which is the actual suggestion and what it is.
crawfishcode
Scratcher
99 posts

Help with USB Gamepad extension implementation

RobotChickens wrote:

GlitchedThrough wrote:

(#87)

Gamer_Logan819 wrote:

RobotChickens wrote:

Edit: -snip-
Cheddargirl has said herself that if someone makes a mod then it might get added since the code is already there. Check the suggestions thread of USB gamepads for one of my posts, it has something showing something cheddargirl said
Then the mod creator is more than capable of making the PR.
Can anyone get in contact with @arpruss on Scratch or GitHub? I remember already reaching out somewhere, but I haven't gotten a response.
Who is this Arpruss guy? Just curious
RobotChickens
Scratcher
500+ posts

Help with USB Gamepad extension implementation

crawfishcode wrote:

(#91)

RobotChickens wrote:

GlitchedThrough wrote:

(#87)

Gamer_Logan819 wrote:

RobotChickens wrote:

Edit: -snip-
Cheddargirl has said herself that if someone makes a mod then it might get added since the code is already there. Check the suggestions thread of USB gamepads for one of my posts, it has something showing something cheddargirl said
Then the mod creator is more than capable of making the PR.
Can anyone get in contact with @arpruss on Scratch or GitHub? I remember already reaching out somewhere, but I haven't gotten a response.
Who is this Arpruss guy? Just curious
The person who already made the Scratch compatible controller extension: https://scratch.mit.edu/discuss/topic/466878/
joe1718
Scratcher
83 posts

Help with USB Gamepad extension implementation

crawfishcode wrote:

GIitchInTheMatrix wrote:

RobotChickens wrote:

GIitchInTheMatrix wrote:

(#10)
Have you decided API/lib you're gonna use? That's one of the first things to decide before developing it. And gave you forked the repo already?
No, I haven't done anything yet. I'm a GitHub noob, sorry. I do have an account though.
Fork the Scratch-vm repo, and set it up locally. From there, ensure you know JS and the blocky lib. You wanna find a good controller lib. LMK when all that's done.
Hey, I have close to no experience with coding languages other than Scratch and I don't know anything about GitHub, is there still any way I can help?
me too. i rly like this idea
GlitchedThrough
New Scratcher
1000+ posts

Help with USB Gamepad extension implementation

julianlukasiak wrote:

Use turbowarp.
What if TurboWarps blocked in schools? What is we wanna share it on Scratch? What if someone doesn’t know about TurboWarp?
TurboWarp isn’t a reason not to work on something.
GlitchedThrough
New Scratcher
1000+ posts

Help with USB Gamepad extension implementation

julianlukasiak wrote:

GlitchedThrough wrote:

julianlukasiak wrote:

Use turbowarp.
What if TurboWarps blocked in schools? What is we wanna share it on Scratch? What if someone doesn’t know about TurboWarp?
TurboWarp isn’t a reason not to work on something.
(Nope).com //you can’t link that.
Snail-ide.js.org
Blox-ide.github.io
Dinosaurmod.github.io
Circle-ide.github.io
Plungermod.github.io
Turbomake.github.io
Those are all even less popular than TurboWarp. Besides, it existing on mods isn’t reason to not implement it on the official site.
preshunk3
Scratcher
1000+ posts

Help with USB Gamepad extension implementation

GlitchedThrough wrote:

julianlukasiak wrote:

Use turbowarp.
What if TurboWarps blocked in schools? What is we wanna share it on Scratch? What if someone doesn’t know about TurboWarp?
TurboWarp isn’t a reason not to work on something.
are you really bringing your usb to school
share it on scratch without controller and put a link to turbowarp
controller support is an easy feature to be implemented though so I do think it'll be added

Last edited by preshunk3 (March 7, 2024 04:25:46)

GlitchedThrough
New Scratcher
1000+ posts

Help with USB Gamepad extension implementation

preshunk3 wrote:

GlitchedThrough wrote:

julianlukasiak wrote:

Use turbowarp.
What if TurboWarps blocked in schools? What is we wanna share it on Scratch? What if someone doesn’t know about TurboWarp?
TurboWarp isn’t a reason not to work on something.
are you really bringing your usb to school
share it on scratch without controller and put a link to turbowarp
controller support is an easy feature to be implemented though so I do think it'll be added
Are you assuming all schools curriculums are the same as yours?
What if Scratch is someone's only access to block based coding? What if they don't wanna use TurboWarp?
Why does a feature existing in a mod mean anything? TurboWarp ain't a workaround to anything.
What next? Use TurboWarp for dark mode? If TurboWarp is such a great workaround, then why don't we all move to TurboWarp? Heck, if we're using it as a workaround and dont want features added due to it, let's all move to Binary.
I guess this is a bit of a rant, but TurboWarp ain't a workaround. Nor should it effect what Scratch does.
RobotChickens
Scratcher
500+ posts

Help with USB Gamepad extension implementation

GlitchedThrough wrote:

(#99)

preshunk3 wrote:

GlitchedThrough wrote:

julianlukasiak wrote:

Use turbowarp.
What if TurboWarps blocked in schools? What is we wanna share it on Scratch? What if someone doesn’t know about TurboWarp?
TurboWarp isn’t a reason not to work on something.
are you really bringing your usb to school
share it on scratch without controller and put a link to turbowarp
controller support is an easy feature to be implemented though so I do think it'll be added
Are you assuming all schools curriculums are the same as yours?
What if Scratch is someone's only access to block based coding? What if they don't wanna use TurboWarp?
Why does a feature existing in a mod mean anything? TurboWarp ain't a workaround to anything.
What next? Use TurboWarp for dark mode? If TurboWarp is such a great workaround, then why don't we all move to TurboWarp? Heck, if we're using it as a workaround and dont want features added due to it, let's all move to Binary.
I guess this is a bit of a rant, but TurboWarp ain't a workaround. Nor should it effect what Scratch does.
FACTS Also, you don't have to be at school to have things blocked… Some students are forced to use school-issued Chromebooks that have blockers installed. A lot of these people have no other personal computers. Also, a fraction of scratch users even know that TurboWarp exists. If all we wanted was the ability to program with a controller, we would use TurboWarp. But, it's not about that. It's about adding controller support to this site. The fact that scratch.mit.edu does not have controller blocks is all we care about changing.
RobotChickens
Scratcher
500+ posts

Help with USB Gamepad extension implementation

bump
RobotChickens
Scratcher
500+ posts

Help with USB Gamepad extension implementation

Bump

Powered by DjangoBB