Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Converting Scratch Projects to HTML5
- FuryPupYT
- Scratcher
8 posts
Converting Scratch Projects to HTML5
It downloads the project when it finishes converting, unless your browser blocks downloads. How do I download it?
When does it start converting? I've been trying for a while and nothing has downloaded
when I receive [featured v]
change [featured projects v] by (1)
forever
change [happiness v] by (1)
end
- FuryPupYT
- Scratcher
8 posts
Converting Scratch Projects to HTML5
It downloads the project when it finishes converting, unless your browser blocks downloads. How do I download it?
When does it start converting? I've been trying for a while and nothing has downloaded
nvm i did it on phone and it worked Must of been my laptop
when I receive [featured v]
change [featured projects v] by (1)
forever
change [happiness v] by (1)
end
- lktornado360
- Scratcher
36 posts
Converting Scratch Projects to HTML5
https://sheeptester.github.io/words-go-here/scratch3-htmlifier/Yeah, it's awesome, but after my project starts, it is supposed to play a noise, but it doesn't. Also, with fairly big projects, it is SSSSUUUUPPPAAA LLLAAAGGGYYY. It might just be my Mac tho. I'll try later on my PC. I spent the afternoon hacking together a Scratch 3.0 HTMLifier, which grabs the Scratch engine and your project data and mashes it into a single HTML file:
The “Quick HTMLify” button should probably serve your needs and doesn't take as much time to convert
Note that this doesn't directly convert your Scratch blocks to JavaScript (for example, if _ then _ -> if () {}); rather, it's just an embedded version of Scratch 3.0
EDIT: I think it broke
EDIT 2: Not anymore
EDIT 3: Added variable and list watchers
“Heluim is inert, it does not react to anything. This makes it perfect to help create a safe atmosphere for welding.” & “Atomic Number: 2; Formula: He; Atomic Weight: 4.002602; State at 20° C: gas; Boiling point: -268.928° C; Melting point: unknown; % in the Universe: 23; % in the Earth's crust: 0.00000055; % in Earths's oceans: 0.00000000072; % in humans: none.”
–The Periodic Table by Sean Callery and Miranda Smith
- Sheep_maker
- Scratcher
1000+ posts
Converting Scratch Projects to HTML5
Browsers don't play audio until a user clicks on a web page because people didn't like it when news sites blasted reports out loud. Perhaps I can add an option to have the user click a button to start the project. Yeah, it's awesome, but after my project starts, it is supposed to play a noise, but it doesn't.
I think it's because the project plays in full screen, so there are more pixels to render, making it laggier? It's also possible that the CSS I'm using is slow; I could try finding a different way to size it. The performance *should* be comparable to that of a project being played on the Scratch website or editor in full screen though. Also, with fairly big projects, it is SSSSUUUUPPPAAA LLLAAAGGGYYY. It might just be my Mac tho. I'll try later on my PC.
- 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; }
- andyprou
- Scratcher
5 posts
Converting Scratch Projects to HTML5
I think it would be a good idea to add the option to save all variables locally to save game data because max 10 cloud variables seem to be limiting and this would also work with 16: 9 projects
- Sheep_maker
- Scratcher
1000+ posts
Converting Scratch Projects to HTML5
You can store all the data in a single variable, then separate it back out when the project starts I think it would be a good idea to add the option to save all variables locally to save game data because max 10 cloud variables seem to be limiting and this would also work with 16: 9 projects
- 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; }
- AnimeDetective
- Scratcher
34 posts
Converting Scratch Projects to HTML5
https://sheeptester.github.io/words-go-here/scratch3-htmlifier/This is great! I spent the afternoon hacking together a Scratch 3.0 HTMLifier, which grabs the Scratch engine and your project data and mashes it into a single HTML file:
The “Quick HTMLify” button should probably serve your needs and doesn't take as much time to convert
Note that this doesn't directly convert your Scratch blocks to JavaScript (for example, if _ then _ -> if () {}); rather, it's just an embedded version of Scratch 3.0
EDIT: I think it broke
EDIT 2: Not anymore
EDIT 3: Added variable and list watchers
when green flag clicked
say [I love Scratch, Javascript, and C#]
set [going mad] to [yes]
- TheWalder
- Scratcher
3 posts
Converting Scratch Projects to HTML5
Hey everyone I'd like to ask if Sheep_maker can add the posibility to show lists with the htmlifier (thanks a lot for the htmlifier it's really usefull)
- whiteandblackcat
- Scratcher
1000+ posts
Converting Scratch Projects to HTML5
Really great, but the “ask” box has no text. Is this intended?
Hi, I'm Kat!
I'm not too active in the forums anymore, but I'm still active on scratch!
I'm a cohost of Scratch Writing Camp, running it with Alba, Birdi, Bakie, and Honey.
I love coding, maths (especially simultaneous equations and the quadratic formula!!!), art and writing (and also spreadsheets and responsibilities-)! I used to know 157 digits of pi, but I can only get to around 110 at the moment. I also love Minecraft :]
Here's some things I have been in the past:
- Forum helper member
- Buzzy Bee Banners secretary & banner maker
- Emerald Shop 4.0 Vice President
- Discussion Forums
- » Advanced Topics
- » Converting Scratch Projects to HTML5