generated from League-of-Foundry-Developers/FoundryVTT-Module-Template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from fantasycalendar/Hooking_Tokens
Hooking tokens
- Loading branch information
Showing
11 changed files
with
627 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
{ | ||
"TOKEN-EASE.speed-title": "Token Movement Speed", | ||
"TOKEN-EASE.speed-description": "Sets the default animation speed of moving tokens, in spaces per second (10 is Foundry default).", | ||
"TOKEN-EASE.speed-description": "Sets the default animation speed, in spaces per second (10 is Foundry default).", | ||
"TOKEN-EASE.duration-title": "Token Movement Duration", | ||
"TOKEN-EASE.duration-description": "Sets the default animation duration for token movement (in milliseconds). This overrides Token Speed, and causes tokens to reach their destination in a set amount of time, regardless of distance.", | ||
"TOKEN-EASE.duration-description": "Sets the default animation duration for movement (in milliseconds). This overrides Token Speed, and reaches the destination in a set amount of time, regardless of distance. Setting this to 0 will utilize speed instead.", | ||
"TOKEN-EASE.ease-title": "Token Movement Ease", | ||
"TOKEN-EASE.ease-description": "Sets the type of ease used by the movement animation on tokens.", | ||
"TOKEN-EASE.ease-description": "Sets the type of ease used by the movement animation.", | ||
"TOKEN-EASE.ease-type-title": "Ease In/Out", | ||
"TOKEN-EASE.ease-type-description": "Sets the type of easing to use at the start/end of the animation. If Token Movement Ease is set to Linear, this has no impact.", | ||
"TOKEN-EASE.movement-keys-title": "Play animation on keypad movement", | ||
"TOKEN-EASE.movement-keys-description": "If enabled, this will make moving tokens with the movement keys (arrow keys, etc) to play the animations configured above. We do not recommend enabling this, as the movement distance is so short when using movement keys.", | ||
|
||
"TOKEN-EASE.InstantMovement": "Instant Movement Hotkey (hold)" | ||
"TOKEN-EASE.override": "Override Token-Ease default settings for this token", | ||
|
||
"TOKEN-EASE.instant-movement": "Instant Movement Hotkey (hold)" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,48 @@ | ||
{ | ||
"name": "token-ease", | ||
"title": "Token Ease", | ||
"description": "This module extends native Foundry behavior to introduce easing, custom movement speed, and movement duration to tokens.", | ||
"author": "Wasp (Wasp#2005)", | ||
"authors": [], | ||
"url": "https://github.com/fantasycalendar/FoundryVTT-TokenEase", | ||
"flags": {}, | ||
"version": "This is auto replaced", | ||
"minimumCoreVersion": "0.8.6", | ||
"compatibleCoreVersion": "9.000", | ||
"scripts": [], | ||
"esmodules": [ | ||
"/scripts/module.js" | ||
], | ||
"styles": [], | ||
"languages": [ | ||
{ | ||
"lang": "en", | ||
"name": "English", | ||
"path": "/languages/en.json" | ||
} | ||
], | ||
"packs": [], | ||
"system": [], | ||
"dependencies": [ | ||
{ | ||
"name": "lib-wrapper", | ||
"type": "module" | ||
} | ||
], | ||
"socket": false, | ||
"manifest": "https://github.com/fantasycalendar/FoundryVTT-TokenEase/releases/latest/download/module.json", | ||
"download": "https://github.com/fantasycalendar/FoundryVTT-TokenEase/releases/download/1.0.4/module.zip", | ||
"protected": false, | ||
"coreTranslation": false, | ||
"library": "false" | ||
"name": "token-ease", | ||
"title": "Token Ease", | ||
"description": "This module extends native Foundry behavior to introduce easing, custom movement speed, and movement duration to tokens.", | ||
"authors": [ | ||
{ | ||
"name": "Wasp", | ||
"url": "https://github.com/Haxxer", | ||
"discord": "Wasp#2005" | ||
}, | ||
{ | ||
"name": "Kerrec Snowmane", | ||
"url": "https://github.com/ggagnon76", | ||
"discord": "Kerrec Snowmane#5264" | ||
} | ||
], | ||
"url": "https://github.com/fantasycalendar/FoundryVTT-TokenEase", | ||
"flags": {}, | ||
"version": "This is auto replaced", | ||
"minimumCoreVersion": "0.8.6", | ||
"compatibleCoreVersion": "9.000", | ||
"scripts": [], | ||
"esmodules": [ | ||
"/scripts/module.js" | ||
], | ||
"styles": [], | ||
"languages": [ | ||
{ | ||
"lang": "en", | ||
"name": "English", | ||
"path": "/languages/en.json" | ||
} | ||
], | ||
"packs": [], | ||
"system": [], | ||
"dependencies": [ | ||
{ | ||
"name": "lib-wrapper", | ||
"type": "module" | ||
} | ||
], | ||
"socket": false, | ||
"manifest": "https://github.com/fantasycalendar/FoundryVTT-TokenEase/releases/latest/download/module.json", | ||
"download": "https://github.com/fantasycalendar/FoundryVTT-TokenEase/releases/download/1.0.4/module.zip", | ||
"protected": false, | ||
"coreTranslation": false, | ||
"library": "false" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
const CONSTANTS = { | ||
MODULE_NAME: "token-ease", | ||
MOVEMENT_FLAG: "movement", | ||
ANIMATION_FLAG: "animation" | ||
} | ||
|
||
export default CONSTANTS; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.