Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Converting Scratch Projects to HTML5
- FuryPupYT
-
Scratcher
8 posts
Converting Scratch Projects to HTML5
How do I download it?It downloads the project when it finishes converting, unless your browser blocks downloads.
When does it start converting? I've been trying for a while and nothing has downloaded
- FuryPupYT
-
Scratcher
8 posts
Converting Scratch Projects to HTML5
How do I download it?It downloads the project when it finishes converting, unless your browser blocks downloads.
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- lktornado360
-
Scratcher
36 posts
Converting Scratch Projects to HTML5
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: 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.
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
- Sheep_maker
-
Scratcher
1000+ posts
Converting Scratch Projects to HTML5
Yeah, it's awesome, but after my project starts, it is supposed to play a noise, but it doesn't.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.
Also, with fairly big projects, it is SSSSUUUUPPPAAA LLLAAAGGGYYY. It might just be my Mac tho. I'll try later on my PC.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.
- 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
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 projectsYou can store all the data in a single variable, then separate it back out when the project starts
- AnimeDetective
-
Scratcher
34 posts
Converting Scratch Projects to HTML5
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: https://sheeptester.github.io/words-go-here/scratch3-htmlifier/This is great!
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
- 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?
- Discussion Forums
- » Advanced Topics
-
» Converting Scratch Projects to HTML5