Discuss Scratch

OnMax
Scratcher
20 posts

Creating extensions for Scratch 3.0

PullJosh wrote:

OnMax wrote:

Do you mean, I can just use self instead of window?
Haven't tested myself, but it looks like yes.

It doesn't works. It just still doesn't works…

link - js file

forever
Imagine::looks
Programm::sensing
Share::motion
end

Scratch on!::variables
SimpleScratch
Scratcher
100+ posts

Creating extensions for Scratch 3.0

@Sheep_maker

Thanks for your Scratch3 mod with your external extension loader

One “small” issue I'm having with it is that I can't seem to re-load projects that use your utilities extension
(Its just sits there giving an endless series of messages about loading the file/sprites/extensions etc)

Is this just happening to me or is it a general issue?

Simon


Sheep_maker
Scratcher
1000+ posts

Creating extensions for Scratch 3.0

SimpleScratch wrote:

@Sheep_maker

Thanks for your Scratch3 mod with your external extension loader

One “small” issue I'm having with it is that I can't seem to re-load projects that use your utilities extension
(Its just sits there giving an endless series of messages about loading the file/sprites/extensions etc)

Is this just happening to me or is it a general issue?

Simon


Yes, it's happening to me too. Based on my observations, perhaps Scratch 3.0 uses the extension ID as the URL of the extension, which makes sense since internally they're the same thing. I will look into this.

Last edited by Sheep_maker (Aug. 8, 2018 16:31:21)


- Sheep_maker This is a kumquat-free signature. :P
Please don't feel the obligation to post on every single topic you see; eventually you will resort to spam.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
Sheep_maker
Scratcher
1000+ posts

Creating extensions for Scratch 3.0

I've updated my mod; it should now have the latest Beta features, and I also fixed two issues:
  • clicking on extension reporters was very buggy
  • can't upload extension-using projects
I've fixed the second problem by slightly modifying the SB3 format to include the extension URLs. With this, I've also changed the file extension to .sb3x

- Sheep_maker This is a kumquat-free signature. :P
Please don't feel the obligation to post on every single topic you see; eventually you will resort to spam.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
OnMax
Scratcher
20 posts

Creating extensions for Scratch 3.0

Sheep_maker wrote:

I've updated my mod; it should now have the latest Beta features, and I also fixed two issues:
  • clicking on extension reporters was very buggy
  • can't upload extension-using projects
I've fixed the second problem by slightly modifying the SB3 format to include the extension URLs. With this, I've also changed the file extension to .sb3x

Yay great

forever
Imagine::looks
Programm::sensing
Share::motion
end

Scratch on!::variables
dalelane
Scratcher
3 posts

Creating extensions for Scratch 3.0

Sheep_maker wrote:

Because of how extensions are registered, external extensions don't have access to the magical “runtime” thing which means you can't do much with the default Scratch unlike the currently provided extensions. Maybe I'll find a way to change that.

Have you made any progress with this? Do you know if it's a permanent restriction for extensions in Scratch 3, or just something they probably haven't gotten to yet?
Sheep_maker
Scratcher
1000+ posts

Creating extensions for Scratch 3.0

dalelane wrote:

Sheep_maker wrote:

Because of how extensions are registered, external extensions don't have access to the magical “runtime” thing which means you can't do much with the default Scratch unlike the currently provided extensions. Maybe I'll find a way to change that.

Have you made any progress with this? Do you know if it's a permanent restriction for extensions in Scratch 3, or just something they probably haven't gotten to yet?
They haven't gotten to it yet; I am not working on giving extensions access to the runtime because it will likely be different than what the ST will do.

- Sheep_maker This is a kumquat-free signature. :P
Please don't feel the obligation to post on every single topic you see; eventually you will resort to spam.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
Sithlord1000
Scratcher
15 posts

Creating extensions for Scratch 3.0

I think there should be a EV3 extension.

I IS VERY A KUMQUATS
SimpleScratch
Scratcher
100+ posts

Creating extensions for Scratch 3.0

I think there should be a EV3 extension.
There is one - click on the extensions button to see it
Timo79
Scratcher
3 posts

Creating extensions for Scratch 3.0

Can you add support for the SBrick to scratch 3.0 and maybe for the time being add it back to Scratch 2.0 because i have to use my backpack to get the blocks from another project at the moment
LegoRobin6
Scratcher
27 posts

Creating extensions for Scratch 3.0

I want lego boost!
OnMax
Scratcher
20 posts

Creating extensions for Scratch 3.0

LegoRobin6 wrote:

I want lego boost!

There's already one but it was temporarily removed as a Speech extension

forever
Imagine::looks
Programm::sensing
Share::motion
end

Scratch on!::variables
ahmetlii
Scratcher
6 posts

Creating extensions for Scratch 3.0

I think the popular developing cards(Arduino,Rasbperry Pi) should be supported in Scratch 3.0 .Examples,everyone isn't using the micro:bit,Picoboard,Lego and so expensive.Yes,maybe have 1-2 options,but not supported and don't enough.
I think this extensions making in the Scratch and including its all features.

I'm basic scratcher's. #weareallhuman
Ben basit bir scratch'çiyim. #hepimizinsanız

when green flag clicked
say [ahmetlii]

sunnychawla
New to Scratch
1 post

Creating extensions for Scratch 3.0

What are the specifications and guidelines for scratch 3.0 extensions?
PullJosh
Scratcher
1000+ posts

Creating extensions for Scratch 3.0

sunnychawla wrote:

What are the specifications and guidelines for scratch 3.0 extensions?
Documentation still seems to be very much a work in progress, but this should get you started on the right track: https://github.com/LLK/scratch-vm/wiki/Scratch-3.0-Extensions-Specification

You can also view the source code for the built-in extensions here: https://github.com/LLK/scratch-vm/tree/develop/src/extensions

Base 10 is the best number system.
netmille2000
New to Scratch
4 posts

Creating extensions for Scratch 3.0

Forum,

I would like to build Scratch 3.0 extensions.

At this time, I have followed steps from this post: https://scratch.mit.edu/discuss/topic/277217/?page=3#post-3161844

to incorporate the ‘Annotated example’ extension here: https://github.com/LLK/scratch-vm/wiki/Scratch-3.0-Extensions-Specification

into my local local ‘scratch-gui’. Basically, I am attempting to install the extension akin to the way the ‘built-in’ extensions are installed.

However, Once I perform respective steps, Scratch 3.0 is no longer able to run.

I suspect the Scratch 3 is having problems starting the new extension.

Please advise on steps to successfully incorporate the ‘Annotated example’ into my local Scratch 3.0.


My Environment:
————————-
NodeJS version - v10.8.0
Amazon Linux - (Cloud 9)

Thank you in advance.

Powered by DjangoBB

Standard | Mobile