HACKER Q&A
📣 nassimsoftware

Downside of wrapping a JavaScript game in Electron?


I want to make desktop games and I find it incredibly easy to make 2D games in JS using PixiJS or Phaser.

My plan was to simply make the game in JS and wrap it in electron and sell it on Steam (I have no intention on publishing the game as a web game because people don't pay for them). However too few people are doing this so I'm wondering if there are downsides to this approach?

Usually people use Unity, Godot, Unreal or their own framework made in a statically compiled language like Java (LibGDX), C# (Monogame), etc...


  👤 trinovantes Accepted Answer ✓
Other than usual JS nonsense, why not? There's already some Electron games on Steam https://github.com/tobspr/shapez.io

👤 themerone
Tauri is a lightweight alternative to Electron.