Discuss Scratch

ego-lay_atman-bay
Scratcher
500+ posts

Leopard: Edit Scratch projects as JavaScript code

PullJosh wrote:

IanTire1 wrote:

for some reason whenever i try to convert a project to java script it says “Cannot read property ‘name’ of undefined”.
That's weird! Is that the full error message? Can you send a screenshot of the problem or more details about what's going wrong? Which project isn't working?

That's actually a normal js error message. It's just saying the property ‘name’ of an object is undefined. I don't how to fix it though.
jakesgamerpattern
Scratcher
8 posts

Leopard: Edit Scratch projects as JavaScript code


Show text
I kinda wish there was at least some support for scratch lab. also, Instead of typing a URL, you could import a project from your computer!
Doreamon-Minecraft
Scratcher
4 posts

Leopard: Edit Scratch projects as JavaScript code

Font is not working!
Sabo3
Scratcher
24 posts

Leopard: Edit Scratch projects as JavaScript code

Hi, I get this error: {“error”:"This endpoint requires the params `files` or `parameters` in order to work. See https://codesandbox.io/docs/importing#create-wizard for more details."} when trying to put in https://scratch.mit.edu/projects/652666997/.
HyperPixel
Scratcher
46 posts

Leopard: Edit Scratch projects as JavaScript code

Hi Josh, could you take a look at my project. I created it back in 2014 and it has become very popular. I am wanting to make a special JavaScript edition if possible but seems like LeopardJS might be struggling with the project. Here is the link: https://scratch.mit.edu/projects/17828009. LeopardJS looks awesome and would love to see what I could do with it if you could get the basic functionality of the project going! Happy to contribute to someone that can do this for me!

Best!

Last edited by HyperPixel (May 4, 2022 21:46:28)

Tyller_
Scratcher
100+ posts

Leopard: Edit Scratch projects as JavaScript code

Code sandbox appears black when I open it with any of my shared projects, can somebody tell me if this might be an issue with my projects, code sandbox, or just what I'm using rn
onetwotwig
Scratcher
2 posts

Leopard: Edit Scratch projects as JavaScript code

my big projects always break when i convert them
purple_pea123
Scratcher
4 posts

Leopard: Edit Scratch projects as JavaScript code

this wont convert https://scratch.mit.edu/projects/686770598/
(excess characters removed by moderator - please don't spam)
when green flag clicked
play sound [sadness] until done

Last edited by Paddle2See (May 10, 2022 16:44:30)

Sabo3
Scratcher
24 posts

Leopard: Edit Scratch projects as JavaScript code

Once this converts, the player falls through the ground and it lags???? https://scratch.mit.edu/projects/477625952/

Last edited by Sabo3 (May 9, 2022 13:43:27)

RaptorX_Tech
Scratcher
28 posts

Leopard: Edit Scratch projects as JavaScript code

Something is wrong. I tried to convert https://scratch.mit.edu/projects/664649530/. My XLoft program. And it literally has no extensions and was created a few weeks ago IN scratch 3.0. So why does Leopard say, “Cannot read property ‘name’ of undefined”
RED-001
Scratcher
500+ posts

Leopard: Edit Scratch projects as JavaScript code

The error:
There was an error converting your project.
Cannot read property 'name' of undefined
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!
Was it made in Scratch 2.0 or before?

Last edited by RED-001 (May 9, 2022 18:45:26)

-bubbledoble-ALT
Scratcher
2 posts

Leopard: Edit Scratch projects as JavaScript code

When are you making the lepored project
-bubbledoble-ALT
Scratcher
2 posts

Leopard: Edit Scratch projects as JavaScript code

Cheesybobw1234
Scratcher
4 posts

Leopard: Edit Scratch projects as JavaScript code


I know javascrpt iz hard
pwrcosmic
Scratcher
1 post

Leopard: Edit Scratch projects as JavaScript code

Is there a way to convert javascript to scratch/sb3? If there is, please let me know
_SNIPR-
Scratcher
37 posts

Leopard: Edit Scratch projects as JavaScript code

pwrcosmic wrote:

Is there a way to convert javascript to scratch/sb3? If there is, please let me know
Most likely not. As there are some JavaScript lines that do not have translations to JavaScript.
_SNIPR-
Scratcher
37 posts

Leopard: Edit Scratch projects as JavaScript code

Cheesybobw1234 wrote:

I know javascrpt iz hard
JavaScript is ez
ego-lay_atman-bay
Scratcher
500+ posts

Leopard: Edit Scratch projects as JavaScript code

_SNIPR- wrote:

(#539)

Cheesybobw1234 wrote:

I know javascrpt iz hard
JavaScript is ez
well, that's debatable. I've spent hours googling how to do something in javascript.
kccuber
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

ego-lay_atman-bay wrote:

_SNIPR- wrote:

(#539)

Cheesybobw1234 wrote:

I know javascrpt iz hard
JavaScript is ez
well, that's debatable. I've spent hours googling how to do something in javascript.
actually, it depends per the programmer. some people might find python easier, some might find python easier, some might find C easier, etc etc.
scratch___user12345
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

ego-lay_atman-bay wrote:

_SNIPR- wrote:

(#539)

Cheesybobw1234 wrote:

I know javascrpt iz hard
JavaScript is ez
well, that's debatable. I've spent hours googling how to do something in javascript.
what is it? if you have not solved it I may be able to help
proof of js skill: Here

Powered by DjangoBB