v0.3 Update - SolarLune/resolv GitHub Wiki
Hello! Here's another major update! Here's the list of changes made in this version:
-
Major restructuring - it used to be that resolv all was in one file. However, that made things a bit messy and hard to maintain, even at its current small size. I decided, therefore, to split each struct out into its own file.
-
Compound shapes are now supported! This is done by using Spaces as though they were Shapes (i.e. checking for collision using Spaces when you want to do it for groups). The readme has been updated with a simple example of this.
-
All shapes now have a Move() function to facilitate this a bit more easily.
-
Adding a seventh test world to test out compound shapes collision checking and resolution.
-
Lines now have a function to get the bounding circle or rectangle of the line.
-
Circles now have a function to get the bounding rectangle of the line.
-
Rectangles now have a function to get the bounding circle of the line.
-
BasicShape is now exposed, in case you wanted to make use of it / read the documentation for it.
-
A bug was fixed with lines where they would not return as intersecting if just on the edge of the line (see the hollow box in test world 5).
-
A floating platform was added to the platformer test world 6 to ensure that, yes, platforming is buttery-smoove, even on ramps.
-
More blocks were added to world 1.
-
Fixing up the readme.