Instead of “panoff” why not allow specifying an initial position in addition to the offset that is applied each frame (moveX and moveY)? Wouldn’t that be more flexible? I guess it’d look like this:
startX = -16
startY = 0
moveX = 1
moveY = 0
Hmm, but then you’d need to specify an ending position too, or a number of frames to run.
Basically you want to specify start, end, step.
x = -16, 16, 1 # x ranges from -16 to 16 with a step of 1
y = 0, 0, 0 # y is fixed at 0
These could be separated into multiple fields if you don’t want the comma separated values.