Skip to content

Releases: Feu-Secret/Tokenmagic

Release 0.7.6.1

01 Feb 12:36

Choose a tag to compare

  • Fixed errors thrown during renderBasePlaceableHUD
  • Placeable HUD button clicks are now proofed to make sure they're not programmatically dispatched #299

Release 0.7.6

31 Jan 20:14

Choose a tag to compare

Filter Editor

  • Clone context menu option has been added
    • Clones/Duplicates selected filter
  • Scroll position is now retained when deleting presets
  • Filters/Presets dragged onto canvas will now apply to top-most placeable based on elevation and sort
  • New control added to Preset Search; Edit
    • Opens a form to change preset name and/or default texture
  • Searches within Preset Search app in addition to name will now also match against filter types contained within the preset params

Misc

  • New default presets have been added:
    • DungeonDraft Tint, Replace Color, Dot Shade, CRT Monitor, RGB Split, Criss-Cross, Star Mask

Release 0.7.5.1

29 Jan 11:22

Choose a tag to compare

Filter Editor

  • Displayed filter order has been reversed; top of the list now represents the last filter to be applied
    • Hopefully this lends to better intuition on how filters are layered on top of each other
    • A filter affects all other filters below it
  • Brazilian Portuguese localization, courtesy of @Kharmans

Release 0.7.5

28 Jan 22:35

Choose a tag to compare

Filter Editor

  • Slight style changes and improvements when using Light applications theme
  • Fixed rank sorting failing when two or more filters shared the same rank
  • Rank sorting will now take immediate effect upon change
ranking.mp4

Version 0.7.4

27 Jan 11:43

Choose a tag to compare

Filter Editor

  • UI to edit and manage Filters/Presets
  • Accessed through
    • Token, Tile, and Drawing HUD's new left menu button
    • Token, Tile, Drawing, Template, and Region document sheet header button TMFX Editor
    • API: TokenMagic.filterEditor()
  • New setting: Always display HUD's FX Editor Control
    • When disabled the new button will only appear if an effect is applied to the placeable

Adding Filters

create-search.mp4

**For conveience TMFX Macros can also be dragged into the TMFX Editor window

Editing

editing.mp4

Saving

saving.mp4

Other

  • Switched bundler from Parcel to Webpack
  • Fixed a bug which caused MeasuredTemplate texture field to be cleared unnecessarily #297
  • Fixed anchorX and anchorY properties not getting applied to spiderweb filter

API

  • Preset Toggler access changed to TokenMagic.presetToggler()
  • Preset Search can be accessed through TokenMagic.presetSearch()
    • The code for all apps is dynamically loaded only when first opened
  • The following APIs now support both placeable and document arguments
    • TokenMagic.addFilters(placeable/document, ...)
    • TokenMagic.addUpdateFilters(placeable/document, ...)
    • TokenMagic.updateFiltersByPlaceable(placeable/document, ...)
    • TokenMagic.deleteFilters(placeable/document, ...)
    • TokenMagic.hasFilterType(placeable/document, ...)
    • TokenMagic.hasFilterId(placeable/document, ...)
  • The following APIs now support optional filterType and filterInternalId arguments
    • TokenMagic.deleteFiltersOnTargeted(filterId, filterType, filterInternalId)
    • TokenMagic.deleteFiltersOnSelected(filterId, filterType, filterInternalId)
    • TokenMagic.deleteFilters(..., filterId, filterType, filterInternalId)
    • TokenMagic.addUpdateFilters(..., paramsArray)
    • TokenMagic.addUpdateFiltersOnSelected(paramsArray)
    • TokenMagic.addUpdateFiltersOnTargeted(paramsArray)

Test Release

22 Jan 11:03

Choose a tag to compare

Test Release Pre-release
Pre-release

Release used for delivering test builds.

Preliminary notes:

Filter Editor

  • UI to edit and manage Filters/Presets
  • Accessed through
    • Token, Tile, and Drawing HUD's new left menu button
    • Token, Tile, Drawing, Template, and Region document sheet header button TMFX Editor
    • API: TokenMagic.filterEditor()
  • New setting: Always display HUD's FX Editor Control
    • When disabled the new button will only appear if an effect is applied to the placeable

Other

  • Switched bundler from Parcel to Webpack
  • Fixed a bug which caused MeasuredTemplate texture field to be cleared unnecessarily #297
  • Fixed anchorX and anchorY properties not getting applied to spiderweb filter

API

  • Preset Toggler access changed to TokenMagic.presetToggler()
  • Preset Search can be accessed through TokenMagic.presetSearch()
  • Filter Editor can be accessed through TokenMagic.filterEditor()
    • The code for all apps is dynamically loaded only when necessary
  • The following APIs now support both placeable and document arguments
    • addFilters, addUpdateFilters, updateFiltersByPlaceable, deleteFilters, hasFilterType ,hasFilterId
  • The following APIs now support optional filterType and filterInternalId arguments
  • deleteFiltersOnTargeted , deleteFiltersOnSelected, deleteFilters, addUpdateFilters, addUpdateFiltersOnSelected, addUpdateFiltersOnTargeted

Version 0.7.3

24 Oct 18:47

Choose a tag to compare

  • Updated Auto Template Effects settings applications to V2
image
  • Replaced the old preset toggle macro with a new V2 app
    • Can be activated via: TokenMagic.activatePresetToggler()
    • Dynamically highlights active presets on selected placeables
    • Button to display only active presets
    • Button to display MeasuredTemplate presets
    • Button to clear all filters on selected placeables
    • Toggle behavrious:
      • If preset is not active on any selected placeable it will be applied to all selected placeables
      • If preset is active on one or more selected placeables it will be removed from all placeables
toggler.mp4

Version 0.7.2

05 Sep 17:37

Choose a tag to compare

  • Region support
tmfxRegion.mp4

Version 0.7.1

31 Aug 10:35

Choose a tag to compare

  • Automatic template settings will now save mappings in a correct format
  • Saving 'Game Settings' will no longer automatically trigger a window re-load
  • Fixes to DnD5e automatic template damage type recognition, courtesy of @strongpauly
  • Witcher TRPG error fix, courtesy of @pave1-semenov

Version 0.7.0

27 May 19:33

Choose a tag to compare

Foundry v13 compatibility