Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Leopard: Edit Scratch projects as JavaScript code
- ZZC12345
-
Scratcher
500+ posts
Leopard: Edit Scratch projects as JavaScript code
Since all these errors are coming in,
a) Can you see if your project uses an extension other than pen? (see the error notice on the website)
b) @PullJosh, could you change this line to report the error line, stack trace, etc., in addition to the message? I'm not allowed to use GitHub, otherwise I'd make a PR.
a) Can you see if your project uses an extension other than pen? (see the error notice on the website)
b) @PullJosh, could you change this line to report the error line, stack trace, etc., in addition to the message? I'm not allowed to use GitHub, otherwise I'd make a PR.
- TimMcCool
-
Scratcher
100+ posts
Leopard: Edit Scratch projects as JavaScript code
Please fix the “can't read 0” bug it was a new project made in scratch 3.0I get that error too
Project I tried to convert: https://scratch.mit.edu/projects/404041613
Last edited by TimMcCool (Aug. 31, 2022 13:19:50)
- neetchie
-
Scratcher
1 post
Leopard: Edit Scratch projects as JavaScript code
Hi! I tried uploading a project called Upgrade the Castle, one I made with a lot of variables! I tried uploading it to leopard so that it would go to vercel and I could share, but it wouldn't work! Only half the game would show up and the game was virtually unplayable. It didn't know what to run and the built in game notifications wouldn't work!
Please reply as soon as possible why this happened
If you want to check out Upgrade the Castle, go here
Upgrade the Castle
My other games that I created are on this page
My Games
Please reply as soon as possible why this happened
If you want to check out Upgrade the Castle, go here
Upgrade the Castle
My other games that I created are on this page
My Games
- RAGEDMRBEEGAMER
-
Scratcher
97 posts
Leopard: Edit Scratch projects as JavaScript code
When my game 710821197 I enter it does not work cuz there is a 0 why?
- CZSuperboy
-
Scratcher
100+ posts
Leopard: Edit Scratch projects as JavaScript code
https://scratch.mit.edu/projects/589981827 doesn't work, even though it was made in Scratch 3 and only uses Pen as its extensions. I get a “Cannot read properties of undefined (reading ‘0’)” error.
- LEOSNY
-
Scratcher
47 posts
Leopard: Edit Scratch projects as JavaScript code
Can anyone help? The only extension is pen and there is a sandbox error https://scratch.mit.edu/projects/733285395/editor/
- pizzafox20109
-
Scratcher
100+ posts
Leopard: Edit Scratch projects as JavaScript code
Hi! I tried uploading a project called Upgrade the Castle, one I made with a lot of variables! I tried uploading it to leopard so that it would go to vercel and I could share, but it wouldn't work! Only half the game would show up and the game was virtually unplayable. It didn't know what to run and the built in game notifications wouldn't work!
Please reply as soon as possible why this happened
If you want to check out Upgrade the Castle, go here
Upgrade the Castle
My other games that I created are on this page
My Games
It could be partly because of the use of emojis as variable names, but I'm not sure.
- Alcreate
-
Scratcher
3 posts
Leopard: Edit Scratch projects as JavaScript code
https://scratch.mit.edu/projects/717431501/
Why it no work?
I removed username variable
Why it no work?
I removed username variable
(removed username)
- Alcreate
-
Scratcher
3 posts
Leopard: Edit Scratch projects as JavaScript code
when this username removed
- Alcreate
-
Scratcher
3 posts
Leopard: Edit Scratch projects as JavaScript code
delete (username v) of [game v]
- amog_usproject
-
Scratcher
1 post
Leopard: Edit Scratch projects as JavaScript code
I tried to convert cool nes but this kept happening:
Cannot read properties of undefined (reading ‘0’)
Cannot read properties of undefined (reading ‘0’)
- AKLCool
-
Scratcher
28 posts
Leopard: Edit Scratch projects as JavaScript code
Hey, is there any way i can download the .js file and use it as an app idk
Last edited by AKLCool (Sept. 23, 2022 22:17:21)
- kingKASEtheGREATalt
-
Scratcher
100+ posts
Leopard: Edit Scratch projects as JavaScript code
(long unnecessary quote removed by moderator - please don't spam)
hello, i have a issue. i was testing with this project and it ruined everything, body isnt the right way, the enemy is spinning, and the animations are shaky.
hello, i have a issue. i was testing with this project and it ruined everything, body isnt the right way, the enemy is spinning, and the animations are shaky.
Last edited by Paddle2See (Sept. 26, 2022 09:28:04)
- bloctans_4
-
Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
im wondering why MY javascript vm had or has an issue where some blocks opcodes will be changed upon parsing the project.json file
- CatsRule1190
-
Scratcher
24 posts
Leopard: Edit Scratch projects as JavaScript code
For some reason, this project is not working: https://scratch.mit.edu/projects/636963598/
- omarahmedessawy
-
Scratcher
12 posts
Leopard: Edit Scratch projects as JavaScript code
the project https://scratch.mit.edu/projects/737835423/ isnt working
move (CAN YOU HELP ME FIX IT) steps
- Redstone1080
-
Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
drapoeL: JS to Scratch
- thatgamertristan2
-
Scratcher
6 posts
Leopard: Edit Scratch projects as JavaScript code
no matter what i do it just says
There was an error converting your project.
Cannot read properties of undefined (reading ‘0’)
Leopard only supports new projects (created in Scratch 3.0). And the only supported extension is “pen”; all others will fail.
If you aren't sure why your project is failing, ask on the forums!
There was an error converting your project.
Cannot read properties of undefined (reading ‘0’)
Leopard only supports new projects (created in Scratch 3.0). And the only supported extension is “pen”; all others will fail.
If you aren't sure why your project is failing, ask on the forums!
- bloctans_4
-
Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
drapoeL: JS to Scratchi dont think thats possible
- moa8th
-
Scratcher
13 posts
Leopard: Edit Scratch projects as JavaScript code
So the pin projects don't work in leopard.
Maybe try to turn the pin project to HTML never mind for javascript.
So make something else than pin projects
Maybe try to turn the pin project to HTML never mind for javascript.
So make something else than pin projects
when green flag clicked
move (10[scratchblocks]
) steps[/scratchblocks]
turn cw ()[scratchblocks]
degrees
play sound [Meow v]
[/scratchblocks]