Discuss Scratch
- Discussion Forums
- » Developing Scratch Extensions
- » Extension Sample Project - Why is my extension not automatically there?
- LiFaytheGoblin
- Forum Moderator
1000+ posts
Extension Sample Project - Why is my extension not automatically there?
Hi!
Some days ago I made an extension (no serious one, just for fun).
Anyway, I have an example project here: https://github.com/LiFaytheGoblin/ScratchX-Extensions/blob/gh-pages/CatX-sample.sbx .
But for some reason, when I open this project on ScratchX, my extension doesn't load automatically.
When I have the project opened and click “Load Extension” and paste
nothing happens.
Pasting the URL in the url bar and enter will have a new project with the extension loaded. But then I can't open my sample project either because it will replace everything and my extension will be gone again.
So, what can I do? Is this a bug? Did I do something wrong?
Thank you!
Some days ago I made an extension (no serious one, just for fun).
Anyway, I have an example project here: https://github.com/LiFaytheGoblin/ScratchX-Extensions/blob/gh-pages/CatX-sample.sbx .
But for some reason, when I open this project on ScratchX, my extension doesn't load automatically.
When I have the project opened and click “Load Extension” and paste
http://scratchx.org/?url=https://cdn.rawgit.com/LiFaytheGoblin/ScratchX-Extensions/gh-pages/CatX.js#scratch
Pasting the URL in the url bar and enter will have a new project with the extension loaded. But then I can't open my sample project either because it will replace everything and my extension will be gone again.
So, what can I do? Is this a bug? Did I do something wrong?
Thank you!
Deutsch, English, Français, Español, Nederlands
DACH Scratch Wiki • EN Scratch Wiki • All Scratch Wikis • A Scratch Wiki in your native language
DACH Scratch Wiki • EN Scratch Wiki • All Scratch Wikis • A Scratch Wiki in your native language
- Thepuzzlegame
- Scratcher
1000+ posts
Extension Sample Project - Why is my extension not automatically there?
First off, I realized that the url for loading your extension doesn't need to use rawgit. So you'll be fine with:
http://lifaythegoblin.github.io/ScratchX-Extensions/CatX.js instead of https://cdn.rawgit.com/LiFaytheGoblin/ScratchX-Extensions/gh-pages/CatX.js for loading the extension on its own.
There's nothing wrong with your project link, rather it appears the extension didn't save properly in your CatX-sample.sbx file. I've made a new file which should work.
http://lifaythegoblin.github.io/ScratchX-Extensions/CatX.js instead of https://cdn.rawgit.com/LiFaytheGoblin/ScratchX-Extensions/gh-pages/CatX.js for loading the extension on its own.
There's nothing wrong with your project link, rather it appears the extension didn't save properly in your CatX-sample.sbx file. I've made a new file which should work.
hi!
- LiFaytheGoblin
- Forum Moderator
1000+ posts
Extension Sample Project - Why is my extension not automatically there?
1. Okay, thanks First off, I realized that the url for loading your extension doesn't need to use rawgit. So you'll be fine with:
http://lifaythegoblin.github.io/ScratchX-Extensions/CatX.js instead of https://cdn.rawgit.com/LiFaytheGoblin/ScratchX-Extensions/gh-pages/CatX.js for loading the extension on its own.
There's nothing wrong with your project link, rather it appears the extension didn't save properly in your CatX-sample.sbx file. I've made a new file which should work.
2. Awesome, it works! Thank you!
Deutsch, English, Français, Español, Nederlands
DACH Scratch Wiki • EN Scratch Wiki • All Scratch Wikis • A Scratch Wiki in your native language
DACH Scratch Wiki • EN Scratch Wiki • All Scratch Wikis • A Scratch Wiki in your native language
- Discussion Forums
- » Developing Scratch Extensions
- » Extension Sample Project - Why is my extension not automatically there?