matter-js
phaser
Our great sponsors
matter-js | phaser | |
---|---|---|
9 | 6 | |
15,952 | 36,324 | |
- | 99.1% | |
7.0 | 9.8 | |
about 1 month ago | 6 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
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
-
Copying Angry Birds with nothing but AI
Do you think this worked so cleanly because there is a tutorial similar to this and its in the dataset?
https://github.com/liabru/matter-js/wiki/Tutorials
-
Draggable physics button? How would you create such an effect?
If you don't want to create your own physics engine, there are also existing ones like matter.js.
-
Advice about useful libraries to create a 2D car game (hill climb racing style)
A physics engine for the basic stuff (colisions with the terrain, gravity, rigid body mechanics, suspension springs...) would be great and I think Matter.js it's a great option
-
Phaser vs PixiJS for making 2D games
Another option is to add a third-party physics library such as Matter.js, although setting up and integrating the physics library can be tricky. If you need physics in your game, especially more complex physics effects, Phaser is a better choice.
-
Canvas Liquid Effect using Matter.js and SVG Filters
I have created a demonstration for liquid (or gooey) effect on HTML Canvas using Matter.js and SVG Filters.
-
Server side game collisions
I recently came across this library: https://github.com/liabru/matter-js
-
Is there a good JavaScript library for 2D collision?
This was a bold faced lie. Matter.js has no continuous collision detection. You wasted so much of my time I hope you are mildly inconvenienced in the near future! https://github.com/liabru/matter-js/issues/5
-
Matter.js z-index?
https://github.com/liabru/matter-js/issues/243 was a bit confusing. The solutions in this thread don't seem to work for me, and i cant find any information elsewhere.
-
Walking AI: Simple Neural Network from Scratch
Over half of the source code is just making the robots exist. If you haven't used matter.js before, you can download it here. You can read the whole documentation here, but the functions we will need are:
phaser
-
3 years of fulltime Rust game development, and why we're leaving Rust behind
If you're targeting the browser first why not use a browser first library like PhaserJS [0]?. I don't see a reason to work around with WASM; HTML5 canvas might be everything that you need.
[0] https://phaser.io/
-
Gamedev.js Jam 2024 start and theme announcement!
Gold : GitHub, Phaser Studio, Arcadia
-
Introduction to JavaScript: Empowering Web Development with Interactivity
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
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
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
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?
kaboom.js - 💥 JavaScript game library
melonJS - a fresh, modern & lightweight HTML5 game engine
Excalibur - 🎮 Your friendly TypeScript 2D game engine for the web 🗡️
offscreen-canvas - Demo app using worker.Canvas
cocos-engine - Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
engine - Fast and lightweight JavaScript game engine built on WebGL and glTF
Godot - Godot Engine – Multi-platform 2D and 3D game engine
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
A-Frame - :a: Web framework for building virtual reality experiences.
Pattern-Script - Open Source HTML5 Game Engine based on PuzzleScript