Releases: erinmaus/slick
Releases · erinmaus/slick
slick v1.0.1
- Fix
slick.world.add
to returnslick.entity
instance representingitem
instead of theslick.entity
type.
slick v1.0.0
🚀 Here we go!
No differences in slick from v1.0.0.
- Moving forward, breaking changes will cause a bump in the major version number
- Significant non-breaking feature additions will bump the minor version number.
- 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
- 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
- Add optional
tag
field toslick.collision.shapelike
instances. Thistag
field can be populated by passing in aslick.tag
(created byslick.newTag
) to allslick.collision.shapeDefinition
constructors. SeeREADME.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
A little bigger than usual... Mostly fixing cross
and adding bounce
with supporting work and documentation.
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
toslick.newRectangleShape
. This was leaking an implementation detail and also causing inconsistent naming (e.g., withslick.world.queryRectangle
) - Formally document
slick.worldResponseFunc
- Improve documentation for
slick.worldQuery
andslick.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, thenslick.world.check
will immediately attempt to handle the returnedslick.worldQueryResponse
without causing a bounce. See documentation updates.
- Add optional
- Refactor to how pooled
slick.geometry.point
are handled in aslick.worldQuery
. Now, theslick.worldQuery
can automatically pool objects of a slick type (i.e.,slick.geometry.point
in this case) across allslick.worldQueryResponse
children. Before, eachslick.worldQueryResponse
pooled its ownslick.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 anotherslick.util.pool
. This is used byslick.worldQuery
whenmove
-ing aslick.worldQueryResponse
from one query to another; any pooledextra
fields will be transparently moved as well.
slick v0.1.4
- 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
- Add clipper API.
- Fix crash with quad tree point query API.
slick v0.1.2
- 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
- Improve documentation.
- Fix bug causing potentially overlapping polygons in polygonization in certain situations.
- Add
maxPolygonVertexCount
toslick.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
slick alpha release!
Please report any issues with GIFs, screen recordings, or screenshots as well as a description of the problem.