Phaser VS Electron

Compare Phaser vs Electron and see what are their differences.

Phaser

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering. (by photonstorm)

Electron

:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS (by electron)
Our great sponsors
  • Syncfusion - See why our products are consistently getting 4.6 out of 5 stars by your peers.
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
Phaser Electron
50 100
30,587 98,463
- 2.1%
9.8 9.9
5 days ago 6 days ago
JavaScript C++
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Phaser

Posts with mentions or reviews of Phaser. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-18.
  • Frustrations with Web Development, Especially Front-End
    reddit.com/r/webdev | 2021-10-18
    Canvas: It's not easy to start using canvas I found but it's essentially the modern day Adobe Flash in terms of how it works. I've only ever used it with libaries like Phaser but you can use plain Javascript.
  • Libraries for other languages similar to Ebiten?
    reddit.com/r/ebiten | 2021-10-18
    Phaser (JavaScript)
  • Snakes - my first HTML5 multiplayer browser game - 100% JavaScript - WITH BOTS! - works on desktop, iPhone, android - Phaser for rendering, NodeJS game server with real-time networking using WebRTC's data channels (UDP!) hosted on FREE 6GB ARM compute from IBM
    reddit.com/r/gamedev | 2021-10-14
    The visual rendering is done by Phaser. I have a working version using Pixi as well, but went with Phaser for arbitrary reasons. https://phaser.io/ https://pixijs.com/
  • 2D MMORPG Browser Game
    reddit.com/r/gamedev | 2021-10-13
    Try https://phaser.io/ . They have many tutorials, multiplayer games included. Should be a good place to start.
  • Adobe Uses DMCA to Nuke Project That Keeps Flash Alive, Secure & Adware Free
    reddit.com/r/pcgaming | 2021-10-12
    Well, technically, Unity Web is JS + WebGL. But yeah, tools like Phaser could use more developers.
  • I want to develop a simple educational 2D game for iOS. How do I go about it?
    If you’re going to go the browser route, maybe try https://phaser.io/
  • [AskJS] what is the best game engine for js, that’s free?
    Check out Phaser3
  • Building a Roguelike Game with TypeScript
    dev.to | 2021-09-25
    So I'm still decided to learn Unity and do a project with it. However, my C# knowledge is close to nil 😛. I've known about Phaser for a few years now, and stayed away from it for multiple reasons, the main one being that there really isn't a big community, compared to other engines like Unity or Godot. But currently, it's almost fully compatible with Typescript, which in my head, is acting like a stepping stone to C#. So I went it it.
  • Participa del evento js13kGames para desarrolladores de juegos en la web
    reddit.com/r/fazt | 2021-08-31
  • Do these kinds of pools exist anywhere in real life?
    It's an adventure game about waking up in a weird, liminal world. Most of the backgrounds are generated using Art Breeder, and the game itself is written in JavaScript using Phaser

Electron

Posts with mentions or reviews of Electron. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-26.
  • 20+ JavaScript Utilities to Boost Your Productivity As a Developer
    dev.to | 2021-10-26
    7. Electron
  • Discord Black Window
    reddit.com/r/archlinux | 2021-10-21
    Apparently, it is an issue in Chromium, which also affects electron and electron-based apps (like Discord). You can fix it with --disable-gpu or by running in on native Wayland with --enable-features=UseOzonePlatform --ozone-platform=wayland.
  • AWS SDK: "Unable to locate credentials", a cheat sheet for solving the issue
    dev.to | 2021-10-21
    Leapp is a Cross-Platform Cloud access App, built on top of Electron.
  • Consultas basicas
    Si sabes html-css-js, mira Electron.js
  • Ask HN: What does the future hold for Electron?
    news.ycombinator.com | 2021-10-15
    Microsoft owns Github. Github maintains Electron. Microsoft are moving Teams to use WebView2, sharing a single Chromium instance for all apps, reducing memory usage, which is the most common complaint for Electron.

    This architecture has been obvious to everyone for a long time. Every Electron app could essentially be a webpage but with enhanced native API access.

    Electron's future seems bleak. ESM support hasn't materialized (https://github.com/electron/electron/issues/21457). WebView2 will not be available on macOS until late 2022 [it seems](https://github.com/MicrosoftEdge/WebView2Feedback/issues/645#issuecomment-921551618).

    Seems we are in one of these awkward transition periods, where you are forced to start a project on technology that you know will be deprecated in the near future sigh.

    Anyone have insight/predictions?

  • Is it possible for Electron apps to use the kde file picker?
    Are you sure the application you're testing uses a new enough Electron? As far as I see the pull request in question was merged just this April.
  • Caffè Italia * 12/10/21
    reddit.com/r/italy | 2021-10-12
  • Issue with Chromium and Electron based apps on Fedora Silverblue using latest Nvidia drivers + Wayland
    reddit.com/r/Fedora | 2021-10-10
    A quick search online leads to this.
  • IVPN crashing on Linux, Electron update needed
    reddit.com/r/IVPN | 2021-10-09
    IVPN GUI crashes on launch for me immediately, due to this bug regarding the latest version of glibc on Linux and Electron. It has been patched in the latest version of Electron as well as backported to older versions (see the pull request).
  • haproxy letsencrypt fix

What are some alternatives?

When comparing Phaser and Electron you can also consider the following projects:

jsdom - A JavaScript implementation of various web standards, for use with Node.js

cheerio - Fast, flexible, and lean implementation of core jQuery designed specifically for the server.

PixiJS - The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.

Faker.js - generate massive amounts of realistic fake data in Node.js and the browser

dotenv - Loads environment variables from .env for nodejs projects.

opencv - OpenCV Bindings for node.js

webworker-threads - Lightweight Web Worker API implementation with native threads

Unreal.js - Unreal.js: Javascript runtime built for UnrealEngine 4

ssh2 - SSH2 client and server modules written in pure JavaScript for node.js

nodegit - Native Node bindings to Git.

whitestorm.js - :rocket: 🌪 Super-fast 3D framework for Web Applications 🥇 & Games 🎮. Based on Three.js

JS Game - JavaScript + Canvas 2D game engine