Discuss Scratch

luckyforlei
New to Scratch
6 posts

How to build a scratch editor?

I want to create an online forum as editor of the scratch, but also to achieve the basic functions, idea is through the source code to compile a scratch.swf file, and then call the file access in the local service opening under the condition of a editor, but the role inside the area only a cat.

I think it is because of the lack of corresponding static, but do not know how to set, and I hope to seek help once again
mewtaylor
Scratcher
100+ posts

How to build a scratch editor?

Cool! Have you taken a look at the open source repository for the editor, scratch-flash? That should give you some ideas about how to build your own swf file.
luckyforlei
New to Scratch
6 posts

How to build a scratch editor?

I read the scratch-flash documentation,Install some dependencies via NPM and compile scratch.swf,However, there is no description of how to use scratch.swf to deploy the local editor。I look at the official website by scratching the faint source of the online editing, but there are problems, such as those static documents I do not know what needs。
mewtaylor
Scratcher
100+ posts

How to build a scratch editor?

luckyforlei wrote:

I read the scratch-flash documentation,Install some dependencies via NPM and compile scratch.swf,However, there is no description of how to use scratch.swf to deploy the local editor。I look at the official website by scratching the faint source of the online editing, but there are problems, such as those static documents I do not know what needs。
What is meant by “local editor” – is it the offline editor, or something else? Also, which static documents are you referring to – the tips window? Thanks!
luckyforlei
New to Scratch
6 posts

How to build a scratch editor?

I want to do a Web version scratch (online editor)
card100
Scratcher
1000+ posts

How to build a scratch editor?

luckyforlei wrote:

I want to do a Web version scratch (online editor)
You could create one in HTML5, I don't know if that is what you meant though.

Last edited by card100 (Nov. 2, 2016 22:46:27)


-card100
rufusr
New to Scratch
1 post

How to build a scratch editor?

I have a couple of questions and not sure where to get the answers.
1. How do I create an environment on my website using the scratch online editor so that I may control which script blocks a person may choose from?
2. Are the any step-by-step instructions on how to build such an environment?

Thanks in advance.

Blessings

Rufus
liam48D
Scratcher
1000+ posts

How to build a scratch editor?

rufusr wrote:

How do I create an environment on my website using the scratch online editor so that I may control which script blocks a person may choose from?
Interestingly it sounds like some work has very recently been done on that kind of thing – for example, on the scratch-flash repository, try searching “microworld”.

202e-202e-202e-202e-202e UNI-CODE~~~~~
Jonathan50
Scratcher
1000+ posts

How to build a scratch editor?

liam48D wrote:

rufusr wrote:

How do I create an environment on my website using the scratch online editor so that I may control which script blocks a person may choose from?
Interestingly it sounds like some work has very recently been done on that kind of thing – for example, on the scratch-flash repository, try searching “microworld”.
I remember finding a “make a dress up game” microworld thingy. Here's a link: https://scratch.mit.edu/pathways/fashion/

I found it from this post: https://medium.com/scratchfoundation-blog/10-scratch-projects-with-style-5d587eaaff57 It's a shame microworlds aren't advertised more!!

Not yet a Knight of the Mu Calculus.
iMark0
Scratcher
14 posts

How to build a scratch editor?

Try this:

define popup tellraw [name]
set [tellrawtext v] to (name)
show
show variable [tellrawtext v]
wait (3) secs
repeat (10)
change [ghost v] effect by (10)
end
hide
hide variable [tellrawtext v]

If wrong effect. please, fix it and don't try it

change [ghost v] effect by (10)
means
change [horizontal shot v] effect by (10)
myeducate
Scratcher
500+ posts

How to build a scratch editor?

To build scratch-flash(if that's what you mean) - run this in powershell:
.\gradlew build -Ptarget=11.6

INACTIVE
SPA Member and Assosiate - Creator and overlord of ScratchNetwork - 700+ Forum Posts - Web and Desktop Dev - Fluent in VB, PHP and HTML. I'm okay at CSS and Javascript but am still learning. Sig written in PHP using the picture libary. Firebase is fun.

myeducate
Scratcher
500+ posts

How to build a scratch editor?

iMark0 wrote:

Try this:

define popup tellraw [name]
set [tellrawtext v] to (name)
show
show variable [tellrawtext v]
wait (3) secs
repeat (10)
change [ghost v] effect by (10)
end
hide
hide variable [tellrawtext v]

If wrong effect. please, fix it and don't try it

change [ghost v] effect by (10)
means
change [horizontal shot v] effect by (10)
Oops didn't check the posted date, did you? Now we've both necroposted.

INACTIVE
SPA Member and Assosiate - Creator and overlord of ScratchNetwork - 700+ Forum Posts - Web and Desktop Dev - Fluent in VB, PHP and HTML. I'm okay at CSS and Javascript but am still learning. Sig written in PHP using the picture libary. Firebase is fun.

ajlogo
New to Scratch
3 posts

How to build a scratch editor?

Hello Scratchers,

I've got the online version of Scratch 2 compiling and building. The instructions are very good.

I would like to work using the offline/desktop/air version.

I can't find any info on how to do this, but I'm new and don't know where all to look.

Are there compiler flags like: -define=SCRATCH::allow3d,true

or Gradle options like: ./gradlew build -Ptarget=11.6

to create the offline/desktop/air version?

I see the variable: this.isOffline but this wouldn't change the project into a ‘WindowedApplication’ by itself.

I have created two Logo dialects, one in Actionscript at http://richmediacollaboration.com/

I have connected this to a Python interface (usually raw Python extracted from a notebook) which runs Tensorflow, and sends data and images back to Logo.

This interface might be added to Scratch, enabling neural network control from Scratch.

Cheers,
Ajlogo at gmail

Powered by DjangoBB