Discuss Scratch

AdamKRPS425
Scratcher
42 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

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

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

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

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.

“A lie told often enough becomes the truth.”
-Benjamin Franklin, 1532

^ Food for thought. Yum! ^
theXliner
Scratcher
83 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

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

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

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

disclaimer: sometimes my posts are pretty critical of the scratch team (especially my older ones), but i really do scratch & scratch team. jvvg made a short essay thing about the scratch team, which is a pretty good read, if you want a different perspective for the scratch team's actions.

my website: jeffalo.net | ocular: scratch forum search











theXliner
Scratcher
83 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

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

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

Nice! Maybe we can get the Steam release of AiB…
Will JavaScript work for Steam? Or at least, the way Leopard translates it?

he/they/it/neos
Sheep_maker
Scratcher
1000+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

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

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

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.


This is Maximouse's signature. Learn more about signatures.
Philipuss
Scratcher
59 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

Can you use turbo mode?
theXliner
Scratcher
83 posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

Philipuss wrote:

Can you use turbo mode?
Hey! Good question!

meh_name_not_jeff
Scratcher
100+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

PullJosh
Scratcher
1000+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

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

isn't the pen turtle?
-Rex-
Scratcher
500+ posts

Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!

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

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

Spaceflyer234 wrote:

-Rex- wrote:

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

disclaimer: sometimes my posts are pretty critical of the scratch team (especially my older ones), but i really do scratch & scratch team. jvvg made a short essay thing about the scratch team, which is a pretty good read, if you want a different perspective for the scratch team's actions.

my website: jeffalo.net | ocular: scratch forum search











Powered by DjangoBB

Standard | Mobile