ZIM Bubbling: 92. Physics - #HTML #Canvas #JavaScript, #CreateJS, #ZIMjs

preview_player
Показать описание
The latest updates for the ZIMjs Framework - Complete Canvas Coding and Creation.

ZIM TEN (10) now has integrated physics with Box2D and the ZIM Physics 2 helper class. All display objects can have physics added and this adds various methods and properties for physics like forces, linkages, key controls, scroll and follow, contact, linear and angular damping, restitution, friction, etc.

00:00 start intro ZIM_physics module
07:40 GOAL example ZIM TEN +PHYSICS checking the code
12:00 contact information much easier now
13:33 BEADS example with new Tile()
14:37 physics need zero zero
18:59 KEEP UP SOCCER BALL example code has forces
20:30 BALL asset is rectangle with reg(LEFT,TOP), need to be .reg(CENTER) to be able to set addPhyiscs() to it
20:53 BALL .addPhysics() with parameter shape: "circle"
21:30 BALL force impulse and sideForce with upForce
24:18 you can find on two places into the ZIM DOCS Physics and addPhysics
Рекомендации по теме
welcome to shbcf.ru