Skip to content

Releases: ManojTGN/collision2djs

v1.0.10

23 Apr 15:04
Compare
Choose a tag to compare

Fixes

  • fixed tsConfig typescript configuration
  • update package.json
  • removed .npmrc

v1.0.6

23 Apr 09:16
Compare
Choose a tag to compare

Features

  • add point (getter/setter)
  • add examples
  • add documentation

Fixes

  • fix circle radius bug
  • fix line point collision

Initial Release

22 Apr 18:35
Compare
Choose a tag to compare

Features

  • onCollisionEnter & onCollisionExit Callback events
  • getIntersection of any two shapes returns intersection points
  • isCollideWith returns boolean of two shape's collision

Fixes

  • fix Point getter setter
  • fix point (Line,Circle,Triangle) collision, intersectionPoints, radius bug
  • fix line circle intersection
  • removed points from onEnterEvent
  • fix rect line horizontal intersection