Releases: caewok/fvtt-light-mask
Limited angle near 360º fix
Fix rendering error when using a limited angle close to 360º. Fixes #6 (take two!).
Fix Perfect Vision conflict
Fix conflict with PerfectVision by switching ClipperLib to an internal-only import. Fixes #7.
Fix clash with walled templates
Fix conflict with walled template where both modules define the same getters.
Improved sweep algorithm
Relies on a version of ClockwiseSweep that can accept arbitrary boundary polygons and temporary walls. Fixes issue #6.
- User can now specify any regular polygon with 3+ sides.
- User can now specify any star-shaped polygon with 5+ sides.
- Improvements to the UI/UX when selected shape types in the light and sound configurations to prevent the UI from jumping around on refresh.
- Add option to use the new ClockwiseSweep algorithm for all vision/lighting/sound for advanced users and testing.
Relative cached walls
Add checkbox to light/sound configuration that lets the user make the cached walls move relative to the light/sound object (closes #1). Fix storing of cached wall and relative origin data to the database so it remains after logging out and back in to Foundry (closes #3). Add a canvasReady
hook to refresh the lights and sounds on first canvas load to avoid Foundry issue #6227 and allow lights/sounds with cached walls to draw properly.
Full Changelog: 0.1.1...0.1.2
Intersections fix
Fix potential bug when using limited angle lights or sounds where overlapping wall intersections may not be detected.
Full Changelog: 0.1.0...0.1.1
Public release
Require Foundry 9.233 to avoid wall selection issues with 9.232.
Sounds!
Added equivalent geometric shapes and custom walls for sound objects. Switched to using templates to render the object configuration additions and added localization.
Full Changelog: 0.0.3...0.0.4
Foundry v9.232
Updated for Foundry v9.232 (Testing 1).
- Use
config.source
instead of searching for light by id - Update
identifyEdges
, particularly the canvas boundary creation - Change size of the geometry to be slightly smaller than radius to avoid light-leakage issues.
Full Changelog: 0.0.2...0.0.3
Stars
Add pentagon, pentagram, and hexagram geometries. Align geometries to the grid when rotation is set to the default of 0.
Full Changelog: 0.0.1...0.0.2