Discuss Scratch

colinator27
Scratcher
85 posts

Scratch Extension Creator [IN DEVELOPMENT]

Scratch Extension Creator
by colinator27

Ever wanted to make a (simplistic) extension for Scratch without coding at ALL? This is the answer. This is a program made in Java that allows users to add customized blocks with a few clicks.

To simplify it all, I created a mode that makes an extension through a Google Chrome extension that it generates. (this is optional) The other option available is to generate a JavaScript file which has the code for the extension, specifically for ScratchX.

Note that this program is in development, and currently does not have much ability. This is all being worked on, so if this project gets support, then it should have a bright future!

Requirements:
- Java 1.8 or above. (Java SE 8)

How to use:
- Once downloaded, read the README.txt file OR open up the ScratchExtensionCreator.jar file to get started!
- To see error messages, start the program using the WindowsDebugMode.bat file. This will open a Command Prompt for Windows users ONLY.

Download Latest Build (0.4):
Click here to download.

GitHub Page:
Click here to go there.

I hope you enjoy this!

PROGRESS UPDATE 1:
https://scratch.mit.edu/projects/87776904/

Update Changelog:
- 0.1: Initial release.
- 0.2: Some minor changes and fixes.
- 0.3: Many additions.
- 0.35: Major bug fix.
- 0.4: Minor changes/fixes and more Chrome customization.

Old Screenshot:

Last edited by colinator27 (Feb. 20, 2016 18:08:10)

colinator27
Scratcher
85 posts

Scratch Extension Creator [IN DEVELOPMENT]

-bump-

:3
DrKat123
Scratcher
1000+ posts

Scratch Extension Creator [IN DEVELOPMENT]

Wow 0_0
I wanna make some extensions!
colinator27
Scratcher
85 posts

Scratch Extension Creator [IN DEVELOPMENT]

DrKat123 wrote:

Wow 0_0
I wanna make some extensions!
Thanks! Note that this is quite a work in progress!
Jonathan50
Scratcher
1000+ posts

Scratch Extension Creator [IN DEVELOPMENT]

Nice idea.
Is there source code?
colinator27
Scratcher
85 posts

Scratch Extension Creator [IN DEVELOPMENT]

Jonathan50 wrote:

Nice idea.
Is there source code?
No, but I could release the source. I don't have GitHub or anything though.
DrKat123
Scratcher
1000+ posts

Scratch Extension Creator [IN DEVELOPMENT]

colinator27 wrote:

Jonathan50 wrote:

Nice idea.
Is there source code?
No, but I could release the source. I don't have GitHub or anything though.
You should register to GitHub
colinator27
Scratcher
85 posts

Scratch Extension Creator [IN DEVELOPMENT]

DrKat123 wrote:

colinator27 wrote:

Jonathan50 wrote:

Nice idea.
Is there source code?
No, but I could release the source. I don't have GitHub or anything though.
You should register to GitHub
Okay. I'll consider it.

But, before I do that, I probably should comment the code and clean it up a LOT. It's pretty messy, especially the JFrame class… XD
colinator27
Scratcher
85 posts

Scratch Extension Creator [IN DEVELOPMENT]

DrKat123 wrote:

colinator27 wrote:

Jonathan50 wrote:

Nice idea.
Is there source code?
No, but I could release the source. I don't have GitHub or anything though.
You should register to GitHub
I've registered, and here it is!
Jonathan50
Scratcher
1000+ posts

Scratch Extension Creator [IN DEVELOPMENT]

colinator27 wrote:

DrKat123 wrote:

colinator27 wrote:

Jonathan50 wrote:

Nice idea.
Is there source code?
No, but I could release the source. I don't have GitHub or anything though.
You should register to GitHub
I've registered, and here it is!
Neat! What license?
colinator27
Scratcher
85 posts

Scratch Extension Creator [IN DEVELOPMENT]

Jonathan50 wrote:

colinator27 wrote:

DrKat123 wrote:

colinator27 wrote:

Jonathan50 wrote:

Nice idea.
Is there source code?
No, but I could release the source. I don't have GitHub or anything though.
You should register to GitHub
I've registered, and here it is!
Neat! What license?
Whoops, almost forgot. Just added in the MIT license. It's funny that this project has to do with Scratch, which was made by MIT, and now I'm licensing it with the MIT license…

Last edited by colinator27 (Feb. 21, 2016 02:05:07)

docaiden
Scratcher
100+ posts

Scratch Extension Creator [IN DEVELOPMENT]

How do i use it? i cant get it on scratchX?
colinator27
Scratcher
85 posts

Scratch Extension Creator [IN DEVELOPMENT]

docaiden wrote:

How do i use it? i cant get it on scratchX?
If you have Google Chrome, you can check the Chrome extension checkbox. You'll need to go into ‘chrome: //extensions’ (no space) and enable developer mode. Then, click the button on ‘chrome: //extensions’ (no space) that says ‘Load unpacked extension’ Then, navigate to the folder where Scratch Extension Creator is, and into the ‘Extension Build’ folder which should be created if you checked the Chrome option.

For ScratchX, it'll be really complicated and confusing.

Last edited by colinator27 (April 4, 2016 10:33:52)

docaiden
Scratcher
100+ posts

Scratch Extension Creator [IN DEVELOPMENT]

my chrome has a virus i use firefox and scratchX is the only way i can do it
colinator27
Scratcher
85 posts

Scratch Extension Creator [IN DEVELOPMENT]

docaiden wrote:

my chrome has a virus i use firefox and scratchX is the only way i can do it
Well, all that the extension generates is a script for that. You'd need to inject a script into the editor, so I'm sorry if it's complicated.

To load your script, visit the documentation here:
https://github.com/LLK/scratchx/wiki#load-a-javascript-file-hosted-on-github

It suggests hosting it on github. This is quite complicated. I think you're out of luck, either get rid of the issue with Chrome, or figure out the development side of it.

There's not much more I can explain, I'm sorry.
helloandgoodbye9
Scratcher
1000+ posts

Scratch Extension Creator [IN DEVELOPMENT]

Just an idea, but maybe make a button to turn it into a bookmarklet or a userscript. I cant try it right now, but I will later.
colinator27
Scratcher
85 posts

Scratch Extension Creator [IN DEVELOPMENT]

helloandgoodbye9 wrote:

Just an idea, but maybe make a button to turn it into a bookmarklet or a userscript. I cant try it right now, but I will later.
Well, right now it just generates Chrome extensions and javascript. I think it's possible to make a userscript out of the javascript file it generates.
helloandgoodbye9
Scratcher
1000+ posts

Scratch Extension Creator [IN DEVELOPMENT]

colinator27 wrote:

helloandgoodbye9 wrote:

Just an idea, but maybe make a button to turn it into a bookmarklet or a userscript. I cant try it right now, but I will later.
Well, right now it just generates Chrome extensions and javascript. I think it's possible to make a userscript out of the javascript file it generates.
It is, but it never works for me . Also, you can directly import user scripts into chome, and it works in all browsers. Also, bookmarklets are very convenient for the same purpose, but those are easy to make from javascript.
colinator27
Scratcher
85 posts

Scratch Extension Creator [IN DEVELOPMENT]

helloandgoodbye9 wrote:

colinator27 wrote:

helloandgoodbye9 wrote:

Just an idea, but maybe make a button to turn it into a bookmarklet or a userscript. I cant try it right now, but I will later.
Well, right now it just generates Chrome extensions and javascript. I think it's possible to make a userscript out of the javascript file it generates.
It is, but it never works for me . Also, you can directly import user scripts into chome, and it works in all browsers. Also, bookmarklets are very convenient for the same purpose, but those are easy to make from javascript.
Well, I guess I could add compatibility for userscripts. I'll have to research about bookmarklets.

(it will generate a user.js file)
colinator27
Scratcher
85 posts

Scratch Extension Creator [IN DEVELOPMENT]

colinator27 wrote:

helloandgoodbye9 wrote:

colinator27 wrote:

helloandgoodbye9 wrote:

Just an idea, but maybe make a button to turn it into a bookmarklet or a userscript. I cant try it right now, but I will later.
Well, right now it just generates Chrome extensions and javascript. I think it's possible to make a userscript out of the javascript file it generates.
It is, but it never works for me . Also, you can directly import user scripts into chome, and it works in all browsers. Also, bookmarklets are very convenient for the same purpose, but those are easy to make from javascript.
Well, I guess I could add compatibility for userscripts. I'll have to research about bookmarklets.

(it will generate a user.js file)
Wait, now I'm questioning this…. it seems nearly 100% impossible to do this. Hmmm..

Powered by DjangoBB