Discuss Scratch

glitcX
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

I've tried this before, it's pretty cool!
ZENNY_ZILO
Scratcher
3 posts

Leopard: Edit Scratch projects as JavaScript code

I have a question, can Leopard convert huge projects into javascript?
o97doge
Scratcher
500+ posts

Leopard: Edit Scratch projects as JavaScript code

As a developer and backend hoster of a certain Scratch mod, I am concerned about your project hosting feature.
The Scratch Team doesn't like it when they think your website has rules not safe for children under 13, or if it isn't moderated by professional moderators, and since this website allows PG-13 content and sharing your precise location (For 18+ users, but still, they wont like that), they would likely not like your project sharing feature.

Last edited by o97doge (Oct. 15, 2024 03:15:57)

GlideWing27
Scratcher
5 posts

Leopard: Edit Scratch projects as JavaScript code

TurboWarp Packager is better than Scratch at converting Scratch projects to HTML or Zip. It is actually really good for web developers like me. Leopard just isn't on that level.
SuperSpace_Games99
Scratcher
2 posts

Leopard: Edit Scratch projects as JavaScript code

I tried making a game in JavaScript so I used it to help but it couldn’t display anything
definewhathappenedIdk
Maximouse
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

GlideWing27 wrote:

TurboWarp Packager is better than Scratch at converting Scratch projects to HTML or Zip. It is actually really good for web developers like me. Leopard just isn't on that level.
They have different goals. TurboWarp is compatible with all existing projects. Leopard isn't, but it produces human-readable JavaScript.
Jaim_animation
Scratcher
94 posts

Leopard: Edit Scratch projects as JavaScript code

thebupking wrote:

Hey, Josh I want to make a js to scratch becuase java makes more sence for me

Java And Javascript Are To Different Languages.
Printing Hello World in Console/Terminal/Command Prompt In java:
``java
public static void main(String args) {
sys.out.println(“Hello World!”);
}
`
In Javascript-
``javascript
console.log(“Hello World!”);
`
SuperSpace_Games99
Scratcher
2 posts

Leopard: Edit Scratch projects as JavaScript code


hi guys just wanna say that leopard is really hard to use and only works on small projects, an alternative is turbowarp

ifyoufollowthensayI will be happyfor2secs
DifferentDance8
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

SuperSpace_Games99 wrote:


hi guys just wanna say that leopard is really hard to use and only works on small projects, an alternative is turbowarp

ifyoufollowthensayI will be happyfor2secs
Turbowarp isn't meant to be used for the same purposes as Leopard. Leopard is meant for human-readable JS, Turbowarp is meant for highly optimized JS at the cost of human readability.
-HexaScape-
Scratcher
43 posts

Leopard: Edit Scratch projects as JavaScript code

My project refuses to compile even thought it was made in 3.0 and only has the pen extension. Any ideas as to why it’s not working?
Edit: Never mind, it’s presumably just too large for the compiler.

Last edited by -HexaScape- (Nov. 21, 2024 07:32:15)

LukasDoesCode
Scratcher
59 posts

Leopard: Edit Scratch projects as JavaScript code

Do TurboWarp projects with TurboWarp extensions work?
I'm at a point in my project where I'd much rather be doing it in a text-based language.
PaxtonPenguin
Scratcher
100+ posts

Leopard: Edit Scratch projects as JavaScript code

LukasDoesCode wrote:

Do TurboWarp projects with TurboWarp extensions work?
I'm at a point in my project where I'd much rather be doing it in a text-based language.
No, it's only meant for normal scratch projects
lerkehest
New Scratcher
1 post

Leopard: Edit Scratch projects as JavaScript code

it works good
goatgoatgoat97
Scratcher
1 post

Leopard: Edit Scratch projects as JavaScript code

Not Working. just Acusing me of having extentions
defineIDon'tHaveExtension!!!Onlypen!!
MonkeyBean2
Scratcher
500+ posts

Leopard: Edit Scratch projects as JavaScript code

GlideWing27 wrote:

TurboWarp Packager is better than Scratch at converting Scratch projects to HTML or Zip. It is actually really good for web developers like me. Leopard just isn't on that level.
The point of Leopard is to output human readable JavaScript that can then be manually edited.
Arturcintra_2024
Scratcher
3 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!
Neon64Goober
Scratcher
25 posts

Leopard: Edit Scratch projects as JavaScript code

https://scratch.mit.edu/projects/973637218/ (volume warning)

This is one of my simplest projects, and the editor hates it, and I don't know why. I do have cloud vars but it ran fine with them before.

My first problem was that one of my sprites (Sprite1) wasn't using the right costume, now the project just flat out doesn't work anymore.

Also I have no clue how to delete projects in the leopard website.
remadegame207
Scratcher
21 posts

Leopard: Edit Scratch projects as JavaScript code

my project https://scratch.mit.edu/projects/1036458140/ wont convert, but unless there is a time-traveler back in 2018 using my account it was made in june 2024, and it uses only pen.

it also only shows for a short time with the
show

Last edited by remadegame207 (Dec. 6, 2024 17:03:42)

--CHA0S--
Scratcher
100+ posts

Leopard: Edit Scratch projects as JavaScript code

remadegame207 wrote:

my project https://scratch.mit.edu/projects/1036458140/ wont convert, but unless there is a time-traveler back in 2018 using my account it was made in june 2024, and it uses only pen.

it also only shows for a short time with the
show
I had the same issue, I'm pretty sure its because of the change color block. I don't think leopard supports change color in the pen extension.
remadegame207
Scratcher
21 posts

Leopard: Edit Scratch projects as JavaScript code

Powered by DjangoBB