Skip to content

Releases: RonenNess/SSCD.js

SSCD 1.5

29 Dec 19:17
Compare
Choose a tag to compare

SSCD 1.5 changes:

  • Minor optimization in collision detection by ditching "instanceof"
  • Added field-of-view test.
  • Fixed bug with line collision when line goes backwards.
  • Some docs update.
  • Fixed Vector.from_angle() to be really angle and not radian. added radian in addition.
  • All code had been beautified.

SSCD 1.4

20 Oct 21:33
Compare
Choose a tag to compare

1.4 Changes:

  • Added capsule shape.
  • Added tilemap world.
  • Fixed bug that factor_self and factor_other not working in composite-shape repel().
  • Added option to set collision tags to null for a quick reset.
  • Docs update.

SSCD 1.3

02 Oct 11:02
Compare
Choose a tag to compare

SSCD 1.3 changes:

Fixed potential bug that vector of (0, 0) turns NaN on normalize. This caused issues when trying to prevent penetration between two objects with the same center.
Fixed some javascript warnings etc.
Made fully npm compatible.
Added factor_self & factor_other to repel(), which make it possible for objects to repel each other simultaneously.

SSCD 1.2

08 Aug 09:20
Compare
Choose a tag to compare
  • Fixed ret_obj_count param that was mistakenly ignored before. This should make pick_object a lot more faster.
  • Added grid_error optimization (good for moving lots of large objects by small steps).
  • Added performance examples.

SSCD 1.1

29 Jul 00:26
Compare
Choose a tag to compare
  • Added repel() to shapes.
  • Improved some performance, especially with moving objects aabb calculations.
  • Fixed debug coloring bug with composite shapes.
  • Added another example with resolving penetration.
  • Extended Vectors API.
  • Added render bounding-box functionality to all shapes.
  • Fixed world render function to accept if should render grid and bounding boxes.

SSCD 1.0

26 Jul 23:09
Compare
Choose a tag to compare

First stable version.