Skip to content

Releases: erinmaus/slick

slick v1.0.1

09 Feb 19:11
7669531
Compare
Choose a tag to compare
  • Fix slick.world.add to return slick.entity instance representing item instead of the slick.entity type.

slick v1.0.0

21 Jan 11:05
e94f0f3
Compare
Choose a tag to compare

🚀 Here we go!

No differences in slick from v1.0.0.

  1. Moving forward, breaking changes will cause a bump in the major version number
  2. Significant non-breaking feature additions will bump the minor version number.
  3. Bug fixes, optimizations, and minor additions to existing features will bump the minor version number.

Thanks to everyone who tested and gave feedback! LET'S GO!

slick v0.1.7

21 Jan 10:50
f7d768d
Compare
Choose a tag to compare
slick v0.1.7 Pre-release
Pre-release
  • Add slick.newMeshShape
  • Make normals direction consistent regardless shape-shape evaluation order and other cases. +Y will always be pointing down (assuming +Y is down in the game, e.g., default LÖVE behavior) and -Y will always be pointing for circle-polygon, polygon-circle, polygon-polygon, and circle-circle collisions
  • Tweak default epsilon

slick v0.1.6

20 Jan 02:14
b20bcf7
Compare
Choose a tag to compare
slick v0.1.6 Pre-release
Pre-release
  • Add optional tag field to slick.collision.shapelike instances. This tag field can be populated by passing in a slick.tag (created by slick.newTag) to all slick.collision.shapeDefinition constructors. See README.md for more information.
  • Make slick library paths look a little nicer in the traceback when slick is in a subdirectory.
  • Fix greedy insert in quad tree node expand causing duplicate inserts and crashes.
  • Fix broken demo after breaking change. Whoops!

slick v0.1.5

18 Jan 18:19
279b195
Compare
Choose a tag to compare
slick v0.1.5 Pre-release
Pre-release

A little bigger than usual... Mostly fixing cross and adding bounce with supporting work and documentation.

bounce

Major user-facing changes

  • Fix bug where all responses were treated as slide.
  • Fix cross response handler.
  • Add bounce response handler.
  • Update demo to include bouncing bubble.
  • Breaking change: rename slick.newBoxShape to slick.newRectangleShape. This was leaking an implementation detail and also causing inconsistent naming (e.g., with slick.world.queryRectangle)
  • Formally document slick.worldResponseFunc
  • Improve documentation for slick.worldQuery and slick.worldQueryResponse

Internal changes

  • Changes to behavior of slick.worldResponseFunc
    • Add optional slick.worldQueryRespone return value. If a response handler returns a value other than nil, then slick.world.check will immediately attempt to handle the returned slick.worldQueryResponse without causing a bounce. See documentation updates.
  • Refactor to how pooled slick.geometry.point are handled in a slick.worldQuery. Now, the slick.worldQuery can automatically pool objects of a slick type (i.e., slick.geometry.point in this case) across all slick.worldQueryResponse children. Before, each slick.worldQueryResponse pooled its own slick.geometry.point specifically for contact points. Now these point instances are pooled across responses.
  • Support moving an instance belonging to one slick.util.pool to another slick.util.pool. This is used by slick.worldQuery when move-ing a slick.worldQueryResponse from one query to another; any pooled extra fields will be transparently moved as well.

slick v0.1.4

16 Jan 12:37
026ea76
Compare
Choose a tag to compare
slick v0.1.4 Pre-release
Pre-release
  • Fix precision issues with clipper.
  • Fix incorrect logic when querying line segments in a quad tree.
  • Add optional epsilon to line segment and point queries in a quad tree.
  • Add simple triangulation and clipping API.

slick v0.1.3

14 Jan 01:21
8947561
Compare
Choose a tag to compare
slick v0.1.3 Pre-release
Pre-release
  • Add clipper API.
  • Fix crash with quad tree point query API.

slick v0.1.2

08 Jan 14:34
79999a3
Compare
Choose a tag to compare
slick v0.1.2 Pre-release
Pre-release
  • Fix data missing in quad tree when straddling the border after an automatic expansion
  • Small fix to slick.world.optimize - the method rebuilt the quad tree but didn't update the bounds of the root node!
  • Fix polygon-circle edge case when contact normal as axis aligned causing slight penetration and jitter.

slick v0.1.1

08 Jan 01:36
8e3929e
Compare
Choose a tag to compare
slick v0.1.1 Pre-release
Pre-release
  • Improve documentation.
  • Fix bug causing potentially overlapping polygons in polygonization in certain situations.
  • Add maxPolygonVertexCount to slick.geometry.triangulation.delaunayTriangulationOptions. This allows putting an upper limit on the max vertices in a polygon generated during polygonization. Useful if you're using the polygonization e.g., with Box2D.
  • Add slick.world.optimize method to optimize quad tree in-place.

If there's no more bugs, then the next release will be v1.0.0!

slick v0.1.0

07 Jan 15:12
64ca755
Compare
Choose a tag to compare
slick v0.1.0 Pre-release
Pre-release

slick alpha release!

Please report any issues with GIFs, screen recordings, or screenshots as well as a description of the problem.