Discuss Scratch

boncuk18
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

Wow!
MagmaCube2
Scratcher
4 posts

Leopard: Edit Scratch projects as JavaScript code

Can Scratch Converted Js Projects Be Downloaded?
JAC77Games
Scratcher
100+ posts

Leopard: Edit Scratch projects as JavaScript code

why does switch backdrop to “backdrop name” not work in JavaScript
Maximouse
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

JAC77Games wrote:

why does switch backdrop to “backdrop name” not work in JavaScript
It should be
this.stage.costume = "backdrop name";
JAC77Games
Scratcher
100+ posts

Leopard: Edit Scratch projects as JavaScript code

Maximouse wrote:

JAC77Games wrote:

why does switch backdrop to “backdrop name” not work in JavaScript
It should be
this.stage.costume = "backdrop name";

thank you
PullJosh
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

Exciting news! @adroitwhiz just identified and fixed a long-standing issue with Leopard where “run without screen refresh” custom blocks wouldn't always work as expected.

The problem was that when a regular custom block was run within a “run without screen refresh” custom block, Scratch would make it go fast but Leopard made it go slow. But that should no longer be an issue.
4cwefgtw9e587
Scratcher
66 posts

Leopard: Edit Scratch projects as JavaScript code

if a forever loop is


while (true) }

{

then what is


while (false) }

{
Maximouse
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

4cwefgtw9e587 wrote:

if a forever loop is


while (true) }

{

then what is


while (false) }

{
while (false) doesn't do anything.
Xpexdex
Scratcher
87 posts

Leopard: Edit Scratch projects as JavaScript code

an isusse I ran into is my project https://scratch.mit.edu/projects/472899133/editor/ Unshared that when you click and type the rgb values, then enter, the dot in the middles donsn't change to the correct color and stays black
bloctans_4
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

I CANT RUN IT ON MY PC DUE TO CROS POLICY

RESPOND TO THIS OR I WILL GO CRAZY

IM SERIOUS

STOP IGNORING ME

Last edited by bloctans_4 (Jan. 16, 2021 18:27:44)

bloctans_4
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

FAILED - server prob?
Agent7th
Scratcher
1 post

Leopard: Edit Scratch projects as JavaScript code

Some projects don't work and will just come up as a black screen. Clicking “edit as javascript” makes it download a tiny file that never gets downloaded.
CoderCrafterpro
Scratcher
14 posts

Leopard: Edit Scratch projects as JavaScript code

The code for those who need help saving it. Save as html file in html editor
<html>
<body>
<h1>
YOUR PROJECT NAME
</h1>
</body>
<script>
THE JAVASCRIPT YOU HAVE
</script>
</html>
Legendscripter_1201
New Scratcher
2 posts

Leopard: Edit Scratch projects as JavaScript code

What you said about scratch is not really true, If your project is slow you can use turbowrap which makes it run faster. You can put your scratch projects on other websites go to scratch wiki for more information. It is possible to remake those features from javascript in scratch, The reason why it dont seem like anyone created those features in scratch is because most people on scratch are kids and teens but those teens and kids can learn more about scratch and experiment to make more advanced things. Some guy made a 3D multiplayer game called TDSGBV and someone made 3D physics in scratch. Someone even made a screen recorder that works just using scratch! So scratch has all the tools that other programming languages have you just need to find a way to make them!
TheInternetIsCoal
Scratcher
2 posts

Leopard: Edit Scratch projects as JavaScript code

Laggy
gammerbroo
Scratcher
34 posts

Leopard: Edit Scratch projects as JavaScript code

Interesting
celleron56
Scratcher
89 posts

Leopard: Edit Scratch projects as JavaScript code

let me put it into an test (me loads up minetest )
Chewyblockguy
Scratcher
100+ posts

Leopard: Edit Scratch projects as JavaScript code

you should make javascript to scratch now. or scratch to python or java or c# or any language
bloctans_4
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

Chewyblockguy wrote:

you should make javascript to scratch now. or scratch to python or java or c# or any language
that would happen to have thease blocks
saysaysayundifined
TriedAndTRUE
Scratcher
18 posts

Leopard: Edit Scratch projects as JavaScript code

Hey, could I paste some code from one of my “My Blocks” and put them in an extension's block? If so, how would I do that?

Powered by DjangoBB