Discuss Scratch

n-clue
Scratcher
100+ posts

Leopard: Edit Scratch projects as JavaScript code

i tried translating https://scratch.mit.edu/projects/930169230/, its in 3.0, it only uses pen, i dont know the problem
TheTally
Scratcher
7 posts

Leopard: Edit Scratch projects as JavaScript code

im not sure why my project is failing conversion. the id is 964104918

its a pretty complex project but it does only use pen
PullJosh
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

betazone wrote:

The reason I'm trying to use sb-edit to get the leopard code and the costumes, backdrops and sounds from an .sb3 file is because when your online leopard conversion site sometimes fails to do the conversion, sb-edit seems to never fail (at least so far).
Oh, okay, yes! I can help with this. I think we should probably have a nice CLI tool for this, but in the meantime, you can use towerofnix's sb-edit-playground. That tool should make it easier to convert a .sb3 to Leopard locally.

betazone wrote:

Another question: do you have detailed instructions for how to make our own copy of your leopard website on vercel.com?
Not really. I've been working on some pretty huge upgrades to the site, but they aren't published anywhere yet and allowing people to reproduce the website themselves hasn't really been a priority.

betazone wrote:

Thanks for leopard! I like to convert scratch projects to pure javascript and when I get stumped the leopard conversion gives new & helpful ideas, especially if I can trace into the code.
That's great! I'm so glad it's helpful for you.
co0lcr34t10ns
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

For some reason, https://scratch.mit.edu/projects/982996566/ did not work even though it only uses pen and was made a few days ago. It said Cannot read properties of undefined (reading ‘value’) even though my project fits the description. Could any of you at the Leopard Team see my project and find out the problem?
TheDeveloper4670
Scratcher
1 post

Leopard: Edit Scratch projects as JavaScript code

Hostcreator2
Scratcher
66 posts

Leopard: Edit Scratch projects as JavaScript code

Hostcreator2
Scratcher
66 posts

Leopard: Edit Scratch projects as JavaScript code

TheDeveloper4670 wrote:

it does not work…. try…
https://scratch.mit.edu/projects/983773435/editor
Geronimo2010
Scratcher
63 posts

Leopard: Edit Scratch projects as JavaScript code

The html page after converting is just the green flag button on white with nothing else
The green flag button doesn't even work.
potatoman3737
Scratcher
18 posts

Leopard: Edit Scratch projects as JavaScript code

Whenever I try to convert my project into JS, it says this:
Error occurred during query execution: ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: Db, cause: Some(DbError { severity: “ERROR”, parsed_severity: Some(Error), code: SqlState(E42P05), message: “prepared statement \”s0\“ already exists”, detail: None, hint: None, position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some(“prepare.c”), line: Some(446), routine: Some(“StorePreparedStatement”) }) }) })

I have no idea why its not converting
BTW heres the project: https://scratch.mit.edu/projects/886120669/editor/
firecreator418
Scratcher
1 post

Leopard: Edit Scratch projects as JavaScript code

My project is failling to load but it’s made in 3.0
medians
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

firecreator418 wrote:

My project is failling to load but it’s made in 3.0
Can you send the link to the project that you are referring to?
redhorse26_1
Scratcher
29 posts

Leopard: Edit Scratch projects as JavaScript code

Allow https://turbowarp.org/editor custom extensions(if you didn't know there are turbowarp extensions and you can make your own extensions and put into turbowarp) they are in javascript so it should be fine
Dragosgaming
Scratcher
25 posts

Leopard: Edit Scratch projects as JavaScript code

Hostcreator2
Scratcher
66 posts

Leopard: Edit Scratch projects as JavaScript code

L'ajout d'un projet n'a pas pu être chargé
ioeescool
Scratcher
5 posts

Leopard: Edit Scratch projects as JavaScript code

For some reason, this project that I tried to make compatible with leopard doesn't work. Do you know why? I think I looked over every incompatible block (which let's be real, I might of failed), and I didn't find anything wrong.
thebupking
Scratcher
6 posts

Leopard: Edit Scratch projects as JavaScript code

Hey, Josh I want to make a js to scratch becuase java makes more sence for me
IndexErrorException
Scratcher
500+ posts

Leopard: Edit Scratch projects as JavaScript code

My project doesn't work with Leopard
https://scratch.mit.edu/projects/992018257/
Dragosgaming
Scratcher
25 posts

Leopard: Edit Scratch projects as JavaScript code

ProCraftPlays04
Scratcher
2 posts

Leopard: Edit Scratch projects as JavaScript code

can anyone tell why this isn't working?
https://scratch.mit.edu/projects/990073383
I'm using the Leopard JS converter but it wont convert and I cant figure out why
Thanks in advance!
Hostcreator2
Scratcher
66 posts

Leopard: Edit Scratch projects as JavaScript code

All right I'll tell you why it's not working When a project is made There is a lot of errors No Scripts I'm going to do a reference Let me do a simple talking engine




defineset(distance to [)v]torepeat1+2sayfoosettofoo

All right that is my simple talking engine But wait why is it not working It's because data cannot confirm That it is in the positive or the negatives So when they take those scripts to The Javascript If you make a simple mistake It will transport data into those errors so there

Powered by DjangoBB