- Sequencer - Added hooks:
createSequencerSequenceendedSequencerSequence- Effects:
preCreateSequencerEffect- Provides the effect's datacreateSequencerEffect- Provides the effect's dataendedSequencerEffect- Provides the effect's data
- Sounds:
preCreateSequencerSound- Provides the sound's datacreateSequencerSound- Provides the sound's dataendedSequencerSound- Provides the sound's data
- Sequencer - Hook for
sequencer.readyis becoming deprecated in favor forsequencerReady - Sequencer - Vastly improved the speed of the Database Viewer (thanks to Naito#1235 on discord!)
- Effects - Added screen space layer for UI effects!
- Added
.screenSpace()which causes the effect to be played on the screen rather than in the game canvas - Added
.screenSpaceAnchor()which causes the effect to anchor itself to a side on the screen space layer - Added
.screenSpacePosition(), pretty straightforward what this does, sets the position of the effect in screen space - Added
.screenSpaceScale()which can help you stretch and fit the effect to the screen, even on different screen sizes
- Added
- Effects - Added
.spriteAnchor()which controls the effect's core anchor point within its container (defaults to 0.5 on X and Y) - Effects - Added support on
.atLocation()for a secondary options object, which currently accepts:cacheLocation: boolean- causes the given object's location to be cached immediately rather than retrieved during the Sequence's runtime
- Effects - Added
.snapToGrid()which snaps the effect to the given location's closest grid section - Effects - Added
.scaleToObject()which scales the effect to the bounds of the object, with an optional scalar on top of that - Effects - Added
.zeroSpriteRotation()which causes an effect's sprite to remain un-rotated when its container rotates in animations - Effects - Tweaked
.size()to also accept only one of height or width, the other will be automatically resized to keep the effect's ratio - Effects - Fixed
.persist()ing effects with an end duration that doesn't loop would not properly stop at its end duration - Effects - Improved look of transparent .webm files
- Animations - Renamed
.snapToSquare()method to.snapToGrid()- the old method will be fully removed in 1.2.0 - Foundry - Added libwrapper patch for .webm transparency not playing correctly in Foundry
- Sequencer - Updated some sample macros
- Sequencer - The
SequencerDatabaseaccessor has been removed, and is now accessible withSequencer.Database - Sequencer - The
SequencerDatabaseVieweraccessor has been removed, and is now accessible withSequencer.DatabaseViewer - Sequencer - The
SequencerPreloaderaccessor is deprecated, and is now accessible withSequencer.Preloader