ID:2550874
 
Resolved
Animation of pixel offsets, especially in the case of parallel animations, was broken in some cases.
BYOND Version:513.1513
Operating System:Windows 10 Pro 64-bit
Web Browser:Chrome 80.0.3987.132
Applies to:Dream Seeker
Status: Resolved (513.1518)

This issue has been resolved.
Descriptive Problem Summary:

When attempting to animate() the pixel_x or pixel_y (I assume pixel_w behaves the same, but I never use it) using the ANIMATION_PARALLEL flag due to another animation running you'll see unexpected results.

Numbered Steps to Reproduce Problem:

1) Use the code below.

Code Snippet (if applicable) to Reproduce Problem:
animate(src,alpha=0,time=5,loop=-1)
animate(alpha=255,time=5)
animate(src,pixel_y = (pixel_y+10),time=5,flags=ANIMATION_PARALLEL)


Expected Results:

The object to fade in/out smoothly while smoothly moving upwards 10 pixels.

Actual Results:

I don't even know how to explain where the offset ends up, but it ends up altering both pixel_x and pixel_y when it happens and it isn't always consistent as to where.

Does the problem occur:
Every time? Or how often? Every time.
In other games? Likely.
In other user accounts? Yes.
On other computers? Yes.

When does the problem NOT occur?

Either manually animate the fade effect in the icon, or manually shift the pixel offset in a loop. Neither are remotely as smooth as animate() would be.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

I think it happens in 512, but I was in a bit of a rush when it came time to test that, sorry!

Workarounds:

See above.
Can confirm.
Lummox JR resolved issue with message:
Animation of pixel offsets, especially in the case of parallel animations, was broken in some cases.