matter-js
bob-the-walking-AI
Our great sponsors
matter-js | bob-the-walking-AI | |
---|---|---|
9 | 1 | |
15,930 | 10 | |
- | - | |
7.0 | 1.8 | |
about 1 month ago | over 3 years 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:
bob-the-walking-AI
-
Walking AI: Simple Neural Network from Scratch
In this tutorial, we are going to make a walking or running AI from scratch in JavaScript, with matter.js as the physics engine. If you don't plan on using JavaScript or matter.js, you can certainly follow along, but you will have to rewrite the code. If you would like to watch a video about this, go here. The final project can be seen here, and the GitHub repository is here.
What are some alternatives?
kaboom.js - 💥 JavaScript game library
walkingAI - It's an AI... that sort of walks.
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
Pattern-Script - Open Source HTML5 Game Engine based on PuzzleScript
svelte-canvas - 🎨 Reactive canvas rendering with Svelte.
LittleJS - LittleJS is a HTML5 game engine with many features and no dependencies. 🚂 Choo-Choo!
taro - A lightweight 3D game engine for the web.
rewtro - Papercraft videogame cartridges you can print and pirate with a copy machine.