This repository has been archived by the owner on Apr 15, 2022. It is now read-only.
Platypus v0.7.4
Minor Changes
- CollisionShape: Added recycling methods to this class for better memory management and added a
collides
method to check shape collisions. - AABB: Added a
collides
method to check for aabb collisions. - Vector: Added more efficient setters to bypass unnecessary checks for more streamlined performance:
setXYZ
,setArray
, andsetVector
for number coordinates, array, and vector parameters respectively. These match the three behaviors of the originalset
but do not perform its parameter type-checking. - HandlerCollision: Made several internal optimizations to reduce overall collision-checking time.
Bug Fixes
- CollisionBasic: Fixed a bug where a "collide-off" event would re-add the entity to the collision list for malformed trigger messages.
- Messenger: Fixed an issue where debugging an entity fails on iOS due to unavailable
window.performance
methods. - Mover: Fixed an issue with colliding entities in motion retaining incorrect velocities.
- Fixed an problem where entities and components could be destroyed more than once, causing various unwanted effects.