12 How to make a slingshot matter.js
Автор: flanniganable
Загружено: 2021-12-06
Просмотров: 1073
Описание:
Learn how to make a slingshot in matter.js.
Learn how to add the necessary modules. Learn how to make the slingshot using a constraint. Learn how to add a mouse constraint to interact with the slingshot using your mouse. Learn how to fire the slingshot using events. Learn how to listen to the enddrag event.
Timestamps:
00:00 Intro/demo
00:10 What essential modules do I need to make a slingshot in matter.js
01:03 How to use a constraint to make a slingshot matter.js
02:18 How to add mouse and mouse constraint matter.js
02:32 How to control firing slingshot matter.js
Resources:
Matter.js: https://brm.io/matter-js/
Cloudfare matter.js library: https://cdnjs.com/libraries/matter-js
p5 web editor: https://editor.p5js.org/
The Coding Train: https://thecodingtrain.com/
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: