Descriptive Problem Summary:
If you are moving while using animate() on the client.pixel_y or pixel_x variables, turfs and objects on the screen will disappear.
Here is an example: https://gyazo.com/c1451fd31c862e353d97c7c85fb01c2b
In the example above, the client's pixel_y is displaced by 100 when the .gif begins, and while the player starts moving it is animated back to 0. If you look at the top of the screen you will notice objects and turfs disappearing.
Workarounds:
None, yet.
ID:2220070
![]() Mar 2 2017, 10:12 pm
|
|||||||||||||
| |||||||||||||
No sorry, the version number I am currently using is 511.1374. I tried creating a test case but apparently it may need a large amount of objects on the map for it to work.
|
I don't think it's about a large number of objects; I think it's about the amount of swing involved and the size of the icons.
|
I will try to replicate it but most of, if not all of the icons that you see disappearing on the .gif(like the floor and bridge tiles) aren't much bigger than 32x32.
|
After being away for awhile downloading the beta has indeed killed the client's eye pixel locations as it seems to move and then revert back to the center of the mob.
The code below is what I use for paradoxus for the sights for the weapons and to set the direction the mob's pointing towards when the player moves/attacks. The size of the icons being 8x8 proc |
I sent you a test case.
The client's eye animates in mob.dm using the proc FaceDirection at the very bottom. |
Kozuma3 wrote:
I sent you a test case. You didn't send me a test case; you sent me a full game that requires multiple players to run, and no instructions as to how to trigger the proc responsible even if I could get to the point where I could use it. I can't use this code. I need a test case: something I can actually load up and immediately start testing to see the problem in action, with an easy way to trigger said problem. |
I suspect the issue here is entirely client-side, involving the calculations that are done to see if a turf is visible to the player. It might be difficult to puzzle out, although a solid test case would be a big help.