This repository has been archived by the owner on Apr 15, 2022. It is now read-only.
Platypus v0.11.2
Minor Changes
- Added a Jasmine-based test-runner to facilitate unit testing going forward. A few basic unit tests are in place.
- HandlerCollision: Added a
getShapeCollisions()
method to allow for shape-checking and atarget
parameter to collision events to list the entity on which the collision event is initially triggered. - CollisionShape: Added a
moveXY()
method to complementmoveX()
andmoveY()
methods. - Removed the example component "ComponentExample.js". It's now included as part of the Platypus SpringRoll Template
- Updated EntityController to allow a drag motion to change joystick direction.
- LogicPortable: Added a "force-release" method so portable objects can be released apart from collision dynamics.
Bug Fixes
- EntityContainer now correctly adds pre-built entities to the list of entities.
- RenderContainer now correctly handles translation and transformation for entities using an
Orientation
component. - RenderTiles has been updated to correctly support PixiJS v4.5.
- Camera's
windowToWorld
method has been fixed to correctly report camera position. - Fixed a glitch in LogicDirectionalMovement that caused "up" to be reported for "down-left".
- Fixed LogicButton's toggle mode to accept pointer events.
- Orientation "replace-transform" now accepts a string as documented.