]> git.r.bdr.sh - rbdr/sumo/commit - lib/sumo.js
Physics Engine (#4)
authorRubén Beltrán del Río <redacted>
Sat, 21 Apr 2018 22:45:38 +0000 (17:45 -0500)
committerGitHub <redacted>
Sat, 21 Apr 2018 22:45:38 +0000 (17:45 -0500)
commit493ec31cb19b4211c703762d14a4e6232c4c2143
treec0c33fab8f2fb040dc714ab76f0eb5479f001b2e
parent0616b3f00653c66b5e34814653e33413b9ec034e
Physics Engine (#4)

* Add matter-js as a dependency

* Add body component

* Fix renderable node doc

* Add the physics node type

* Correct typo in physics enabled node types

* Update docs on render system

* Add physics system

* Update changelog

* Add physics engine to main app

* Tweak the gravity of the world

* Add body to sumo factory

* Add angle component

* Add angle to entity

* Add angle to the nodes

* Pass angle between systems

* Set default angle to 0

* Split systems and nodes

* Fix indentaion in physics world control

* Add third sumo entity

* Adjust values for constriants and physics

* Correct docs in new nodes

* Update built-in docs
20 files changed:
CHANGELOG.md
doc/README.md
lib/components/angle.js [new file with mode: 0644]
lib/components/body.js [new file with mode: 0644]
lib/components/coupled_entities.js [new file with mode: 0644]
lib/factories/pixi.js
lib/factories/sumo.js
lib/nodes/physical.js [new file with mode: 0644]
lib/nodes/physical_with_attributes.js [new file with mode: 0644]
lib/nodes/renderable.js
lib/nodes/renderable_couple.js [new file with mode: 0644]
lib/nodes/renderable_with_attributes.js [new file with mode: 0644]
lib/sumo.js
lib/systems/attributes_to_renderable.js [new file with mode: 0644]
lib/systems/create_coupling_line.js [new file with mode: 0644]
lib/systems/physics_to_attributes.js [new file with mode: 0644]
lib/systems/physics_world_control.js [new file with mode: 0644]
lib/systems/render.js
package-lock.json
package.json