init: image test = Image('lucy_orb.png') init python: # function that moves a transform to the right at a rate of 100 pixels per second since shown def pan(transform, st, at): transform.xpos = int(round(100 * st)) return 0 a = Transform(xpos=100, ypos=100, function=pan) b = Transform(xpos=100, ypos=200, function=pan) label start: "First is the displayable shown at point A, using the 'pan' transform function:" $ renpy.show("test", at_list=[a]) $ renpy.pause(2) "As you can see, the Displayable moves sideways from the starting point at a rate of 100 pixels per second." $ renpy.hide("test") "Next is the displayable shown at point B, using the 'pan' transform function:" $ renpy.show("test", at_list=[b]) $ renpy.pause(2) "Again, the Displayable moves sideways." $ renpy.hide("test") "Lastly the displayable shown at point A, the 'move' transition applied, then shown at point B - with the 'pan' transform function applied at both start and end:" $ renpy.show("test", at_list=[a]) $ renpy.pause(0) $ renpy.transition(move) $ renpy.show("test", at_list=[b]) "As you can see, the transform function appears to be evaluated once, right at the beginning of the move transition, and then completely ignored throughout the transition, and even after the transition has ended." return