Discuss Scratch

--CHA0S--
Scratcher
100+ posts

Leopard: Edit Scratch projects as JavaScript code

It does use that, is that not supported in JavaScript?
not_HOME
Scratcher
9 posts

Leopard: Edit Scratch projects as JavaScript code

I had a similar experience.
And we were able to avoid this by replacing the block that was causing the problem with an alternative block.

Last edited by not_HOME (Aug. 15, 2024 00:28:56)

Red_Panda_baer
Scratcher
0 posts

Leopard: Edit Scratch projects as JavaScript code

when green flag clicked
forever
if <key [ d] pressed?> then
change x by (4)
end
if <key [ a] pressed?> then
change x by (-4)
end
if <key [ w] pressed?> then


change y by (6)

else
if <key [ s] pressed?> then
change y by (-6)
end
end
end
IAMATP
Scratcher
79 posts

Leopard: Edit Scratch projects as JavaScript code

Hey I can't read through all 55 pages so here I am reporting this:

None of the 3D engines I find work. Also in Astral Engine there's a weird glitch that no other extension other than pen can be used but there's not
galactic_nova120
Scratcher
16 posts

Leopard: Edit Scratch projects as JavaScript code

IndexErrorException wrote:

arturo_scratch_real wrote:

isn't this basically just turbowarp except using an actual code editor

Yeah but this one you can directly edit and see how it works. It's also quite slower than turbowarp.


I guess
kitty1000pranjalc
Scratcher
25 posts

Leopard: Edit Scratch projects as JavaScript code

PullJosh wrote:

Please use this thread to discuss Leopard, share your projects, and ask for help.


That's right! Translating Scratch to JavaScript is now possible! The tool is called Leopard, and it's available here:

Leopard Website – Go here to convert your projects!

Who needs this?
If you know Scratch and want to learn JavaScript, Leopard is made for you. It's the perfect transition tool. Leopard also allows you to convert your existing Scratch projects into JavaScript code and edit them that way.

What if it doesn't work?
Not every project will translate perfectly. That's why we have a team of Leopard Mentors who are here to offer support. If you are having trouble with a project, you can ask here on the forums or create a dedicated “cleanup crew” post to get more 1-on-1 help.

Thank you so much to the contributors who made Leopard possible!

You can right-click and click inspect (ctrl/cmd+shift+c) to get the website's code–and edit it! That is also a good way to learn JavaScript.
xal_101
Scratcher
5 posts

Leopard: Edit Scratch projects as JavaScript code

Can it have an option to read the full error logs? it would help me.
ego-lay_atman-bay
Scratcher
500+ posts

Leopard: Edit Scratch projects as JavaScript code

kitty1000pranjalc wrote:

(#1086)
You can right-click and click inspect (ctrl/cmd+shift+c) to get the website's code–and edit it! That is also a good way to learn JavaScript.

That's not necessarily true, because the scratch source code is not easy to read, which makes it very hard to learn.
Maximouse
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

ego-lay_atman-bay wrote:

kitty1000pranjalc wrote:

(#1086)
You can right-click and click inspect (ctrl/cmd+shift+c) to get the website's code–and edit it! That is also a good way to learn JavaScript.

That's not necessarily true, because the scratch source code is not easy to read, which makes it very hard to learn.
The source code is readable, but what you see in the devtools on Scratch (and many other websites) is minified to reduce the file size.
BigNate469
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

Maximouse wrote:

ego-lay_atman-bay wrote:

kitty1000pranjalc wrote:

(#1086)
You can right-click and click inspect (ctrl/cmd+shift+c) to get the website's code–and edit it! That is also a good way to learn JavaScript.

That's not necessarily true, because the scratch source code is not easy to read, which makes it very hard to learn.
The source code is readable, but what you see in the devtools on Scratch (and many other websites) is minified to reduce the file size.
In addition to in many cases not actually being representative of the original source, especially if some web assembly or typescript is present
redspacecat
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

Why can't I convert https://scratch.mit.edu/projects/322341152/ (Terraria Stamped by @griffpatch)
83lololoT
Scratcher
21 posts

Leopard: Edit Scratch projects as JavaScript code

You can try leopardjs.com to make project from javascript
BigNate469
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

83lololoT wrote:

You can try leopardjs.com to make project from javascript
Yes, you can. However, you have to write it in the way Scratch does it internally.

lepordjs.com is the subject of this topic
83lololoT
Scratcher
21 posts

Leopard: Edit Scratch projects as JavaScript code

Ok then
meunspeakable
Scratcher
100+ posts

Leopard: Edit Scratch projects as JavaScript code

https://scratch.mit.edu/projects/965840239/
Despite this being a simple project, it fails to load in leopard. Why is this issue?
83lololoT
Scratcher
21 posts

Leopard: Edit Scratch projects as JavaScript code

I think its an older version maybe?
83lololoT
Scratcher
21 posts

Leopard: Edit Scratch projects as JavaScript code

meunspeakable wrote:

https://scratch.mit.edu/projects/965840239/
Despite this being a simple project, it fails to load in leopard. Why is this issue?
I frogot to quote
-J4SP3R-
Scratcher
53 posts

Leopard: Edit Scratch projects as JavaScript code

“Sandbox not found
It's likely that the Sandbox you're trying to access doesn't exist or you don't have the required permissions to access it.
All Systems Operational
We didn't encounter any issues in our system, which indicates that the issue might be related to your account.

If the issue persists, please contact our support team at support@codesandbox.io for further assistance, making sure to copy the error details below, or check the status page.”

what does this mean?
xX_TIG_Xx
Scratcher
28 posts

Leopard: Edit Scratch projects as JavaScript code

I tried to convert a pen project, but it gives an error on every project with pen, even though it says pen is supported. It works fine with non-pen projects though.
--CHA0S--
Scratcher
100+ posts

Leopard: Edit Scratch projects as JavaScript code

I had the same issue. I think it’s caused by certain blocks, which some pen blocks being supported and others not. I’m not sure which ones but if you go to previous pages you will probably find the answer.

Powered by DjangoBB