Discuss Scratch

Lethiathan7769
New to Scratch
1 post

Scratch to Javascript converter

Phosphorus no longer works with newer projects since the app was designed for sb2 files and not sb3.
I tried.
cassi070907
Scratcher
11 posts

Scratch to Javascript converter

theXliner
Scratcher
83 posts

Scratch to Javascript converter

cassi070907 wrote:

Try sulfurous
https://sulfurous.aau.at/~sulfurous/
NIOCE

Nambaseking01
Scratcher
1000+ posts

Scratch to Javascript converter

theXliner wrote:

NIOCE

Hi! Please discuss Sulfurous and it's features at it's official topic and not here. Thanks!

Hey there! My name is Nammy. I'm a male Forum Helper and Scratch Wiki Editor.
Profile | Test Account | Talk with me here! | Griffpatch is quitting Scratch?!
phi548182
Scratcher
3 posts

Scratch to Javascript converter

Well, there is this thing called Blockly, it turns blocks into Javascript. Just search it up and click the first result.
Nambaseking01
Scratcher
1000+ posts

Scratch to Javascript converter

Nambaseking01 wrote:

One of the rejected suggestions is text-based coding, but I understand that's not what you're going for here. This does mean the ST is staying away from more complex programming languages so I think this would not be a good idea. Plus, JavaScript has dozens more features than Scratch and a conversion would mean tons of confusion.

Automatically forming a JavaScript document that the client can see would already be hard enough for the ST if you think about it.

Bumping my opinion on this topic.

Hey there! My name is Nammy. I'm a male Forum Helper and Scratch Wiki Editor.
Profile | Test Account | Talk with me here! | Griffpatch is quitting Scratch?!
minor-edit
Scratcher
500+ posts

Scratch to Javascript converter

I have been working on a Scratch to JavaScript studio and the project “This is Javascript.” features a very advanced converter.

John Conway










☁️

• ω •

HSL and RGB levels


Whoops! Our server is Scratch'ing its head
We couldn't find the page you're looking for. Check to make sure you've typed the url correctly.
You can try searching for what you're looking for here:
Search
(╯°□°)╯︵ ┻━┻ 404 ┻━┻ ╰(°□°╰)



these blocks have been hidden for your safety


scroll around the scripting area while holding a block of code.
hi
necroposting is allowed on the Suggestions forum for comments relevant to the discussion
Seth_Zaw
Scratcher
100+ posts

Scratch to Javascript converter

Here:
say (x)
alert(x);
ask (x) and wait
prompt(x);
set [var v] to (x)
var = x
change [var v] by (x)
var += x
repeat (x)
...
end
for (i=1;i<=x;i++) {

}
if <a> then

end
if (a) {

}
if <a> then

else
…. :: grey
end
if (a) {

} else {
….
}
(a) + (b)
a+b
(a) - (b)
a-b
(a) * (b)
a*b
(a) / (b)
a/b
[sqrt v] of (x)
Math.sqrt(x);
(a) = (b)
a==b
(a) > (b)
a>b
(a) < (b)
a<b
<a> and <b>
a&&b
a*b
<a> or <b>
a||b
not<a>
!a;
join(a)(b)
'' + a + b
length of (x)
x.length;
letter (x) of (text)
text(x) // replace the round brackets with square brackets
define function1 (argument)
...
function function1(argument) {

}
Anyways, no support, since JavaScript would be confusing to young children.

Last edited by Seth_Zaw (Jan. 21, 2020 23:55:12)


¡Aprendamos español con los Alfabetons!
In my new series, you will cover genders of nouns, important and useful phrases, conjugating verbs and adjectives, regular and irregular words, and more, in Spanish!
Click here to get started!
Visit the Official Alfabetons Website: https://alfabetons.com
minor-edit
Scratcher
500+ posts

Scratch to Javascript converter

More Scratch to JavaScript examples here.

John Conway










☁️

• ω •

HSL and RGB levels


Whoops! Our server is Scratch'ing its head
We couldn't find the page you're looking for. Check to make sure you've typed the url correctly.
You can try searching for what you're looking for here:
Search
(╯°□°)╯︵ ┻━┻ 404 ┻━┻ ╰(°□°╰)



these blocks have been hidden for your safety


scroll around the scripting area while holding a block of code.
hi
necroposting is allowed on the Suggestions forum for comments relevant to the discussion
Vibe-Studios
Scratcher
1 post

Scratch to Javascript converter

MegaApuTurkUltra wrote:

Phosphorus is technically a Scratch to javascript converter
kind of but that is more JQuery
McJoe201
Scratcher
38 posts

Scratch to Javascript converter

jesseli2007 wrote:

I'm trying to convert this block:
if <> then

end
If (var == 1) then {
//your code here//
}

My Profile fellow me and I will follow you!
My public studios: Mobile Gaming - Game Zone
rdococ
Scratcher
500+ posts

Scratch to Javascript converter

It would be potentially difficult to provide simple, easy to read source code because of the differences between how Scratch and Javascript behave. As just one example, Scratch is naturally multithreaded (meaning multiple scripts can run at the same time), for example, while most languages, such as Javascript, aren't. A forever loop in Scratch allows you to run looped animations and apply gravity to sprites - a forever loop in Javascript freezes the browser.

Last edited by rdococ (Feb. 10, 2020 23:28:46)

PumpkinBear111
Scratcher
68 posts

Scratch to Javascript converter

This has been rejected here:
https://scratch.mit.edu/discuss/topic/59876/?page=6#post-3471767

hey. i learned how to make a signiture… cool. lol.
ummmm…
yea…
SUBSCRIBE to PumpkinBear111 on YouTube
do it.
have you done it yet?

theXliner
Scratcher
83 posts

Scratch to Javascript converter

so?
We're just helping…. “advanced coders”

Last edited by theXliner (Feb. 12, 2020 01:41:28)


SMGIbrahim
Scratcher
16 posts

Scratch to Javascript converter

{this comment was deleted}

Last edited by SMGIbrahim (Feb. 13, 2020 19:42:55)


L̷̤̱͍͍̦̤̐̄̈́́͐͋̒̉ͅi̵͈̖̖̳͉̾̑͆͆͊̓̓͛̂̋k̷̢̛̜̖̈́̐̂e̸͙͑̽̔ ̴̡̪̬̺̂̅̂̾͠ạ̴͛͆̊̂n̴̰͉̂̏̈́d̴̨̻̰̭̼͎͇͉̞̯͗̽͌͊̊̓͛̕͝ ̸̧̯͇͖͎̪̹̯̳̭͆̔̒s̴̩̿̈́͌u̶̹͕̻͇̐͂́̇͘ḅ̶̜̣̱̐̏͊̍͐̚͠s̷̛͙̩̻̙̱͆̒̈̋c̷͇̦̠̥̖͑͑́͂͒͗̆͘͘͠r̵̖̱̟͈̙͙͛̊̽̇̎̈́̄̑̋͠i̷̜̤̪̲̓̄́b̸̢̢̘̼̜̦̭̱͔̮̈́̓͐̋̾͑̂͝ē̵̱͙̻̮͖͙̝͖͓̽̒̐̀̈́͑͝ͅ ̷̻̟̰͎̞̫̣̯̹̿̊͆̀̎o̴̢͓͙̼̬͈͒̽̓̂̈́̑̿͜͝r̸̡͚̫̳̦͈̼̙͂̑͂͝ ̴̨̭̖͎͍̗̠̟͈͛̎͐̾͋̏͝Į̸̨̭̳͇̹̬͙̬̫̅̐ ̷̧̟̤̂͆̾͆́̽̎͂̋̕ͅẅ̶̛͎̼̮́̓̓͌͑̀̕͜i̶̺̳̋̉́́͝l̶̛̝͉͙͙͓̰̮̗͙͖̐͑̎͠l̷͕̳̖̣̉̿̋́͌̽ꙅɘiʞooɔ ɿuoʏ ||ɒ |ɒɘƚꙅ

when green flag clicked
if <[universe] < [perfectly balanced]> then
set [ Snap!] to [In progress]
when [ Snap!] > (In progress)
delete ( 50%) of [list universal poulation]

end
https://public-media.si-cdn.com/filer/d6/7d/d67d186f-f5f3-4867-82c5-2c772120304f/thanos-snap-featured-120518-2.jpg
illudes
Scratcher
2 posts

Scratch to Javascript converter

nickeljorn wrote:

Support! I was thinking of suggesting a “view code” option (Like on Code.Org) with several programming languages to choose from, such as JavaScript, Python, Ruby, etc.

Yeah I agree with the view code button because then we could make simply coded scratch games into complex internet games that could be used to make chrome extensions and other things like that.

Hey I'm @cpedulli
Maximouse
Scratcher
1000+ posts

Scratch to Javascript converter

PullJosh made a working Scratch to JS converter: https://scratch-js.now.sh/


This is Maximouse's signature. Learn more about signatures.
--Explosion--
Scratcher
1000+ posts

Scratch to Javascript converter

Sheep_maker wrote:

You can't convert a costume into Javascript, I believe.

Would this be like a “download to computer as .js” button?
Maybe upon shift clicking the menu

Last edited by kaj (Tomorrow 00:00:00)
✰✩✭✴★--Explosion--★✴✭✩✰
Forum helper | boy | platformers | 14yrs | guitar | website


-FailureSnowy-
Scratcher
36 posts

Scratch to Javascript converter

PumpkinBear111 wrote:

This has been rejected here:
https://scratch.mit.edu/discuss/topic/59876/?page=6#post-3471767
Imma bump this comment. If the ST already rejected a Scratch-to-JavaScript converter, why are we still asking for it? Plus, some links have been provided that convert Scratch to JavaScript. ST said they ain't making one themselves.
DrGaming_92Games
Scratcher
100+ posts

Scratch to Javascript converter

-FailureSnowy- wrote:

PumpkinBear111 wrote:

This has been rejected here:
https://scratch.mit.edu/discuss/topic/59876/?page=6#post-3471767
Imma bump this comment. If the ST already rejected a Scratch-to-JavaScript converter, why are we still asking for it? Plus, some links have been provided that convert Scratch to JavaScript. ST said they ain't making one themselves.

That was Paddle2See confirming the suggestion for Scratch being text-based, not a javascript converter.

Powered by DjangoBB