Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Leopard: Edit Scratch projects as JavaScript code
- cyclopian
-
2 posts
Leopard: Edit Scratch projects as JavaScript code
Hey, wanted to say thanks man I really appreciate the time and effort you put into my project. Have a good day.
- PullJosh
-
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
I'm happy to help! Hey, wanted to say thanks man I really appreciate the time and effort you put into my project. Have a good day.

- EV2048
-
33 posts
Leopard: Edit Scratch projects as JavaScript code
Good question indeed Why doesn't this project work? Well good question!
- Orange_Gumdrop
-
9 posts
Leopard: Edit Scratch projects as JavaScript code
My browser / operating system: Windows NT 10.0, Chrome 126.0.0.0, No Flash version detected
Hello, I have a project it am trying to convert to js but im not sure why it gets the error where “Cannot read properties of undefined (reading ‘value’)”
i am really not sure why this happens, and here is the link to the project i am trying to convert so maybe you can try to do it yourself. (if it works on our side somehow)
Link here!
According to forums that help in debugging JavaScript, “Cannot read properties of undefined (reading ‘value’)” means that a variable was not initialised, but I figured that there would be no reason why this will happen as I don't think that the converter will run a piece of code that will have a error in it, but I did not design leopardjs, so correct me if I am mistaken.
Please help!

Hello, I have a project it am trying to convert to js but im not sure why it gets the error where “Cannot read properties of undefined (reading ‘value’)”
i am really not sure why this happens, and here is the link to the project i am trying to convert so maybe you can try to do it yourself. (if it works on our side somehow)
Link here!
According to forums that help in debugging JavaScript, “Cannot read properties of undefined (reading ‘value’)” means that a variable was not initialised, but I figured that there would be no reason why this will happen as I don't think that the converter will run a piece of code that will have a error in it, but I did not design leopardjs, so correct me if I am mistaken.
Please help!



Last edited by Orange_Gumdrop (July 19, 2024 08:43:23)
- Saruman3
-
5 posts
Leopard: Edit Scratch projects as JavaScript code
I have question!
I am a geran Scratcher and i want to learn javaskript! I try to find the block translation, but i cant found it!
@PullJosh
can u help me, pls?
I am a geran Scratcher and i want to learn javaskript! I try to find the block translation, but i cant found it!
@PullJosh
can u help me, pls?
- Waakul
-
25 posts
Leopard: Edit Scratch projects as JavaScript code
Where can i find the block translations?
- Waakul
-
25 posts
Leopard: Edit Scratch projects as JavaScript code
How do i set the size of the project to 100% both width and height? it automatically becomes 480px x 360px on start?
- PullJosh
-
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
If you create a project using the “Leopard Editor” option in the dropdown menu, the translations will be available at the bottom of the screen. Where can i find the block translations?
The canvas is 480x360 but you can scale it up or down using CSS by setting width: 100%. But if you take the small stage and scale it up to be way bigger it might become blurry. So you can also change the actual stage coordinates to be larger How do i set the size of the project to 100% both width and height? it automatically becomes 480px x 360px on start?like this.
- dynamicsofscratch
-
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
A Scratch to Python version of Leopard would be really cool. (suggestion)
- dumorando
-
100+ posts
Leopard: Edit Scratch projects as JavaScript code
i like how leopard is its own platform now, thats pretty awesome
- dumorando
-
100+ posts
Leopard: Edit Scratch projects as JavaScript code
that already exists A Scratch to Python version of Leopard would be really cool. (suggestion)
let me see if i can find it
- dumorando
-
100+ posts
Leopard: Edit Scratch projects as JavaScript code
okay ive posted on this topic a lot but i wanna say this is the most fun ive ever had with a javascript game engine. thank you pulljosh for making it
https://leopardjs.com/users/dumorando heres some projects i made with it
https://leopardjs.com/users/dumorando heres some projects i made with it
- not_HOME
-
9 posts
Leopard: Edit Scratch projects as JavaScript code
My project doesn't seem to work.
https://scratch.mit.edu/projects/1052429835/
I can't convert it from an sb3 file, and when I try to download it in zip format, I get the following error.
(The assets are small, 3.5MB, and the json file is 2MB, with list data taking up about half of it.)
https://scratch.mit.edu/projects/1052429835/
I can't convert it from an sb3 file, and when I try to download it in zip format, I get the following error.
{“error”:“Cannot read properties of undefined (reading ‘value’)”}What should I do?
(The assets are small, 3.5MB, and the json file is 2MB, with list data taking up about half of it.)
- PullJosh
-
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
That's a great question! If you're willing, it would be great if you would post this under My project doesn't seem to work.“Cleanup Crew” for the Leopard mentors to investigate.
https://scratch.mit.edu/projects/1052429835/
I can't convert it from an sb3 file, and when I try to download it in zip format, I get the following error.{“error”:“Cannot read properties of undefined (reading ‘value’)”}What should I do?
(The assets are small, 3.5MB, and the json file is 2MB, with list data taking up about half of it.)
- PullJosh
-
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
I am so glad to hear that! okay ive posted on this topic a lot but i wanna say this is the most fun ive ever had with a javascript game engine. thank you pulljosh for making it
https://leopardjs.com/users/dumorando heres some projects i made with it


I really love your localStorage project. That's a fantastic way to show off the features of JavaScript that are impossible to do in Scratch. There should really be a way to show off excellent projects like this to the community. I might work on adding some kind of “featured projects” area to the front page…
- not_HOME
-
9 posts
Leopard: Edit Scratch projects as JavaScript code
Apparently the block that specifies the pen color (saturation, brightness, transparency) was not converted properly, which caused the error…
Last edited by not_HOME (Aug. 8, 2024 02:37:42)
- --CHA0S--
-
100+ posts
Leopard: Edit Scratch projects as JavaScript code
I tried to transfer my project thirdly into JavaScript using leopard, but it lead to an error. This project only uses the one extension, which the error code said it supports. What is the reason for the error?
- not_HOME
-
9 posts
Leopard: Edit Scratch projects as JavaScript code
Perhaps you are using a block that specifies the pen color (brightness, saturation, transparency)? This project only uses the one extension, which the error code said it supports
Last edited by not_HOME (Aug. 15, 2024 00:13:48)
- Discussion Forums
- » Advanced Topics
-
» Leopard: Edit Scratch projects as JavaScript code