matter-js
Pattern-Script
Our great sponsors
matter-js | Pattern-Script | |
---|---|---|
9 | 1 | |
15,952 | 19 | |
- | - | |
7.0 | 4.4 | |
about 1 month ago | 5 months ago | |
JavaScript | JavaScript | |
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:
Pattern-Script
-
Looking for a more advanced "puzzlescript"
I have myself made an ambitious fork that brings tags (somehow like object attributes), mappings (functions) and rule parameters, but it currently totally lacks documentation and the export function probably does not work. It's here: https://github.com/ClementSparrow/Pattern-Script
What are some alternatives?
kaboom.js - 💥 JavaScript game library
melonJS - a fresh, modern & lightweight HTML5 game engine
stumge - HTML5 Microgame Engine that tries to bring an old school game development experience to the web
offscreen-canvas - Demo app using worker.Canvas
TIC-80 - TIC-80 is a fantasy computer for making, playing and sharing tiny games.
engine - Fast and lightweight JavaScript game engine built on WebGL and glTF
grid-game-groundwork - A Unity project & level editor for making grid-based/block-pushing games.
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.
svelte-canvas - 🎨 Reactive canvas rendering with Svelte.
LittleJS - LittleJS is a HTML5 game engine with many features and no dependencies. 🚂 Choo-Choo!