aboutsummaryrefslogtreecommitdiff
path: root/lib/factories
AgeCommit message (Collapse)Author
2020-03-09Use new lib componentsHEADmainBen Beltran
2018-05-29Add Naive Game Rules (#11)Rubén Beltrán del Río
* Add components for tracking points * Add methods to create new entities * Adds nodes for points * Add system to detect points * Adds system to detect a winner * Add system to render points and winner * Add points required to win to config * Add it all to the engine * Add mention of points to changelog
2018-05-29Add gamepad support (#10)Rubén Beltrán del Río
* Update docs * Add gamepad support * Remove console logs * Add factories for controllables * Add both controllables * Add gamepad support to changelog
2018-05-28Add Grab System (#9)Rubén Beltrán del Río
* Remove unused code * Adds grab components * Adds grab nodes * Add sensors to the physics world * Add grab systems * Add new sprites * Attach grab components * Add grab system to engine * Update changelog
2018-04-23Fix positioning and lessen friction (#8)Rubén Beltrán del Río
2018-04-23Draw the Arena (#7)Rubén Beltrán del Río
* Add defaults to config * Create arena sprite * Draw the arena * Draw a face when cooling down the dash * Correct linter issues
2018-04-23Add control via keyboard (#6)Rubén Beltrán del Río
* 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
2018-04-21Physics Engine (#4)Rubén Beltrán del Río
* 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
2018-04-21Render Sumo (#3)Rubén Beltrán del Río
* Use corrected components * Add renderable node * Add render system * Add sumo factory * Add systems and entities to app * Remove reference to weight / accel component * Update dependencies, add pixi and babel-polyfill * Use babel polyfill * Add component to store pixi containers * Add pixi container to the renderable support * Update factories to produce renderables * Update the renderable to use pixi It also uses the new event emitters in serpentity 2.1.0 * Initialize pixi and pass it to renderable system