Discuss Scratch

PullJosh
Scratcher
1000+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

CST1229 wrote:

Suggestion: Readd the in-site player. Sometimes it is more convienient rather than loading a possibly-beefy sandbox in codesandbox.
I am curious… Under what circumstances would you want to use the in-site player, but not want to view or edit the JavaScript code?
adis9097
Scratcher
39 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

I tried doing this with a game's first version that I made on Scratch because the new versions had a text to speech part added, which hasn't been implemented. At first, it threw a bunch of errors, but I tried again, and it worked. However, I noticed that variable hiding and showing was not yet implemented, so can you add variable visibility? I found a workaround of using a remix with say blocks, but it's hard to do when you have several variables added in. In the type of game it was, there was most definitely going to be like 20+ of them. Thanks.
Edit: Looking back on it, I also noticed sizing did not work, and that was a small thing I put on almost all buttons in the game, if not all of them. I had to put it in manually.

Last edited by adis9097 (Jan. 16, 2022 14:53:27)

CST1229
Scratcher
1000+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

PullJosh wrote:

(#461)

CST1229 wrote:

Suggestion: Readd the in-site player. Sometimes it is more convienient rather than loading a possibly-beefy sandbox in codesandbox.
I am curious… Under what circumstances would you want to use the in-site player, but not want to view or edit the JavaScript code?
When you just wanna see if a project works in Leopard without needing to wait for the text editor to load.

This is a signature. It's a piece of text that appears below every post I write. Click here to learn more, including how to make your own.
RIP assets image hosting. 2013?-2023



jpdyba
Scratcher
53 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

Some scripts doesnt work..

i'm a guy addicted to baller and other memes…
but i make awesome projects…
anyways…
_SNIPR-
Scratcher
37 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

hello, asking why my clones respawn after they go off screen??

i spawn a clone and move it off screen then it respawns on screen.
how fix?

thanks

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!
Mario5Sonic
Scratcher
48 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

ColeCoca wrote:

puljosh,can you provide me the link of leopard?
https://leopardjs.com/

kia ora!
when green flag clicked
repeat (10)
turn cw () degrees
end
say [hey, you lookin at me??] for (2) secs
-yeldarbnivot-
Scratcher
23 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

I seem to be unable to load projects. {“error”:"This endpoint requires the params `files` or `parameters` in order to work. See https://codesandbox.io/docs/importing#create-wizard for more details."}. Not sure why

when green flag clicked
broadcast [ HiddenProjectID]
when I receive [ HiddenProjectID]
Decode [68747470733a2f2f736372617463682e6d69742e6564752f70726f6a656374732f3539303839323438372f]
define Decode
Error: RunTimeEception: Null. Cannot decode
Taemon-Coolz
New to Scratch
2 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

https://packager.turbowarp.org/ works better and with more functionality
CST1229
Scratcher
1000+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

Taemon-Coolz wrote:

(#468)
https://packager.turbowarp.org/ works better and with more functionality
However, the TurboWarp Packager doesn't produce readable code for speed and for compatibility.
This tool does.

This is a signature. It's a piece of text that appears below every post I write. Click here to learn more, including how to make your own.
RIP assets image hosting. 2013?-2023



The2AndOnly
Scratcher
88 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

where are the “if on edge, bounce” blocks and show/hide variables? Also the red stop sign.
medians
Scratcher
1000+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

The2AndOnly wrote:

where are the “if on edge, bounce” blocks and show/hide variables? Also the red stop sign.
The red stop sign isn't a real block.

NEW: 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
Fun_Cupcake_i81: https://scratch.mit.edu/projects/850535211/
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
;
EC3328
Scratcher
1 post

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

How do I change the window size in the website?
I'd just like to have a game that occupies more space on the website that just the top left corner.
_SNIPR-
Scratcher
37 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

EC3328 wrote:

How do I change the window size in the website?
I'd just like to have a game that occupies more space on the website that just the top left corner.

I simply added width: Max.width and height: maxheight to mine. And it fills the entire screen on any size display.

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!

How do I make clones work. When I set a clone to a position, then move it off-screen it deletes itself and reappears on-screen.

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!
MaxwellRose1019
Scratcher
15 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

Mine will not work. Why? It was created in Scratch 3.0. https://scratch.mit.edu/projects/477155071/

MaxwellRose1019
_SNIPR-
Scratcher
37 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

MaxwellRose1019 wrote:

Mine will not work. Why? It was created in Scratch 3.0. https://scratch.mit.edu/projects/477155071/

Variables do not show up as a box and sometimes layering is off. If you go inside the project code on cosesandbox u can fix.

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!
TriD12
Scratcher
1 post

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

{“error”:"This endpoint requires the params `files` or `parameters` in order to work. See https://codesandbox.io/docs/importing#create-wizard for more details."}

How can I put the file in order to work?
PullJosh
Scratcher
1000+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

TriD12 wrote:

{“error”:"This endpoint requires the params `files` or `parameters` in order to work. See https://codesandbox.io/docs/importing#create-wizard for more details."}

How can I put the file in order to work?
Good question. The answer is here: https://github.com/PullJosh/leopard/discussions/109
Jennifer_luis
Scratcher
9 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

hi
Jennifer_luis
Scratcher
9 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

hi i am Jennifer, from USA
say [hello]
switch costume to [ball dress v]
say [i like to be fiends] for (2) secs

Powered by DjangoBB