Discuss Scratch

AdamKRPS425
Scratcher
44 posts

Leopard: Edit Scratch projects as JavaScript code

wow!

Last edited by AdamKRPS425 (July 16, 2020 05:00:35)

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?
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
mrCamelCase
Scratcher
100+ posts

Leopard: Edit Scratch projects as JavaScript code

GreenLimeAnimations wrote:

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,

theXliner wrote:

Guys, do not go off-topic. Unless you have questions, bug reports, or a suggestion, please do not post.
theXliner
Scratcher
83 posts

Leopard: Edit Scratch projects as JavaScript code

AdventureMase wrote:

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

AdventureMase wrote:

Question: Why would you even need to convert Scratch to JS? Are you able to share it as an .exe that way or something?
well its not just converting to JS it's a whole game library based on scratch made with js.

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
theXliner
Scratcher
83 posts

Leopard: Edit Scratch projects as JavaScript code

Jeffalo wrote:

AdventureMase wrote:

Question: Why would you even need to convert Scratch to JS? Are you able to share it as an .exe that way or something?
well its not just converting to JS it's a whole game library based on scratch made with js.

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
yea
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)

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?
Sheep_maker
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

qrcool wrote:

Nice! Maybe we can get the Steam release of AiB…
Will JavaScript work for Steam? Or at least, the way Leopard translates it?
Yes, but you'd have to distribute it as an Electron app, says StackExchange
Maximouse
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

Sheep_maker wrote:

qrcool wrote:

Nice! Maybe we can get the Steam release of AiB…
Will JavaScript work for Steam? Or at least, the way Leopard translates it?
Yes, but you'd have to distribute it as an Electron app, says StackExchange
Or nw.js.
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

Philipuss wrote:

Can you use turbo mode?
Hey! Good question!
meh_name_not_jeff
Scratcher
100+ posts

Leopard: Edit Scratch projects as JavaScript code

hi
PullJosh
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

Philipuss wrote:

Can you use turbo mode?
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.
-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

Broadcasts cannot restart themselves:
Project in Scratch
Project in Leopard

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.
Jeffalo
Scratcher
1000+ posts

Leopard: Edit Scratch projects as JavaScript code

Spaceflyer234 wrote:

-Rex- wrote:

Broadcasts cannot restart themselves:
Project in Scratch
Project in Leopard
Plus, the list item # is 0.
arrays start at 0

Powered by DjangoBB