Discuss Scratch

IanTire1
Scratcher
6 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

for some reason whenever i try to convert a project to java script it says “Cannot read property ‘name’ of undefined”.
PullJosh
Scratcher
1000+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

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?
ego-lay_atman-bay
Scratcher
500+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

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.

Hi, I'm ego-lay_atman-bay. Please check out these projects.
jakesgamerpattern
Scratcher
8 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!


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: Convert Scratch projects to JavaScript AUTOMATICALLY!

Font is not working!
Sabo3
Scratcher
24 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

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/.

Hello, what are you doing down here?
HyperPixel
Scratcher
46 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

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: Convert Scratch projects to JavaScript AUTOMATICALLY!

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

define Browse Forums
show
go to [collaboration forum v]
repeat until <<Satisfied With Scrolling> or <Found Collaboration>>
repeat until <At Bottom of Page>
glide 1 second to a couple forums down
end
go to [Next page v]
end
repeat (100)
change [Ghost v] effect by (100)
end
hide
go to [Random Place v]
onetwotwig
Scratcher
2 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

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

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

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: Convert Scratch projects to JavaScript AUTOMATICALLY!

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)


Hello, what are you doing down here?
RaptorX_Tech
Scratcher
28 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

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: Convert Scratch projects to JavaScript AUTOMATICALLY!

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)


Quote of the day:


highlight this text and press ctrl+shift+down/up arrow keys to see the rest of my beefy signature.

all of my pfp's:
https://assets.scratch.mit.edu/get_image/.%2E/6a3bcba21124c2935fb26ee5bf3a4fb8.jpg - mario exe creepysussy bakapasta.
https://assets.scratch.mit.edu/get_image/.%2E/075874325c5e943d8d2e0353ef4ecbfb.gif - current, super compressed portion of captain quazar fmv
https://assets.scratch.mit.edu/get_image/.%2E/caff50096a0b205fe7a893078a114c15.gif - another segment of the captain quazar fmv
https://assets.scratch.mit.edu/get_image/.%2E/f6964fc19654bb1b6f1e1ee3b63e9408.gif - captain quazar sussy lookie
https://assets.scratch.mit.edu/get_image/.%2E/ace31555f9c51e18140ad0a4b64008a1.png - just a maroon square
https://assets.scratch.mit.edu/get_image/.%2E/a4c1e3df0ac83c964a05cd8207d995a4.png - default scratch cat avatar

Sorry, you have to wait 60 seconds between posts.

If you can't download the normal 2.0 editor, try these steps:

Download the Adobe Flash Player Projecter here: https://web.archive.org/web/20220401020702/https://www.adobe.com/support/flashplayer/debug_downloads.html (sadly they took it down recently from the official site, thanks to the Internet Archive for archiving it)

Select the program that is right for your device. Do not download the debugger, just the projector. After you download it, install/open it.

Download Scratch 2.0 here: http://cdn.scratch.mit.edu/scratchr2/static/__ff878b6c9b6c4d18fab154a707dc253c__/Scratch.swf

Now, go into the Flash Player, and press File > Open, and then select the .swf file you downloaded.

Now you should be able to use Scratch 2.0 on your computer!
-bubbledoble-ALT
Scratcher
2 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

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

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

Cheesybobw1234
Scratcher
4 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!


I know javascrpt iz hard
pwrcosmic
Scratcher
1 post

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

Is there a way to convert javascript to scratch/sb3? If there is, please let me know

this is a signature, haha.
probably going to move to python, java or c.
_SNIPR-
Scratcher
37 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

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.

Cutting myself just to feel something
What's the point in having love with no pain?
What's the point in having blood with no veins?
Wake up and take your own advice!
Why you act like I'm not a part of this?
You can't get rid of all of me!
I thought I told you to keep your mouth shut!
What you don't like being afraid?
My therapist told me not to bury my issues but I ain't gonna lie I'm feeling great!
I thought you had me imprisoned this whole time, but I'm the one holding the keys!
_SNIPR-
Scratcher
37 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

Cheesybobw1234 wrote:

I know javascrpt iz hard
JavaScript is ez

Cutting myself just to feel something
What's the point in having love with no pain?
What's the point in having blood with no veins?
Wake up and take your own advice!
Why you act like I'm not a part of this?
You can't get rid of all of me!
I thought I told you to keep your mouth shut!
What you don't like being afraid?
My therapist told me not to bury my issues but I ain't gonna lie I'm feeling great!
I thought you had me imprisoned this whole time, but I'm the one holding the keys!
ego-lay_atman-bay
Scratcher
500+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

_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.

Hi, I'm ego-lay_atman-bay. Please check out these projects.

Powered by DjangoBB