matter-js VS phaser

Compare matter-js vs phaser and see what are their differences.

matter-js

a 2D rigid body physics engine for the web ▲● ■ (by liabru)

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 phaserjs)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
matter-js phaser
9 5
15,900 36,243
- 99.1%
7.3 9.8
30 days ago 8 days ago
JavaScript JavaScript
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.

matter-js

Posts with mentions or reviews of matter-js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-31.

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 2024-04-13.
  • Gamedev.js Jam 2024 start and theme announcement!
    4 projects | dev.to | 13 Apr 2024
    Gold : GitHub, Phaser Studio, Arcadia
  • Introduction to JavaScript: Empowering Web Development with Interactivity
    4 projects | dev.to | 25 Mar 2024
    Versatility: JavaScript is not limited to web browsers. It's used in a variety of environments, including mobile app development (using frameworks like React Native), game development (using libraries like Phaser), and even serverless computing (using platforms like AWS Lambda).
  • A developer portfolio as a 2D top-down walking simulator
    3 projects | news.ycombinator.com | 15 Mar 2024
    This reminds me of my first real dev job, 10y ago, making small facebook games with https://phaser.io it was actually kind of fun now that I think back.
  • Aftermath of switching from VSCode to Neovim
    3 projects | dev.to | 19 Feb 2024
    Is it worth it? I think while attempting to create a game engine with the Canvas API and vanilla JavaScript. (I quickly ditched that idea and started using PhaserJS)
  • Phaser: A fast, fun and free open source HTML5 game framework
    2 projects | news.ycombinator.com | 13 Sep 2023
    I didn't try to build anything with Phaser, but I evaluated it a bit when trying to pick a game engine for a 2D web game.

    The tech didn't impress me that much, but it also seemed like the most mature 2D game engine available in JS.

    Notably, Phaser 4 was announced ~four years ago and was an attempt to get the project written natively in TypeScript. It looks pretty dead in the water - https://github.com/phaserjs/phaser and having a "best effort" TypeScript experience layered onto Phaser 3 didn't excite me.

    Additionally, with browsers gaining support for WebGPU, I expect any game engine worth their snuff to begin rapidly adopting support for WebGPU. As best I can tell, any hope of Phaser supporting WebGPU is lumped into Phaser 4, so... not much to say there.

    Overall, it was a little tough for me to tell if I was being overly critical and viewing a mature product as a ghost town, but that's the impression I took away from it.

    As far as I can tell, BabylonJS is king in town for a TypeScript game engine, but its focus is 3D experiences. I didn't find an especially compelling 2D game engine. I ended up making a prototype using React + PixiJS + React-Pixi, but that was hardly an engine and had significant performance issues.

    Now I am building in Rust with Bevy. It's slow going, creating UI elements sucks right now, but the underlying tech is super solid and I feel good about what I write and what I learn even if I'm dismayed at the pace in which I am creating.

What are some alternatives?

When comparing matter-js and phaser you can also consider the following projects:

kaboom.js - 💥 JavaScript game library

melonJS - a fresh, modern & lightweight HTML5 game engine

offscreen-canvas - Demo app using worker.Canvas

engine - Fast and lightweight JavaScript game engine built on WebGL and glTF

Projectile-Motion-Simulation - A simple projectile motion simulator made made using matter.js , it looks cool and ofc gonna help you see physically accurate projectile motion

svelte-canvas - 🎨 Reactive canvas rendering with Svelte.

Pattern-Script - Open Source HTML5 Game Engine based on PuzzleScript

LittleJS - LittleJS is a lightweight HTML5 game engine with many features and no depenencies. 🚂 Choo-Choo!

bob-the-walking-AI - A simple, yet effective, walking AI.

walkingAI - It's an AI... that sort of walks.

taro - A lightweight 3D game engine for the web.