Skip to content

Commit 8b53837

Browse files
committed
Initial Commit for split project
1 parent 22a738f commit 8b53837

65 files changed

Lines changed: 10912 additions & 2 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
foundryconfig.json
3+
.vscode
4+
release.txt

.jshintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"esversion": 8
3+
}

CHANGELOG.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# 2.6.9
2+
- Fix console error when moving token outside of combat
3+
4+
# 2.6.8
5+
- Test compatibility with Foundry v0.6.2
6+
- Start marker if enabled will no longer show up until after a token has moved for the first time on it's turn
7+
- Video files (webm, ogg, & mp4) should now properly display in the marker previewer in settings
8+
- Added new informational window to be shown when module is updated
9+
- Fix harmless error when setting custom image path for turn marker
10+
- Fix settings window not displaying logo
11+
12+
# 2.6.5
13+
- Migrate repository from GitLab to GitHub
14+
- Add Webpack to reduce overall script size
15+
16+
# 2.6.4
17+
- Enable Japanese Language support
18+
- Add option to disable Turn Marker
19+
- Now properly removes the start marker from the canvas when combat ends
20+
- Fix for webm token thumbnails not always displaying properly in turn announcements
21+
- Fix for error when manually creating a combat from the combat tracker
22+
23+
24+
# 2.6.3
25+
- New optional feature: "Start Marker"
26+
- Places a static marker under the token when they start their turn to signify where they started
27+
- German language support
28+
- Korean language support
29+
- Added file browsers to the settings window for image selection
30+
- New setting to disable token image in turn announcements
31+
- Added marker preview to settings window
32+
33+
# 2.6.2
34+
- Moved global settings into their own window
35+
- Add support for localization (translators desired!)
36+
37+
# 2.6.1
38+
- Now properly integrates with Combat Utility Belt's 'Hide NPC Names' option
39+
- Fix for multiple turn change messages when a combatant is removed from combat
40+
41+
42+
# 2.6.0
43+
- Now supports hex grids properly
44+
- New feature: Setting to announce turn changes with a chat message
45+
46+
# 2.5.1
47+
- Fix for error thrown when removing the last combatant from combat if combat has not started
48+
49+
# 2.5
50+
- Updated for new tile structure in 0.5.6+
51+
52+
# 2.4.2
53+
- Last release for 0.5.5-
54+
55+
# 2.4.1
56+
- Ensure compatibility with 0.5.6
57+
58+
# 2.4
59+
- Fix for marker misbehaving when token vision is disabled for a scene
60+
- Fix for marker being visible when tokens are hidden
61+
62+
# 2.3
63+
- Marker should now be hidden when the active combatant is hidden
64+
65+
# 2.2
66+
- Fix for multiple markers being placed, but not updated when more than one GM is logged in
67+
- Fix for error when changing image curing combat while player is connected
68+
69+
# 2.1
70+
- Fix error when trying to change the marker image when no combat is active
71+
- Fix error when moving a token outside of combat
72+
73+
# 2.0
74+
- Change animation to be SIGNIFICANTLY smoother by using PIXI animations
75+
- Remove "Animation Degrees" setting as it is no longer needed
76+
- Marker should no longer hide behind other tiles on the canvas
77+
- Each user can now define their own animation settings
78+
79+
# 1.0
80+
- Initial Release

README.md

Lines changed: 82 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,82 @@
1-
# Turnmarker-alt
2-
Split branch of Turnmarker after it was no longer actively maintained
1+
# Turn Marker
2+
**Turn Marker** is a module for [Foundry VTT](https://foundryvtt.com/ "Foundry VTT") that adds an image under a token who is currently active in the combat tracker. This is completely system agnostic, and fully customizable to fit right into your game.
3+
4+
![GitHub release (latest by date)](https://img.shields.io/github/v/release/kckaiwei/turnmarker?style=flat-square)
5+
![GitHub latest version downloads](https://img.shields.io/github/downloads/kckaiwei/turnmarker/latest/total?style=flat-square)
6+
7+
8+
## Installation
9+
It's always better and easier to install modules through in in app browser. Just search for "Turn Marker"
10+
11+
To install this module manually:
12+
1. Inside the Foundry "Configuration and Setup" screen, click "Add-on Modules"
13+
2. Click "Install Module"
14+
3. In the "Manifest URL" field, paste the following url:
15+
`https://raw.githubusercontent.com/kckaiwei/TurnMarker/master/dist/module.json`
16+
4. Click 'Install' and wait for installation to complete
17+
5. Don't forget to enable the module in game using the "Manage Module" button
18+
19+
## Usage
20+
The turn marker will move to the active token on their turn, and move with them as they move:
21+
![example](/examples/example.webm)
22+
23+
### Settings
24+
#### Image ratio
25+
The image ratio is related to the size of the token. 1 will be the same size as the active token, 2 will be double the size, etc.
26+
#### Animate Marker
27+
If enabled, the marker will use a rotational animation as defined by "Animation Speed" and "Animation Degrees".
28+
#### Animation Speed
29+
Defines in milliseconds how often the animation should apply a rotation. The lower the number the faster the animation.
30+
#### Animation Degrees
31+
Defines in degrees how much the marker should rotate on each tick.
32+
#### Marker Image
33+
Select from a number of included images provided by the Foundry Community:
34+
35+
Marker images by [Rin](https://foundryvtt.com/community/rin)
36+
37+
|Runes of the Cultist |Runes of Regeneration |Runes of the Cosmos |Runes of Earthly Dust |
38+
|--|--|--|--|
39+
|<img src="src/assets/cultist.png" width="150" />|<img src="src/assets/regeneration.png" width="150" />|<img src="src/assets/cosmos.png" width="150" />|<img src="src/assets/earthlydust.png" width="150" />|
40+
41+
|Runes of Reality |Runes of Incendium |Runes of the Believer |Runes of the Mad Mage |
42+
|--|--|--|--|
43+
|<img src="src/assets/reality.png" width="150" />|<img src="src/assets/incendium.png" width="150" />|<img src="src/assets/believer.png" width="150" />|<img src="src/assets/madmage.png" width="150" />|
44+
45+
|Runes of the Blue Sky |Runes of the Universe |Runes of Prosperity |
46+
|--|--|--|
47+
|<img src="src/assets/bluesky.png" width="150" />|<img src="src/assets/universe.png" width="150" />|<img src="src/assets/prosperity.png" width="150" />|
48+
49+
#### Custom Image Path
50+
Sets the path to an image to be used instead of the included images
51+
52+
#### Announce Turns
53+
If enabled, a chat message will be sent when the turn in combat changes (unless the combatant is hidden in the combat tracker).
54+
55+
## Compatibility
56+
Most recently tested on [Foundry VTT](https://foundryvtt.com/ "Foundry VTT") version 0.6.6.
57+
58+
I've been developing on it on version 0.7.9, but haven't used it enough to deem it stable.
59+
60+
## Feedback
61+
All feedback and suggestions are welcome. Please contact me on Discord (Brunhine#2182).
62+
63+
Any issues, bugs, or feature requests are always welcome to be reported directly to the [Issue Tracker](https://github.com/kckaiwei/TurnMarker/issues "Issue Tracker")
64+
65+
## Support Development
66+
Want to help improve the module? Send a pull request.
67+
68+
Want to show support another way? Recommend this module to other users.
69+
70+
### Getting started
71+
72+
`src` is the folder you want to work with. Make sure you have [npm](https://www.npmjs.com/ "NPM") installed.
73+
Run `npm install` to install `gulp`
74+
75+
When you're done making changes, run `gulp build` to recompile the `dist` folder
76+
77+
## Licensing
78+
**Turn Msrker** is a module for [Foundry VTT](https://foundryvtt.com/ "Foundry VTT") by Jeremiah Altepeter and is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).
79+
80+
This work is licensed under Foundry Virtual Tabletop [EULA - Limited License Agreement for module development v 0.1.6](https://foundryvtt.com/article/license/).
81+
82+
The included images are created by [Rin](https://foundryvtt.com/community/rin) (rin#0002 on Discord)

dist/assets/believer.png

491 KB
Loading

dist/assets/bluesky.png

686 KB
Loading

dist/assets/card.png

8.44 KB
Loading

dist/assets/cosmos.png

811 KB
Loading

dist/assets/cultist.png

679 KB
Loading

dist/assets/earthlydust.png

656 KB
Loading

0 commit comments

Comments
 (0)