Publishing web games on Steam with Electron

Jack Le Hamster, who have both The Test of Insanity and The Supernatural Power Troll available on Steam, wrote a detailed blog post on how he managed to publish those web games using Electron.

This guide walks you through the steps needed to package your game as a desktop app, so that players can purchase them on Steam. The Supernatural Power Troll is a web game I’ve built in Phaser and packaged with Electron for Steam.

The guide will teach you how to do all the steps from testing, through packaging, to building:

  • Test the game as a desktop app with Electron
  • Package your game as an NPM ⁄ BunJS package
  • Build your game as an app with electron-builder
  • Commit your code into a repo on github.com
  • Use GH workflow to build your game in various operating systems.

You can read the blog post, but you can also watch “8 easy steps to turn your web game into a Steam game using Electron” video on YouTube:

Also, don’t forget you can win 25 copies of The Supernatural Power Troll game in the upcoming Gamedev.js Jam 2025 that starts on April 13th.

No Comments

Leave a Reply

Gamedev.js Jam 2025
Gamedev.js Survey 2024 Report
Gamedev.js Shop
Gamedev.js Discord

Follow us

Gamedev.js Weekly newsletter

Or visit gamedevjsweekly.com directly.

Websites worth visiting

Log in

Forgot password?

Already registered? Log in


Register

Forgot password?