ID:2394900
 
Resolved
Parallel animations broke under some circumstances, especially when animating pixel offsets.
BYOND Version:512.1447
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 68.0.3440.106
Applies to:Dream Seeker
Status: Resolved (512.1448)

This issue has been resolved.
Descriptive Problem Summary:

Animation 1:

animate(src,alpha=0,time=0)
animate(time=delay)
animate(alpha=255,time=0)
animate(time=duration*0.8)
animate(alpha=0,time=duration*0.2)


Animation 2:

animate(src,time=delay)
animate(pixel_w=pixel_w+rand(-TILE_WIDTH,TILE_WIDTH),pixel_z=pixel_z+TILE_HEIGHT*3,time=duration)


Parallel Animation:

animate(src,alpha=0,time=0)
animate(time=delay)
animate(alpha=255,time=0)
animate(time=duration*0.8)
animate(alpha=0,time=duration*0.2)

animate(src,time=delay,flags=ANIMATION_PARALLEL)
animate(pixel_w=pixel_w+rand(-TILE_WIDTH,TILE_WIDTH),pixel_z=pixel_z+TILE_HEIGHT*3,time=duration)


Animation 1 results in the object being transparent, then suddenly appearing after the delay period, then after 80% of the duration has elapsed, fading out again over the remainder of the duration.

Animation 2 results in the object floating upward by three tiles over the duration and to the left/right by a random amount.


Animation 3 should result in it doing both of these things at the same time. Instead, the object appears 3 tiles beneath where it should be then moves upward, fading in/out correctly.


http://files.byondhome.com/Ter13/paralleltest_src.zip

Test project shows what's going on. Just click somewhere.
Confirmed with the demo. I'll see what's happening here. Probably it's a result of the way positioning changes are handled specifically.
Lummox JR resolved issue with message:
Parallel animations broke under some circumstances, especially when animating pixel offsets.