Convert your MakeCode Arcade games into a standalone offline executable!
It’s basically the same thing as this, but the star of the show is being able to use Tauri instead of Electron instead, reducing app sizes from over 200 MB to ~10 MB! (~3% of the original size) It is also a standalone executable, making distribution even easier!
Set up and configuration is now easier, as you only need to write a YAML file like so:
name: Racers
description: "Enjoy the high-speed thrills of car racing in MakeCode Arcade!
For the MakeCode Arcade Mini Game Jam #3."
author: UnsignedArduino
version: 1.3.2
title: "{NAME} v{VERSION}"
source: https://arcade.makecode.com/84426-33815-03715-00484
icon: https://raw.githubusercontent.com/UnsignedArduino/MakeCode-Arcade-to-App/refs/heads/main/examples/Racers%20icon.png
output: tauri
Check out the example on GitHub to see examples with comments documenting available options, etc. You can easily switch between bundling to static HTML, CSS, and JS files, an Electron app, (like before), or a Tauri app! If you want even more configuration, you can edit gameConfiguration.ts
to customize the web app running your game, being able to change toast notifications, available features like showing statistics, a focus detector, and more!
And, as usual, the generated Electron and Tauri apps are responsive windows that can be played offline, built for multiple platforms, and they save the data that the setting extension saves!
If you would like to convert your own games, follow the instructions in the repo’s README. It is a quite involved process, necessitating Python and Node.js at minimum. You will need Rust installed to generate a Tauri executable. You will need to build for each platform you want to support, ex. build on Windows to generate .exe
, build on Linux to generate Linux executables, etc. (Code signing is still not supported explicitly by the program) Command line knowledge is highly recommended.
Please let me know if you want any more features or there are bugs for me to fix! Enjoy!