Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.

Platypus v0.11.2

Compare
Choose a tag to compare
@probityrules probityrules released this 27 May 00:36
· 125 commits to master since this release

Minor Changes

  1. Added a Jasmine-based test-runner to facilitate unit testing going forward. A few basic unit tests are in place.
  2. HandlerCollision: Added a getShapeCollisions() method to allow for shape-checking and a target parameter to collision events to list the entity on which the collision event is initially triggered.
  3. CollisionShape: Added a moveXY() method to complement moveX() and moveY() methods.
  4. Removed the example component "ComponentExample.js". It's now included as part of the Platypus SpringRoll Template
  5. Updated EntityController to allow a drag motion to change joystick direction.
  6. LogicPortable: Added a "force-release" method so portable objects can be released apart from collision dynamics.

Bug Fixes

  1. EntityContainer now correctly adds pre-built entities to the list of entities.
  2. RenderContainer now correctly handles translation and transformation for entities using an Orientation component.
  3. RenderTiles has been updated to correctly support PixiJS v4.5.
  4. Camera's windowToWorld method has been fixed to correctly report camera position.
  5. Fixed a glitch in LogicDirectionalMovement that caused "up" to be reported for "down-left".
  6. Fixed LogicButton's toggle mode to accept pointer events.
  7. Orientation "replace-transform" now accepts a string as documented.