Discuss Scratch

enilK
Scratcher
74 posts

ExtenilK

How do I add the extension to a project?
Project
Studio
Source Code
I got it.

Last edited by enilK (Aug. 5, 2016 16:31:03)



Here are some foods for you KUMqUATS to eat instead of my signature:
report [~enilK] :: control cap
enilK
Scratcher
74 posts

ExtenilK

bump

When I run the code in the console on the project, I get an error:
Uncaught TypeError: Cannot read property ‘Is JavaScript awesome?’ of undefined


I changed the code, and I don't have that error anymore.

Now I have:
Uncaught SyntaxError: Unexpected token :


ScratchExtensions is not defined, therefore I can't register the extension.

Last edited by enilK (Aug. 3, 2016 20:27:16)



Here are some foods for you KUMqUATS to eat instead of my signature:
report [~enilK] :: control cap
enilK
Scratcher
74 posts

ExtenilK

enilK wrote:

ScratchExtensions is not defined, therefore I can't register the extension.
Try the URL bar with javascript:extension code here.


Here are some foods for you KUMqUATS to eat instead of my signature:
report [~enilK] :: control cap
enilK
Scratcher
74 posts

ExtenilK

enilK wrote:

Try the URL bar with javascript:extension code here.

Uncaught SyntaxError: Unexpected identifier is printed in the console when I run the code in the URL bar.


Here are some foods for you KUMqUATS to eat instead of my signature:
report [~enilK] :: control cap
enilK
Scratcher
74 posts

ExtenilK

savaka wrote:

Extensions are not used on Scratch
they are used on ScratchX
Then how do experimental extensions work on Scratch 2.0?
When I click the bookmarklet for Scratch Boost on Scratch 2.0, the extension is installed.
Also, I get the same errors on ScratchX when I try to install ExtenilK.

Last edited by enilK (Aug. 10, 2016 23:17:54)



Here are some foods for you KUMqUATS to eat instead of my signature:
report [~enilK] :: control cap
enilK
Scratcher
74 posts

ExtenilK

I just tried it on ScratchX, and it worked (mostly)!

Last edited by enilK (Aug. 4, 2016 13:59:13)



Here are some foods for you KUMqUATS to eat instead of my signature:
report [~enilK] :: control cap
enilK
Scratcher
74 posts

ExtenilK

My extension is working, but if you find any bugs that I might have missed, let me know.
Open ScratchX or a Scratch 2.0 project, open your console, go to the link below, select all, copy, go back to X or 2.0, and paste in the console.
Link: http://bitly.com/2aN67VZ


Here are some foods for you KUMqUATS to eat instead of my signature:
report [~enilK] :: control cap
enilK
Scratcher
74 posts

ExtenilK

Is it possible to add labels to my extension in the block palette?
Nevermind; I figured it out (sort of, but the rectangles are what I was trying to make).

Last edited by enilK (Aug. 4, 2016 14:50:40)



Here are some foods for you KUMqUATS to eat instead of my signature:
report [~enilK] :: control cap
enilK
Scratcher
74 posts

ExtenilK

ExtenilK works on ScratchX and Scratch 2.0, but some of the blocks don't work on ScratchX but do work on Scratch 2.0.


Here are some foods for you KUMqUATS to eat instead of my signature:
report [~enilK] :: control cap
savaka
Scratcher
1000+ posts

ExtenilK

Experimental extensions are intended to only be used in ScratchX.
Any method of using experimental extensions in the Scratch editor (console, bookmarklets) is unintentional.


You can use an extension in ScratchX by going to the ScratchX website, clicking “Open Extension URL,” and pasting the URL of the extension's code (JavaScript file). You can also open a ScratchX extension by going to this URL, with [url] replaced with the URL of the JS file:
http://scratchx.org/?url=[url]

Last edited by savaka (Aug. 4, 2016 16:00:39)

enilK
Scratcher
74 posts

ExtenilK

I don't have a ScratchX URL for ExtenilK; the best way to install ExtenilK in ScratchX is copying all of the code here and pasting it in the console on the ScratchX page.


Here are some foods for you KUMqUATS to eat instead of my signature:
report [~enilK] :: control cap
enilK
Scratcher
74 posts

ExtenilK

My Scratch Website category is for Scratch 2.0; they don't work in ScratchX.

All other categories work in ScratchX.


Here are some foods for you KUMqUATS to eat instead of my signature:
report [~enilK] :: control cap
savaka
Scratcher
1000+ posts

ExtenilK

You can host the code on GitHub Gist for free and without registering.
Then to get a URL to the JS file, click the “Raw” button, copy the URL, and paste it on RawGit. Copy one of the URLs (depending on which purpose it's for) and that is the URL to your extension.

Also if your extension is finished you can submit it to the directory. If you don't want to upload it yourself I can do it on the directory repo.
enilK
Scratcher
74 posts

ExtenilK

I think I'd rather keep it the way I have it, but thanks for the suggestion.


Here are some foods for you KUMqUATS to eat instead of my signature:
report [~enilK] :: control cap
savaka
Scratcher
1000+ posts

ExtenilK

If your extension is finished and you want people to see it and use it on ScratchX make sure you submit it on the directory (you don't have to host it on gist or anything I'll do all that stuff)

(if not then don't)
enilK
Scratcher
74 posts

ExtenilK

Added!


Here are some foods for you KUMqUATS to eat instead of my signature:
report [~enilK] :: control cap
enilK
Scratcher
74 posts

ExtenilK

`

Last edited by enilK (Nov. 19, 2016 23:08:01)



Here are some foods for you KUMqUATS to eat instead of my signature:
report [~enilK] :: control cap
savaka
Scratcher
1000+ posts

ExtenilK

Idk if that's the description but I need a short 1 line description like on the directory
enilK
Scratcher
74 posts

ExtenilK

I just made the blocks of the extension with scratchblocks.


Here are some foods for you KUMqUATS to eat instead of my signature:
report [~enilK] :: control cap

Powered by DjangoBB

Standard | Mobile