Recently on GitHub, I found something called "matter.js physics engine", using that, I made this.
After 2 hours of exploring the code of matter.js and StackOverflow, I made this!
Hope you enjoy this little project of mine :)
You can move the blocks using your mouse
A few things you can do with this -
- Build something
- Throw everything!
- Enjoy the Physics!!!!!!!!!!!!!
it brings me pure joy to destroy things. especially when in sandbox games(no consequences). I would suggest that you make it so that the blocks stay inside the screen so that more destruction happens