Scratch 3: ExportMe
"ExportMe" is a tool to export a Scratch 3 game into an HTML file.
The use case is to create games in Scratch 3 (using Scratch as a game engine). Once a game is release ready, export it using this tool (see live demo). Once exported, the game can be embedded into your website. If you are a developer, then the game can be refactored into a mobile app (using ReactJS & React-Native).
Motivation
I have 2 creative kids & a crafty wife; they asked if we, as a family, could create a game. I said “Yes, let’s do it!”
Installation
This is not a normal repo. If you are a developer, you can use the following
- the games
- pre-built public files
- source files for public/index
- source files for the exported template file
- various pre-built virtual machines (based on LLK's repo)
- if you want to create your own vm, source files are here, including a list of changes made
Demo & Animated GIFs
- Live Demo at Firebase Hosting
- Google PageSpeed Analysis for the tool (this tool is a desktop tool)
Note Mobile devices can load the tool but the export function will not work due to compatibility issues. - Game 1 Export + Test: Clicker Balloon. The game is made by WolfPrincess.
- Game 2 Export + test: Flak Cannon. The game is made by 17mcalpal.
- iOS Game 1 Test: Clicker Balloon
- iOS Game 2 Test: Flak Cannon
- Android Game 1 Test: Clicker Balloon
- Android Game 2 Test: Flak Cannon
Notes - Development
Developers who want the exported game to work on mobile devices should review these repos: SimpleApp and/or SimpleLanding. The virtual machine, the game, and the mobile development repos... are all in JavaScript.
Inspiration
Sheep_maker created a tool called HTMLifier and his tool inspired Jeulibre aka Nekrofage to create a similar exporter. All tools, including mine, use download.js, LLK’s Scratch Virtual Machine, and custom JavaScript.