ID:2538638
 
Resolved
Multiple-stage animations could sometimes fail to act on later stages, showing the first stage only.
BYOND Version:513.1507
Operating System:Windows 10 Home 64-bit
Web Browser:Chrome 79.0.3945.117
Applies to:Dream Seeker
Status: Resolved (513.1508)

This issue has been resolved.
Descriptive Problem Summary:

If you run two animates side by side in the same object, the first one runs fine but the second one jumps when it is supposed to end. Before, it would not do this behavior and do both at once.

Numbered Steps to Reproduce Problem:
See code.

Code Snippet (if applicable) to Reproduce Problem:
/mob/verb/do_test()

var/pixel_x_offset = 0
var/pixel_y_offset = 0
var/punch_distance = 12

if(dir & NORTH)
pixel_y_offset += punch_distance

if(dir & SOUTH)
pixel_y_offset += -punch_distance

if(dir & EAST)
pixel_x_offset += punch_distance

if(dir & WEST)
pixel_x_offset += -punch_distance

var/matrix/attack_matrix = matrix()

attack_matrix.Translate(pixel_x_offset,pixel_y_offset)
animate(src, transform = attack_matrix, time = ATTACK_ANIMATION_LENGTH, flags = ANIMATION_LINEAR_TRANSFORM)
animate(transform = matrix(), time = ATTACK_ANIMATION_LENGTH*2, flags = ANIMATION_LINEAR_TRANSFORM)


Expected Results:
Both animate procs run with eachother smoothly.

Actual Results:
The first transform plays, while the other doesn't until the animation ends, in which case it jumps.

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

When does the problem NOT occur?
Previous Versions

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? 513.1506

Workarounds:
Use a previous version.
Lummox JR resolved issue with message:
Multiple-stage animations could sometimes fail to act on later stages, showing the first stage only.