-
January 29th, 2023, 21:23 #71
- Join Date
- May 2020
- Posts
- 73
the reason why I ask is because I am experiencing a bug.
when having two tokens overlapping if i click on token a token b is brought to the front.
if i click on token b token a is brought to front.
and it is just broken when more that 3 tokens are overlapped.
I have tested this in an empty pathfinder 1e campaign.
-
January 29th, 2023, 21:40 #72
-
February 27th, 2023, 09:07 #73
- Join Date
- Mar 2020
- Posts
- 205
HI Saagael, hope you are doing fine!
I have downloaded this extension but each time I click on a token, a lot of stuff appears in the chat. I have yet to test the extension in more controlled conditions (without other running extension) but I attach to the present post a snapshot of my screen.
Hope it will help somehow.
Screenshot 2023-02-27 at 10.00.53.png
-
February 27th, 2023, 14:29 #74
-
February 27th, 2023, 16:37 #75
- Join Date
- Mar 2020
- Posts
- 205
-
February 27th, 2023, 16:38 #76
-
February 27th, 2023, 16:55 #77
- Join Date
- Mar 2020
- Posts
- 205
Issue solved!!! For whatever reason, your extension was not updating from the Forge. Delete, reinstalled and now everything is working like a charm.
Thank yu very much for the prompt reply!
-
May 22nd, 2023, 12:58 #78
- Join Date
- Mar 2023
- Location
- Nope
- Posts
- 35
Love this extension, thanks for your hard work. Feature request: could you add a visual that tokens are stacked in a hex or square? That way my players (and me, the GM) could more easily tell if multiple tokens are taking up the same space and we can use the extension's functionality to pick one.
-
May 22nd, 2023, 22:27 #79
This is a great idea, and I will investigate it, but I suspect that this isn't really feasible. Tokens don't have an accessible z-order property, which means it is impossible for me to put an little graphic only the top-most token. This means I would need to put the graphic on every token in a stack, and that means I would need to calculate whether every token overlaps any other token. Currently this expensive check is only done for one token when you click on a token (i.e. it's only run once every mouse click event). But in order to put a graphic on the tokens it would need to happen every time a token moves, and that could end up running many times per second as you drag a token. And that would have a very noticeable performance impact.
I'll see if I can get actual measurements on the performance though. Maybe it's not as bad as I think.
-
May 24th, 2023, 15:30 #80
- Join Date
- Mar 2023
- Location
- Nope
- Posts
- 35
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks