Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Leopard: Edit Scratch projects as JavaScript code
- MagmaCube2
-
4 posts
Leopard: Edit Scratch projects as JavaScript code
Can Scratch Converted Js Projects Be Downloaded?
- JAC77Games
-
100+ posts
Leopard: Edit Scratch projects as JavaScript code
why does switch backdrop to “backdrop name” not work in JavaScript
- Maximouse
-
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
It should be why does switch backdrop to “backdrop name” not work in JavaScript
this.stage.costume = "backdrop name";
- JAC77Games
-
100+ posts
Leopard: Edit Scratch projects as JavaScript code
It should be why does switch backdrop to “backdrop name” not work in JavaScriptthis.stage.costume = "backdrop name";
thank you
- PullJosh
-
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.
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
-
66 posts
Leopard: Edit Scratch projects as JavaScript code
if a forever loop is
while (true) }
{
then what is
while (false) }
{
while (true) }
{
then what is
while (false) }
{
- Maximouse
-
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
while (false) doesn't do anything. if a forever loop is
while (true) }
{
then what is
while (false) }
{
- Xpexdex
-
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
-
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
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
-
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
FAILED - server prob?
- Agent7th
-
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
-
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>
<html>
<body>
<h1>
YOUR PROJECT NAME
</h1>
</body>
<script>
THE JAVASCRIPT YOU HAVE
</script>
</html>
- Legendscripter_1201
-
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!
- celleron56
-
89 posts
Leopard: Edit Scratch projects as JavaScript code
let me put it into an test (me loads up minetest )
- Chewyblockguy
-
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
-
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
that would happen to have thease blocks you should make javascript to scratch now. or scratch to python or java or c# or any language
- TriedAndTRUE
-
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?