animate(src, step_x = step_x + 16, time = 10, loop = 1)
I also can't seem to get it to work on images either (I get a "list out of bounds" error). Here is another example:
animate(i, i.pixel_x = i.pixel_x + 16, time = 10, loop = 1)
Neither should run correctly, at least they don't in my project. Happens in 504 as well as 503.
Numbered Steps to Reproduce Problem: Try using animate on an image, or on a movable atom (make sure step_x is modified in animate).
Expected Results: For animate() to run without runtime error.
Actual Results: I get a runtime error and don't see the animation.
Does the problem occur:
Every time? Or how often? Every time.
When does the problem NOT occur? Never.
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: There are none.
2. You're using i.pixel_x as the argument where you should just be using pixel_x.