Discuss Scratch
- Discussion Forums
- » Developing Scratch Extensions
- » Scratch 3.0 Extensions FAQ
- RichieNB
- Scratcher
71 posts
Scratch 3.0 Extensions FAQ
What are extensions?
Extensions are JavaScript functions that are invoked via Scratch blocks. They can be used to connect to hardware, APIs or to simply provide abstractions for a JavaScript function.
How do I load an extension?
Currently, Scratch 3.0 extensions are not supported on the Scratch website and must be used in modded editors. Try SheepTester's fork for a simple alternative. To share an extension with friends, simply send then a URL of the fork with the extension query parameter added pointed to a URL: https://sheeptester.github.io/scratch-gui?extension=<extension_url>
How do I create a Scratch extension?
A YouTube video is in the works but for now, use this helpful guide by NitroCipher and the TypeScript typings.
How do I share my Scratch extension?
You'll need to upload your Scratch extension to a code hosting website and ensure it can serve JavaScript files correctly.
A GitHub Gist is a simple way to do this. Start at gist.github.com and provided you already have a GitHub account, you'll be able to create a new gist and insert your code with a filename ending in .js. Once you have saved your gist, load the Raw version by clicking the button on the resulting page.
Now, you'll need to set the correct content headers in order for the JavaScript file to be loaded correctly. With GitHack, provide the raw URL of the extension source code and use the resulting production URL to load your extension.
Where can I find extensions created by others?
You can use the Scratch 3.0 Extension Directory to find an aggregated list of extensions but the Developing Scratch Extensions subforum is also great place to find the latest in Scratch extensions.
Extensions are JavaScript functions that are invoked via Scratch blocks. They can be used to connect to hardware, APIs or to simply provide abstractions for a JavaScript function.
How do I load an extension?
Currently, Scratch 3.0 extensions are not supported on the Scratch website and must be used in modded editors. Try SheepTester's fork for a simple alternative. To share an extension with friends, simply send then a URL of the fork with the extension query parameter added pointed to a URL: https://sheeptester.github.io/scratch-gui?extension=<extension_url>
How do I create a Scratch extension?
A YouTube video is in the works but for now, use this helpful guide by NitroCipher and the TypeScript typings.
How do I share my Scratch extension?
You'll need to upload your Scratch extension to a code hosting website and ensure it can serve JavaScript files correctly.
A GitHub Gist is a simple way to do this. Start at gist.github.com and provided you already have a GitHub account, you'll be able to create a new gist and insert your code with a filename ending in .js. Once you have saved your gist, load the Raw version by clicking the button on the resulting page.
Now, you'll need to set the correct content headers in order for the JavaScript file to be loaded correctly. With GitHack, provide the raw URL of the extension source code and use the resulting production URL to load your extension.
Where can I find extensions created by others?
You can use the Scratch 3.0 Extension Directory to find an aggregated list of extensions but the Developing Scratch Extensions subforum is also great place to find the latest in Scratch extensions.
Last edited by RichieNB (Jan. 28, 2021 00:46:54)
For people starting out building Scratch Extensions, I created a simple boilerplate that integrates Typescript and a build toolchain to help streamline the extension development experience.
I'm also working on a tool that automatically packages Scratch projects for offline use and creates a PWA.
- MikeDEV
- Scratcher
1000+ posts
Scratch 3.0 Extensions FAQ
free bump
hope it gets stickied
hope it gets stickied
I have left Scratch! Goodbye everyone, I'll remember you all in therapy.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
- MikeDEV
- Scratcher
1000+ posts
Scratch 3.0 Extensions FAQ
Much, much-belated bump. This is still a useful topic, but it's not active enough. I hope this bump gets things going.
I have left Scratch! Goodbye everyone, I'll remember you all in therapy.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
- scienceexplorer1
- Scratcher
100+ posts
Scratch 3.0 Extensions FAQ
bump
Be cool
- Chilout -
https://www.youtube.com/watch?v=4uoXbsmEBf4
The future lies ahead of us.
Did you know the universe is immensely filled with vacuum rather then any form of matter inside of it?. Well probably you do …
But here is the thing when andromeda galaxy collides with milky way it is expected that not a single star will collide. Space is space. Matter is in a very very small space.
- RichieNB
- Scratcher
71 posts
Scratch 3.0 Extensions FAQ
Bump
For people starting out building Scratch Extensions, I created a simple boilerplate that integrates Typescript and a build toolchain to help streamline the extension development experience.
I'm also working on a tool that automatically packages Scratch projects for offline use and creates a PWA.
- Barthdry
- Scratcher
500+ posts
Scratch 3.0 Extensions FAQ
Bump
Topics to Check
List Of Scratch 3.0 Modifications | Ocular | Barthdry Itch | Scratch Full Mods/Beta 0.1x Archive | Solar Operating System |
- KangaCoder
- Scratcher
1000+ posts
Scratch 3.0 Extensions FAQ
Isn't there already a sticky like this? https://scratch.mit.edu/discuss/topic/198257/
don't feed the trolls. feed yourself pizza cupcakez .[1] [2] [3] [4]
KangaCoder • [he/him] • kæŋɡəˈ koʊdər
• Random Fun Facts: Male, Christian, US resident, EST time zone, Ravenclaw, likes Math and Science, learning German, knows HTML, Python and Java, loves chocolate, favorite color, possibly a kangaroo
• On the Main Site: Experienced Wikian, Camp Counselor, SWC Reviewer, SDS Helper, Forum Helper
• On the Forums: 2.65K+ forum posts
• Project Ideas Directory 6.0 - need a project idea? Check it out!
• Check out some weird and cool Scratch pages!
- han614698
- Scratcher
1000+ posts
Scratch 3.0 Extensions FAQ
Hey there! While it is nice you are trying to help, the Scratch Team is not looking for guides at this time. Feel free to make this in a project instead!
<Scratch Wikian | Forum Helper | 6000+ Posts>
Credit to -gge for the icons in my signature | I condensed all this code into five lines using [p] tags, idk why
- MikeDEV
- Scratcher
1000+ posts
Scratch 3.0 Extensions FAQ
https://scratch.mit.edu/discuss/topic/198257/Isn't there already a sticky like this?
That was for 2.0/ScratchX, which is now obsolete and insecure since they use Flash, which was discontinued a while ago. This thread is a continuation of that thread but updated with modern technologies, as in Scratch 3.
Hey there! While it is nice you are trying to help, the Scratch Team is not looking for guides at this time. Feel free to make this in a project instead!
See aforementioned.
This is just updating the old thread with new content/links, the last time the 2.0 thread was updated was back in 2016, as the update info says “Last edited by savaka (Nov. 7, 2016 07:03:33)”.
I have left Scratch! Goodbye everyone, I'll remember you all in therapy.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
If you want to ever get in contact with me again, please visit my Github instead.
Also, if you need to, you can contact me via Meower. You'll know where to look.
- theycallhermax
- Scratcher
100+ posts
Scratch 3.0 Extensions FAQ
What are extensions?Or GitHub Pages
Extensions are JavaScript functions that are invoked via Scratch blocks. They can be used to connect to hardware, APIs or to simply provide abstractions for a JavaScript function.
How do I load an extension?
Currently, Scratch 3.0 extensions are not supported on the Scratch website and must be used in modded editors. Try SheepTester's fork for a simple alternative. To share an extension with friends, simply send then a URL of the fork with the extension query parameter added pointed to a URL: https://sheeptester.github.io/scratch-gui?extension=<extension_url>
How do I create a Scratch extension?
A YouTube video is in the works but for now, use this helpful guide by NitroCipher and the TypeScript typings.
How do I share my Scratch extension?
You'll need to upload your Scratch extension to a code hosting website and ensure it can serve JavaScript files correctly.
A GitHub Gist is a simple way to do this. Start at gist.github.com and provided you already have a GitHub account, you'll be able to create a new gist and insert your code with a filename ending in .js. Once you have saved your gist, load the Raw version by clicking the button on the resulting page.
Now, you'll need to set the correct content headers in order for the JavaScript file to be loaded correctly. With GitHack, provide the raw URL of the extension source code and use the resulting production URL to load your extension.
Where can I find extensions created by others?
You can use the Scratch 3.0 Extension Directory to find an aggregated list of extensions but the Developing Scratch Extensions subforum is also great place to find the latest in Scratch extensions.
:3
- ericplays2021
- Scratcher
49 posts
Scratch 3.0 Extensions FAQ
when green flag clicked
repeat (Forever)
<key [Coding... v] pressed?>
(☁ Creating a remake of scratch 2)
end
if <Done making a remake of scratch 2> then
stop [wanting to revisit scratch 2.0 online and visiting it v]
define Notify everyone
end
Last edited by ericplays2021 (Jan. 8, 2022 18:20:44)
// good vibes
when green flag clicked :: #3003fc
if <good vibe :: #5203fc> then :: #3003fc
return (good vibe :: #2403fc) :: #5203fc
else
repeat until <good vibe :: #5203fc> :: #3003fc
set [good vibe v] to (pick random (0) to (1)) :: #5a03fc
end
end
- HakunaJin
- New to Scratch
7 posts
Scratch 3.0 Extensions FAQ
hello. Currently, I want to drive my arduino hardware by linking it to scratch.
Currently in progress using the scratch-gui and scratch-vm files.
I want to connect it to a pc using an arduino cable.
How to communicate data?
Sorry…. My English Not Gooooooooooood…….
Currently in progress using the scratch-gui and scratch-vm files.
I want to connect it to a pc using an arduino cable.
How to communicate data?
Sorry…. My English Not Gooooooooooood…….
- Arielo2
- Scratcher
76 posts
Scratch 3.0 Extensions FAQ
that is a turbowarp block but not compitable with scratch
- Arielo2
- Scratcher
76 posts
Scratch 3.0 Extensions FAQ
is there a way to have extentions like sensing plus and clone plus and looks plus
ask [sensing +] and wait
when I start as a clone
- Arielo2
- Scratcher
76 posts
Scratch 3.0 Extensions FAQ
like i wish there were set x position of to ( ) and set y position of to ( )
define set x postion of [sprite ] to [x] set y position of [sprite] to (y)
- Arielo2
- Scratcher
76 posts
Scratch 3.0 Extensions FAQ
when [variable v] > (10)
<this sprite is clicked ?>
- Discussion Forums
- » Developing Scratch Extensions
- » Scratch 3.0 Extensions FAQ