Numbered Steps to Reproduce Problem:
client/proc/shake_screen(c)
pixel_x -= c
pixel_y -= c
animate(src,pixel_x=pixel_x+c,pixel_y=pixel_y+c,time=6,easing=BOUNCE_EASING)
Enter this code, and run it.
Expected Results: The expected result is to have a screen shaking effect, where the pixel_x/y offsets appear to move the screen back and for by "c".
Actual Results: It will change the pixel_y and pixel_y by "c", but it will not change back via the animate() proc, using this example.
Does the problem occur: Every time.
When does the problem NOT occur? It doesn't.
Workarounds: This snippet works when one of the vars are changed. Example:
client/proc/shake_screen(c)
pixel_x -= c
// pixel_y -= c
animate(src,pixel_x=pixel_x+c,time=6,easing=BOUNCE_EASING) //pixel_y=pixel_y+c