github fantasycalendar/FoundryVTT-Sequencer 2.0.0

latest releases: 3.6.10, 3.6.9, 3.6.8...
3 years ago

Breaking changes:

  • Sequencer - Sequencer now requires the socketlib module
  • Sequencer - All existing persistent effects created using 1.X.X Sequencer will be updated to the 2.0.0 system, but it's nigh impossible to catch all the edge cases, so please report any strangeness!
  • Effects - Removed support for audio methods on effects (hardly used and caused a whole host of problems)
  • Effects - Deprecated .reachTowards() and renamed it to .stretchTo(). The deprecated method will be removed in 2.1.0.
  • Effects - Deprecated .addPostOverride(), please use .addOverride() instead. The deprecated method will be removed in 2.1.0.
  • Effects - Deprecated .gridSize(), .startPoint(), and .endPoint() in favor for .template({ gridSize, startPoint, endPoint }). The deprecated methods will be removed in 2.1.0.
  • Effects - Removed deprecated method .JB2A()

Tweaks:

  • Sounds & Effects - Tweaked .forUsers() to also accept player names (case-sensitive) instead of just IDs
  • Effects - Tweaked attached effects' layer handling - effects can now be attached but exist below all Tokens, for example
  • Effects - Tweaked .filter() to allow being called multiple times, which now layers the filters in the order they were created

Additions:

  • Sequencer - Added selection tool to the Effect Layer - select, move, reattach, and delete effects on the canvas!
  • Sequencer - Added updateEffects to the Effect Manager's API
  • Sequencer - Added updateSequencerEffect hook
  • Sequencer - Added support to .macro()s to be able to supply additional arguments (requires the Advanced Macros module)
  • Sequencer - Added wildcard support when filtering for named effects in the Effect Manager's API (such as getEffects, endEffects, etc)
  • Sequencer - Added support to filter for source and target in the Effect Manager's API (such as getEffects, endEffects, etc)
  • Sequencer - Added "private" boolean flag to Sequencer.Database.registerEntries() which causes the entries to not be visible in the Database Viewer and Effect Player
  • Sequencer - Added Setting to be able to hide Sequencer's tools on the toolbar
  • Sequencer - Added checkbox to Database Viewer to show all ranges of a single effect, which is by default set to false
  • Sequencer - Added Sequencer.Helpers, a library of useful methods - check them out on the wiki: https://github.com/fantasycalendar/FoundryVTT-Sequencer/wiki/Sequencer-Helper-Functions
  • Animations - Added .hide() and .show() to hide or show the animated object
  • Effects - Added more secondary options parameters to .stretchTo(), which accepts:
    • At long last, this can now attachTo (boolean) to the given target. Combine with .attachTo() to link an effect between two tokens!
    • onlyX (boolean), if set to true, this will cause stretchTo to only stretch the X axis of the sprite towards the target (keeping Y at 1.0, or your given scale)
  • Effects - Added support to .file() for an object map containing the feet range and filepath key-value pair. Check out the file wiki entry to understand what this means: https://github.com/fantasycalendar/FoundryVTT-Sequencer/wiki/Effects#file
  • Effects - Added secondary options parameter to .attachTo(), which accepts:
    • align (string, default "center"), accepts top-left, center, left, bottom-right, etc. Read the wiki: https://github.com/fantasycalendar/FoundryVTT-Sequencer/wiki/Effects#attach-to
    • bindVisibility (boolean, default true), if set to false, the effect will not be hidden if the attached object is hidden
    • bindAlpha (boolean, default true), if set to false, the effect's alpha will be independent of the attached object
    • followRotation (boolean, default true), if set to false, the effect will not follow the rotation of the attached object
  • Effects - Added options to .size() which allows for { gridUnits: true } - this makes the size given to the method scale to the scene's grid, instead of setting the exact width and height
  • Effects - Added the same option as above to .animateProperty() and .loopProperty(), which only works if you animate the width or height

Fixes:

  • Sequencer - Fixed module permissions settings being slightly wonky
  • Sequencer - Fixed number inputs not throwing errors on NaN values
  • Animations - Fixed users not being able to teleport or move tokens they do not own
  • Animations - Fixed .moveSpeed() not affecting the duration of the animation
  • Animations - Fixed .delay() not being respected
  • Effects - Fixed memory leak where effect textures were not properly destroyed
  • Effects - Adjusted .origin() to be able to accept a Document object to infer the UUID from
  • Effects - Fixed .from() not taking mirror x/y into account on tokens
  • Effects - Tokens with effects attached to them can now be ended by anyone who can update the token (owners of the token, GMs, etc)
  • Effects - Increased default resolution of .text() to 10 (should increase quality)
  • Effects - Fixed .screenSpace() effects still being affected by grid size normalization

Don't miss a new FoundryVTT-Sequencer release

NewReleases is sending notifications on new releases.