Discuss Scratch

baldi_basixs
Scratcher
1 post

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

great but some projects dont work like https://scratch.mit.edu/projects/505388427/
Potato_With_Big_eye
Scratcher
5 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

for the people whos progect is failing it might be because it only sopports progects made in scatch 3.0 and oly sopports pen extinsion. i hope this was helpull
Televe142
Scratcher
11 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

I have a question. Can you change stage size with Leopardjs?
PullJosh
Scratcher
1000+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

Televe142 wrote:

I have a question. Can you change stage size with Leopardjs?
Yes. There are instructions here: https://github.com/leopard-js/leopard/discussions/108
Kreso13
Scratcher
1 post

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

Hi, this is the error i receive for most of my projects: Argument sandboxId for data.sandboxId is missing. https://scratch.mit.edu/projects/591568606
ezrashare21
Scratcher
18 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

I'm trying to convert this game to javascript, and while the project seems to be fine, and leopard seems to be fine, for some reason the project is not converting.

the error is
Cannot read properties of undefined (reading 'name')

I have no idea where the error is coming from, although i know it's coming from either sb-edit or leopard itself.

It would help if the json error provided where the error was coming from, then i could:
  • fix the problem in the project
  • submit the error
  • or I can help fix a similar issue

hi

when green flag clicked
repeat until <(ezra) = [bored of scratch]>
make project (item (pick random (1) to (length of [ideas v] :: list)) of [ideas v] :: list)
add (project) to [projects v]
end
forever
go make something in javascript
end
lvl100gamerLegend
Scratcher
1 post

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

I know i am 3 years late but every time i try and use it, it says that it isn't made on scratch 3.0. this confuses me because my projects used to work on it and it is made on scratch 3.0, so i have no clue what to do. it also says “Cannot read properties of undefined (reading ‘0’)”

Last edited by lvl100gamerLegend (Feb. 6, 2023 20:27:03)

MaxwellRose1019
Scratcher
15 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

So, I'm trying to convert my project: https://scratch.mit.edu/projects/477155071/ but it keeps failing. The sb3 file isn't working either. My project was created in Scratch 3.0 and doesn't have any extensions. It just gives my the error: 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!

MaxwellRose1019
Fizzley
Scratcher
8 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

so, can you export scratch projects into real javascript? also, is there a way to turn javascript code into scratch? because i have made some nice java games, and, i'd like them to be on scratch

say [s c r a t c h o n ]
kittyguy14
Scratcher
4 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

I keep getting this error when using project url:
“Cannot read properties of undefined (reading ‘0’)”
and uploading the .sb3 takes literally forever, I've left my laptop on for 2 hours in hopes of it eventually loading

It makes me unable to use Leopard at all
anybody know the fix?

Secret blocks here! https://scratch.mit.edu/projects/681042289/editor/
A cool game I made: https://scratch.mit.edu/projects/688159723/fullscreen
define bored
set [ doing nothing] to [true]
when flag clicked
forever
bored
end

Complx
Scratcher
35 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

my project wont load and i dont know y

when green flag clicked
forever
go to [Follow button]
end
bloctans_4
Scratcher
1000+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

ezrashare21 wrote:

(#766)
I'm trying to convert this game to javascript, and while the project seems to be fine, and leopard seems to be fine, for some reason the project is not converting.

the error is
Cannot read properties of undefined (reading 'name')

I have no idea where the error is coming from, although i know it's coming from either sb-edit or leopard itself.

It would help if the json error provided where the error was coming from, then i could:
  • fix the problem in the project
  • submit the error
  • or I can help fix a similar issue

hi
please send me the sb3 file you used, i know of a bug with json parsing where blocks will break

Generation 4: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment.
simonthecomputerguru
Scratcher
100+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

I want https://scratch.mit.edu/projects/802156840/ (my project) to be in javascript but it keeps having this error:

Argument sandboxId for data.sandboxId is missing.

Last edited by simonthecomputerguru (Feb. 18, 2023 11:01:56)


simonthecomputerguru

Games, fun, and more!


when I receive [Start Game v]
go to simonthecomputerguru
simonthecomputerguru
Scratcher
100+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

Potato_With_Big_eye wrote:

for the people whos progect is failing it might be because it only sopports progects made in scatch 3.0 and oly sopports pen extinsion. i hope this was helpull
I know, my project does not have extensions and is made in scratch 3.0.

simonthecomputerguru

Games, fun, and more!


when I receive [Start Game v]
go to simonthecomputerguru
simonthecomputerguru
Scratcher
100+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

when [ enter] key pressed
broadcast [ donetyping]

lol i did this for fun!

Last edited by simonthecomputerguru (Feb. 18, 2023 11:04:44)


simonthecomputerguru

Games, fun, and more!


when I receive [Start Game v]
go to simonthecomputerguru
TheRailwayNoob87
Scratcher
100+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

Hello! Since I‘m a fan of both Scratch and JS, I‘ve decided to try converting my most recent project to JS to add some code more easily. But it didn‘t work for some reason…
The project link: https://scratch.mit.edu/projects/802825070

Error:
Cannot read properties of undefined (reading 'x')
I don‘t understand why this error is occurring in the first place…

1. Can the following be converted with LeopardJS?
([property v] of (value))
If not, then that could be fixed quite quickly! ;-)

2. Or this?
<key (join [key] []) pressed?>

3. I don’t even know which sprite is trying to read the value itself. Could it be a problem regarding clone handling in LeopardJS?

I hope the issue isn‘t too hard to solve!

Always wanted to get experience at animating, voice acting etc.? Well then, tColc is just the right place to start with!
Our website: https://tcolc.w3spaces.com
On Scratch: https://scratch.mit.edu/studios/31874914/
For questions, please contact me on my profile!

WojtekGame
Scratcher
1000+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

TheRailwayNoob87 wrote:

Hello! Since I‘m a fan of both Scratch and JS, I‘ve decided to try converting my most recent project to JS to add some code more easily. But it didn‘t work for some reason…
The project link: https://scratch.mit.edu/projects/802825070

Error:
Cannot read properties of undefined (reading 'x')
I don‘t understand why this error is occurring in the first place…

1. Can the following be converted with LeopardJS?
([property v] of (value))
If not, then that could be fixed quite quickly! ;-)

2. Or this?
<key (join [key] []) pressed?>

3. I don’t even know which sprite is trying to read the value itself. Could it be a problem regarding clone handling in LeopardJS?

I hope the issue isn‘t too hard to solve!
maybe it dosen't know the x variable, fix it.


forgot to update sig, i own minecraft months ago lol
JS: code-gui | scratch-player | Roost.js | Pandoa | TOP: Roost.js || C++: Gamine | Gamiinuu | TOP: Gamine
Else: Emoji Painter | Forum Shopping Mall | TOP: Emoji Painter || Profile:Scratch | GitHub
Orgs: Chroast | Twerkish | Komond OS | JS Inventions | TOP: JS Inventions || Ocular Naming: 0 | 1 | 2 | 3
Games: Mom Hid My Game! | Creeper Adventuring
else might be outdated or removed by the ST.
medians
Scratcher
1000+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

one of my projects doesn't load anything except the variables and the username block turns into undefined lol

Potato_With_Big_eye wrote:

for the people whos progect is failing it might be because it only sopports progects made in scatch 3.0 and oly sopports pen extinsion. i hope this was helpull
Rip most of my projects (including the ones broken by NaN and Infinity being there).

Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
Engineerlife_ofline
Scratcher
1 post

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

Umm I don't know why but my project https://scratch.mit.edu/projects/639672856/editor/ keeps failing saying I am using an unusable extension but I am using none with it help!
WojtekGame
Scratcher
1000+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

Engineerlife_ofline wrote:

Umm I don't know why but my project https://scratch.mit.edu/projects/639672856/editor/ keeps failing saying I am using an unusable extension but I am using none with it help!
Pen is unusable.


forgot to update sig, i own minecraft months ago lol
JS: code-gui | scratch-player | Roost.js | Pandoa | TOP: Roost.js || C++: Gamine | Gamiinuu | TOP: Gamine
Else: Emoji Painter | Forum Shopping Mall | TOP: Emoji Painter || Profile:Scratch | GitHub
Orgs: Chroast | Twerkish | Komond OS | JS Inventions | TOP: JS Inventions || Ocular Naming: 0 | 1 | 2 | 3
Games: Mom Hid My Game! | Creeper Adventuring
else might be outdated or removed by the ST.

Powered by DjangoBB