Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Leopard: Edit Scratch projects as JavaScript code
- AdamKRPS425
- Scratcher
44 posts
Leopard: Edit Scratch projects as JavaScript code
wow!
Last edited by AdamKRPS425 (July 16, 2020 05:00:35)
very unfortunately, my forum signature was eaten by an evil wizard and has now run away. please select this text and press ctrl+shift+down_key to view a animation
evil wizard code::events hat
forever
if <stolen forum signiture> then
laugh [he he he!] [quietly! v]
run!!!
end
end
hi
hi!
hi!
————
| . . |
| ____ |
| / \|
————
————
| . . |
| ____ |
| |
————
————
| . . |
| \____/ |
| |
————
you have reached the end of the animation.
BYE!!!
- AdventureMase
- Scratcher
91 posts
Leopard: Edit Scratch projects as JavaScript code
Question: Why would you even need to convert Scratch to JS? Are you able to share it as an .exe that way or something?
Hi! I'm AdventureMase! See my stats!
- GreenLimeAnimations
- Scratcher
14 posts
Leopard: Edit Scratch projects as JavaScript code
do you know who made the smooth glide thing
and i need something to smoothen up my animations wondering if you can help
and i need something to smoothen up my animations wondering if you can help
- mrCamelCase
- Scratcher
100+ posts
Leopard: Edit Scratch projects as JavaScript code
do you know who made the smooth glide thing
and i need something to smoothen up my animations wondering if you can help
I have a smooth glide engine, I was thinking about sharing it later today.
Also,
Guys, do not go off-topic. Unless you have questions, bug reports, or a suggestion, please do not post.
“A lie told often enough becomes the truth.”
-Benjamin Franklin, 1532
^ Food for thought. Yum! ^
- theXliner
- Scratcher
83 posts
Leopard: Edit Scratch projects as JavaScript code
Question: Why would you even need to convert Scratch to JS? Are you able to share it as a .exe that way or something?
Well, an exe file (or .exec for us Linux/Mac peeps) aren't the most portable. They also may contain malicious code. Also, making an sb3 to EXE is kinda hard: turning it into JavaScript (or python) is more portable, more readable, and more ‘safe’ (they may still contain malicious code, but at least you can read it).
You could look more professional (by having JavaScript instead of embedded Scratch Projects) when you share on your website. And JS is supported by many.
Last edited by theXliner (July 16, 2020 17:17:07)
- _JKJK_
- Scratcher
1 post
Leopard: Edit Scratch projects as JavaScript code
Hi, I thought Leopard is very great, but here is just one problem: It's the run without screen refresh. I gave a link so it could convert it to JavaScript ( https://scratch.mit.edu/projects/409601033/ ), but one thing I noticed is that the player keeps on sinking down and that's because “the run without screen refresh” doesn't seem to be working. Could you explain why? Thanks!
Last edited by _JKJK_ (July 16, 2020 17:55:50)
- Jeffalo
- Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
well its not just converting to JS it's a whole game library based on scratch made with js. Question: Why would you even need to convert Scratch to JS? Are you able to share it as an .exe that way or something?
since it doesn't have to follow scratch's restrictions projects made with leopard can be very flexible and can do crazy things like getting data from the internet and stuff like that
I discovered Scratch in 2015 and created games and animations. From 2020 to 2023, I worked on Scratch browser extensions, found security vulnerabilities, and maintained a forum search engine called ocular. In the summer of 2024, I was an engineering intern with the Scratch Team. Now, I'm ready to finish my last year of high school. Scratch on!
- theXliner
- Scratcher
83 posts
Leopard: Edit Scratch projects as JavaScript code
yeawell its not just converting to JS it's a whole game library based on scratch made with js. Question: Why would you even need to convert Scratch to JS? Are you able to share it as an .exe that way or something?
since it doesn't have to follow scratch's restrictions projects made with leopard can be very flexible and can do crazy things like getting data from the internet and stuff like that
- Abigblueworld
- Scratcher
500+ posts
Leopard: Edit Scratch projects as JavaScript code
Yes!
when green flag clicked
forever
set x to ((mouse y) + (1))
change [color v] effect by (25)
play drum (1 v) for (0.25) beats
stamp
end
Weeeeee!
Last edited by Abigblueworld (July 19, 2020 03:59:43)
, Abigblueworld! :D
Girl,_ Gamer,_scratcher,_ BALDI/Uglydolls FAN,_ Former GD player and Roblox player!
GD: GDABIGBLUEWORLD
ROBLOX: GDABIGBLUEWORLD and Hitormissgonnamissya
ABIGBLUEWORLD 2019-2020 all stuff free to scratch. :)
SCRATCH ON!
- qrcool
- Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
Nice! Maybe we can get the Steam release of AiB…
Will JavaScript work for Steam? Or at least, the way Leopard translates it?
Will JavaScript work for Steam? Or at least, the way Leopard translates it?
he/they/it/neos
- Sheep_maker
- Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
Yes, but you'd have to distribute it as an Electron app, Nice! Maybe we can get the Steam release of AiB…says StackExchange
Will JavaScript work for Steam? Or at least, the way Leopard translates it?
- Sheep_maker This is a kumquat-free signature. :P
This is my signature. It appears below all my posts. Discuss it on my profile, not the forums. Here's how to make your own.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
- Maximouse
- Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
Or nw.js.Yes, but you'd have to distribute it as an Electron app, Nice! Maybe we can get the Steam release of AiB…says StackExchange
Will JavaScript work for Steam? Or at least, the way Leopard translates it?
- Philipuss
- Scratcher
59 posts
Leopard: Edit Scratch projects as JavaScript code
Can you use turbo mode?
- theXliner
- Scratcher
83 posts
Leopard: Edit Scratch projects as JavaScript code
Hey! Good question! Can you use turbo mode?
- meh_name_not_jeff
- Scratcher
100+ posts
Leopard: Edit Scratch projects as JavaScript code
hi
300 posts and Join the halloween shop!!![/url]
- PullJosh
- Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
You can change the speed of your project by editing the index.js file. That should do essentially what you want. Removing “yield”s from the code can also make your project run faster. Can you use turbo mode?
- -MAPARTS-
- Scratcher
20 posts
Leopard: Edit Scratch projects as JavaScript code
isn't the pen turtle?
- -Rex-
- Scratcher
500+ posts
Leopard: Edit Scratch projects as JavaScript code
Last edited by -Rex- (July 23, 2020 01:55:58)
- TheGeniusCoder
- Scratcher
100+ posts
Leopard: Edit Scratch projects as JavaScript code
can we get an update on progress? are this still being worked on or has progressed been haulted.
I'm someone who loves to code and make people happy please check out my profile @TheGeniusCoder follow, comment love, favorite, or do whatever.
- Jeffalo
- Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
arrays start at 0Plus, the list item # is 0. Broadcasts cannot restart themselves:
Project in Scratch
Project in Leopard
I discovered Scratch in 2015 and created games and animations. From 2020 to 2023, I worked on Scratch browser extensions, found security vulnerabilities, and maintained a forum search engine called ocular. In the summer of 2024, I was an engineering intern with the Scratch Team. Now, I'm ready to finish my last year of high school. Scratch on!