Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
- PullJosh
-
1000+ posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
I've been focusing on other things lately. It's definitely possible that I'll return to this sometime. can we get an update on progress? are this still being worked on or has progressed been haulted.

- Busterk66
-
33 posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
doesn't work with a lot of undertale projects like GinoMods's DustBelief.
- Cybercircut
-
89 posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
some of my animations lagged, 

I'm just a normal scratcher who LOVES to make and come follow me @cybercircut for great animations.

STOP MASS REPORTING
- TheGeniusCoder
-
100+ posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
A project suddenly feels very weak.I've been focusing on other things lately. It's definitely possible that I'll return to this sometime. 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.
- theXliner
-
83 posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
A project suddenly feels very weak.I've been focusing on other things lately. It's definitely possible that I'll return to this sometime. can we get an update on progress? are this still being worked on or has progressed been haulted.
Yep
- PullJosh
-
1000+ posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
This project has always been something I've worked on intermittently. It started all the way back in October of 2018. I need a break.A project suddenly feels very weak.I've been focusing on other things lately. It's definitely possible that I'll return to this sometime. can we get an update on progress? are this still being worked on or has progressed been haulted.

- theXliner
-
83 posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
Actually, about making projects, my first pypi project is young and mature (if that makes sense):This project has always been something I've worked on intermittently. It started all the way back in October of 2018. I need a break.A project suddenly feels very weak.I've been focusing on other things lately. It's definitely possible that I'll return to this sometime. can we get an update on progress? are this still being worked on or has progressed been haulted.If there's someone else who's talented and wants to continue pushing Leopard forward, that would be great!
https://github.com/ThatXliner/stacksearch/
https://pypi.org/project/stacksearch/
- firydragony
-
22 posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
for me, i don't know if it is because it is not finished yet but cloning does not work my clones are supposed to move after appearing but that does not happen and also my inventory detection the game detects the items in the first 3 slots and uses the accordingly but that does not work either.
https://scratch.mit.edu/projects/412892865/
“e” for inventory
“f” to sword throw
“click” to shoot the bow
https://scratch.mit.edu/projects/412892865/
“e” for inventory
“f” to sword throw
“click” to shoot the bow
- TheGeniusCoder
-
100+ posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
Yeah that makes sense. rather you work on it when you feel like it then push yourself and abandon it. Can't wait for the next update thoThis project has always been something I've worked on intermittently. It started all the way back in October of 2018. I need a break.A project suddenly feels very weak.I've been focusing on other things lately. It's definitely possible that I'll return to this sometime. can we get an update on progress? are this still being worked on or has progressed been haulted.If there's someone else who's talented and wants to continue pushing Leopard forward, that would be great!
I'm someone who loves to code and make people happy please check out my profile @TheGeniusCoder follow, comment love, favorite, or do whatever.
- pufferfish101007
-
100+ posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
A suggestion:
For the username block, you could use scratch-api to attempt to use an existing user session, and if there isn't one, return null, and if there is one, return the username. I don't know whether this is a viable solution or not, or ehether it even needs a solution, but I think it would be cool.
For the username block, you could use scratch-api to attempt to use an existing user session, and if there isn't one, return null, and if there is one, return the username. I don't know whether this is a viable solution or not, or ehether it even needs a solution, but I think it would be cool.
- Maximouse
-
1000+ posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
And CORS.That's not possible (I think) due to cookies. A suggestion:
For the username block, you could use scratch-api to attempt to use an existing user session, and if there isn't one, return null, and if there is one, return the username. I don't know whether this is a viable solution or not, or ehether it even needs a solution, but I think it would be cool.
- pufferfish101007
-
100+ posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
Oh ok.And CORS.That's not possible (I think) due to cookies. A suggestion:
For the username block, you could use scratch-api to attempt to use an existing user session, and if there isn't one, return null, and if there is one, return the username. I don't know whether this is a viable solution or not, or ehether it even needs a solution, but I think it would be cool.
- CatsUnited
-
1000+ posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
Just use cors anywhere then?And CORS.That's not possible (I think) due to cookies. A suggestion:
For the username block, you could use scratch-api to attempt to use an existing user session, and if there isn't one, return null, and if there is one, return the username. I don't know whether this is a viable solution or not, or ehether it even needs a solution, but I think it would be cool.
bottom text
- BerBoy876
-
18 posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
no I say a big fat NOOOOOOOO
- Maximouse
-
1000+ posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
No, that won't work. Just use cors anywhere then?
- mrCamelCase
-
100+ posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
no I say a big fat NOOOOOOOO
?
“A lie told often enough becomes the truth.”
-Benjamin Franklin, 1532
^ Food for thought. Yum! ^
- ElsieBreeze
-
100+ posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
CORS Anywhere wouldn't maintain the existing user session so it couldn't be used to find out the currently logged in user.Just use cors anywhere then?And CORS.That's not possible (I think) due to cookies. A suggestion:
For the username block, you could use scratch-api to attempt to use an existing user session, and if there isn't one, return null, and if there is one, return the username. I don't know whether this is a viable solution or not, or ehether it even needs a solution, but I think it would be cool.
- Joshia_T
-
500+ posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
Can anyone help me with this project https://leopardjs.now.sh/?id=246577449? for a second I thought that “run without refresh” doesn't work but I don't think that's the case(?) Something I see is that I can't really predict where it's stopping each frame whereas on Scratch I know the sprite stops at the end of the script each frame making the last “go to (0,0)” and “point in direction (90)” return it to center to be seen. You can see the MMenu sprite.js (What is seen in leopard is totally different from scratch)
also, is there a way to see conversion progress? I tried a project with more than 10k blocks and I'm not sure whether its stuck on conversion or its just progressing really slowly.
also, is there a way to see conversion progress? I tried a project with more than 10k blocks and I'm not sure whether its stuck on conversion or its just progressing really slowly.
Last edited by Joshia_T (Aug. 6, 2020 06:13:27)
- ajsya
-
1000+ posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
I found a bug that might need to be fixed:
I'm not sure if you know about this or not since I don't feel like reading 9 pages of posts, but in any game where a sprite moves across the screen in Leopard, the sprite can move off the screen and glitch and ruin the game. In Scratch, the sprites can't move much past the edge of the project screen. This is a problem since most games don't take this into account. So you might want to add some kind of border into the code or something. I don't know how this would work because I'm a total noob at javascript but I'm sure you can figure it out.
Also, you might want to add a green flag button to the simulation on the website.
I'm not sure if you know about this or not since I don't feel like reading 9 pages of posts, but in any game where a sprite moves across the screen in Leopard, the sprite can move off the screen and glitch and ruin the game. In Scratch, the sprites can't move much past the edge of the project screen. This is a problem since most games don't take this into account. So you might want to add some kind of border into the code or something. I don't know how this would work because I'm a total noob at javascript but I'm sure you can figure it out.
Also, you might want to add a green flag button to the simulation on the website.
Last edited by ajsya (Aug. 12, 2020 03:04:01)
Feel free to message me on my profile if you need to tell me something/want someone to talk to.
Hi, I'm ajsya!
| Roblox | GitHub | Wiki | My Posts | Scratch Empires | Scratch Weather App | Minecraft Server Pinger |
Before creating a new topic on the forums search Ocular to see if one already exists!
| Roblox | GitHub | Wiki | My Posts | Scratch Empires | Scratch Weather App | Minecraft Server Pinger |
Before creating a new topic on the forums search Ocular to see if one already exists!
- apple502j
-
1000+ posts
Leopard: Convert Scratch projects to JavaScript AUTOMATICALLY!
I added bounding box thing in a PR but it kinda breaks something so I'm not touching it. I hope adroitwhiz does something
署名は、ディスカッションフォーラムの機能である。署名は、その人のすべての投稿の下部に追加される。署名は、BBCodeで記述できる。 署名を追加/変更/削除したい場合は、ディスカッションフォーラムのホームの一番下に行き、「Change your signature」を押す。署名の大きさは150pxまでである。これには、改行、画像を含む。- Japanese Scratch-Wiki 「署名」