Making Games Standalone

Hi all,

I’ve already seen a post from the archives about making games from Makecode arcade standalone, like some people want a desktop icon, or a .exe.

Before I start coding, is there already a feature/function/github for this?

P.S ChatGPT says:

To run MakeCode Arcade games as standalone applications on desktop operating systems like Windows, macOS, or Linux, you would typically need to use a workaround. One common method is to package the game with a web technology-based wrapper or container, such as Electron or NW.js, which allows web applications to be run as desktop applications. This process involves:

  1. Exporting the game from MakeCode Arcade, usually as a web project.
  2. Creating a desktop application project using Electron or NW.js, which involves some programming and setup to configure the wrapper to load your game.
  3. Packaging the application, which includes your game, into an executable file (.exe for Windows, for example) that can run on the target operating system.

This approach requires some additional programming knowledge beyond what MakeCode Arcade teaches, as well as familiarity with the packaging tool you choose to use. It’s a more advanced use case, but there are resources and tutorials available online that can guide you through the process if you’re interested in taking your MakeCode Arcade game development to this level.

6 Likes

I’ve actually made a couple of my makecode arcade games into android apps before, you just need to package the html generated by your github repo into whatever application type you want.

1 Like

How did this go, @WoodysWorkshop?