Skip to content

Added support for speed animation + fix destination range speed - #129

Merged
mclemente merged 5 commits into
mclemente:masterfrom
p4vl0-dev:master
Oct 10, 2026
Merged

mclemente merged 5 commits into
mclemente:masterfrom
p4vl0-dev:master

Conversation

@p4vl0-dev

@p4vl0-dev p4vl0-dev commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

added new logic to support new v13-v14 flip speed

fixed #121

added new logic to support new v13-v14 flip speed
@p4vl0-dev p4vl0-dev changed the title Update logic.js Added support for speed animation + fix destination range speed Aug 23, 2026
@p4vl0-dev

Copy link
Copy Markdown
Contributor Author

Bro, you forgot to add new changes. Much time has pass, and i'm still waiting accepting this PR

@p4vl0-dev

Copy link
Copy Markdown
Contributor Author

because without this changes - it will not work

@mclemente

Copy link
Copy Markdown
Owner

Oof, sorry!

Are you testing on V13 only? I don't have a V13 server to test anymore for some time now.

On V14 the rotation/mirroring happens separately from the movement already, which makes these changes redundant, besides the animation skip from teleports. Or am I missing something here?

@p4vl0-dev

Copy link
Copy Markdown
Contributor Author

Yes, you do.
At first, main change was in mirroring speed animation, which was dependent from distance (close - fast, far - slow). This change was added by changing speed animation with range. At second - have you tested your module on v14? because it's same as v13, as i know (i've tested my changes on both). Did you really feel good from this slooooooooooooooooooooow animation, when you rotating to close cell? Because it's annoying...

@p4vl0-dev

Copy link
Copy Markdown
Contributor Author

Third: changes linked to movement mode, it's my addition to make flip accurated to speed. Because from v13, foundry using movement type modes, and some of them changing speed down to 0.5 from base (like with teleport especially). It's needed too, because it makes animation speed better and more feelable

@p4vl0-dev

p4vl0-dev commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

This is showcase, how it looks like, after my changes. It was planned to make same feelings, like from v12

2026-10-10.06-29-16.mp4

@mclemente

Copy link
Copy Markdown
Owner

Ok, I'm real dumb lol
Also sorry with this commit mess

I've refactored the code to merge getFlipDuration with the hook, plus added a setting just in case people dislike it.

@mclemente
mclemente merged commit b217269 into mclemente:master Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Rotate speed is slow in FoundryVTT v14

2 participants