Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » My Extension
- ealgase
-
Scratcher
100+ posts
My Extension
My extension is called ealgase-ext. It currently has two blocks:
I know it's small now. Please make suggestions on what I should add!
Updates:
([#000001]::extension)The code is:
(pi::extension)
(function(ext) { ext._shutdown = function() {}; ext._getStatus = function() { return {status: 2, msg: 'Ready'}; }; ext.color = function(color2) {return(color2);} ext.pi = function(){return(Math.PI)} var descriptor = { blocks: [ ['r', '%c', 'color', 0], ['r','pi','pi'] ], menus: { } }; ScratchExtensions.register('ealgase-ext', descriptor, ext); })({});
I know it's small now. Please make suggestions on what I should add!
Updates:
V1.0::custom-arg cstart
added blocks ([#000000]::extension) and (pi::extension)::motion
end
Last edited by ealgase (March 14, 2015 21:06:26)
- CatsUnited
-
Scratcher
1000+ posts
My Extension
Cool, once I can get on my computer, I'll run it (I wish my tablet has flash and a userscript).
- ealgase
-
Scratcher
100+ posts
My Extension
Cool, once I can get on my computer, I'll run it (I wish my tablet has flash and a userscript).Thanks

- MrSherlockHolmes
-
Scratcher
500+ posts
My Extension
I like it Great start! I bet you'll be a pro in a few weeks!
:)
Last edited by MrSherlockHolmes (March 14, 2015 16:51:13)
- ealgase
-
Scratcher
100+ posts
My Extension
I like itThanksGreat start! I bet you'll be a pro in a few weeks!:)

- ealgase
-
Scratcher
100+ posts
My Extension
How do I get this on here?In Google Chrome, copy the code, and paste it in the JavaScript console of the project you want to add the blocks to.
- ephraim1000
-
Scratcher
26 posts
My Extension
does not work.
My browser / operating system: ChromeOS 6946.86.0, Chrome 43.0.2357.134, Flash 18.0 (release 0)
My browser / operating system: ChromeOS 6946.86.0, Chrome 43.0.2357.134, Flash 18.0 (release 0)
- Discussion Forums
- » Advanced Topics
-
» My Extension