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.