Closed jonit-dev closed 1 year ago
Is the issue, that the character is rendered with an offset? Or in other words: is only the pixel position wrong or also the tile position? And is the pixel position wrong by a constant value or does it change over time?
My first shot would be that there is something wrong with the offset.
If that is true, you could as a workaround (and alternative to falling back to an old version), play around with the custom character offset values.
It's weird, because it's only a character related bug. And I didn't specify an offset anywhere. Do the grid engine automatically specify one?
My items are aligning correctly, so I assume the tiles are being rendered fine
There is indeed a default offset given by GridEngine. However, it should not be different in the new version, so it seems to be a bug. I will have a closer look at this.
Thanks for pointing it out!
Cool, thanks for being proactive.
I just patched a bug related to the offset in v2.19.1. Can you check, if that solves your problem?
@Annoraaq it seems to have solved. Thank you!
Hey folks!
I'm creating a MMORPG here and this lib is one of my critical libs. My character suddenly stopped to snap to the grid after I was updating my dependencies about 2 days ago. It took me almost 8 hours to realize that this was because I had a:
On my package.json, so yarn was automatically updating it to the latest version (2.19.0)
Once I figured out the problem, I noticed that it started from 2.17.0 above.
Here's my implementation code:
My fix was rolling back to the 2.16.0 version.