ID:2378329
 
Resolved
The drop shadow filter caused the image to shift when applying non-integer shadow offsets.
BYOND Version:512.1427
Operating System:Windows 10 Home 64-bit
Web Browser:Chrome 67.0.3396.87
Applies to:Dream Seeker
Status: Resolved (512.1428)

This issue has been resolved.
Descriptive Problem Summary:
When animating the x and y variables of a drop_shadow filter, the atom the filter is attached to jumps around.


Numbered Steps to Reproduce Problem:
1) Animate the x and/or y vars of a drop_shadow filter.
2) Watch the jumpiness.

Code Snippet (if applicable) to Reproduce Problem:
mob
verb
Filter_DropShadow_Animated()
Clear() // This just clears the mobs filters
var X=rand(-5,5), Y=rand(-5,5), C=rgb(rand(255),rand(255),rand(255),rand(155)+100)
filters += filter(type="drop_shadow", x=X, y=-Y, color=C)
animate(filters[1], x=-X, y=Y, time=10, loop=-1)
animate(x=-X, y=-Y, time=10)
animate(x=X, y=-Y, time=10)
animate(x=X, y=Y, time=10)



Expected Results:
The drop shadow to rotate around the mob while the mob stays still.

Actual Results:
The drop shadow rotates around the mob, which jumps around.

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

When does the problem NOT occur?

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.)

Workarounds:

Crap! I thought this had been definitively dealt with. Guesss I'd better have another look.
Lummox JR resolved issue with message:
The drop shadow filter caused the image to shift when applying non-integer shadow offsets.