]> git.r.bdr.sh - rbdr/sumo/commit - .gitignore
Add control via keyboard (#6)
authorRubén Beltrán del Río <redacted>
Mon, 23 Apr 2018 10:13:08 +0000 (05:13 -0500)
committerGitHub <redacted>
Mon, 23 Apr 2018 10:13:08 +0000 (05:13 -0500)
commit7ade6f8d96825386bf2e89dea51f9297cbac8e9c
tree1e0c95625250c6fc41c7c8722ed81f4a3246ce6c
parentf45bcde17fe0a8849e647ac843106fb51d2e8971
Add control via keyboard (#6)

* Correct angle documentation

* Correct body component doc

* Add a config module with px 2 meters

* Create component to map input

* Add components for mappable actions

* Add component for elastic manipulation

* Add node to modify physics

* Add controllable node

* Add dasher node

* Add control mapper system

* Add component to limit velocity

* Add node for limiting velocity

* Add systems to move and dash

* Use meters in physics systems

* Correct documentation in render system

* Add elastic manipulation system

* Update factories to use new components

* Update main app to use new systems

* Ignore dist dir

* Also ignore cache

* Ignore personal configuration files

* Add system to reduce velocity

* Add changelog
26 files changed:
.gitignore
CHANGELOG.md
lib/components/angle.js
lib/components/body.js
lib/components/control_map.js [new file with mode: 0644]
lib/components/dash.js [new file with mode: 0644]
lib/components/elastic.js [new file with mode: 0644]
lib/components/force.js [new file with mode: 0644]
lib/components/max_velocity.js [new file with mode: 0644]
lib/config.js [new file with mode: 0644]
lib/factories/pixi.js
lib/factories/sumo.js
lib/nodes/controllable.js [new file with mode: 0644]
lib/nodes/dasher.js [new file with mode: 0644]
lib/nodes/elastic.js [new file with mode: 0644]
lib/nodes/limited_velocity.js [new file with mode: 0644]
lib/nodes/physical_with_external_force.js [new file with mode: 0644]
lib/sumo.js
lib/systems/apply_force.js [new file with mode: 0644]
lib/systems/control_mapper.js [new file with mode: 0644]
lib/systems/dash.js [new file with mode: 0644]
lib/systems/elastic.js [new file with mode: 0644]
lib/systems/physics_to_attributes.js
lib/systems/physics_world_control.js
lib/systems/reduce_velocity.js [new file with mode: 0644]
lib/systems/render.js