Page 1 of 1

List of events for images

Posted: Thu Jul 25, 2019 8:21 pm
by trajano
Hi I am looking for a list of events that may be passed to image transformations.

Specifically I am looking to why my "on show" transform is not being executed on the say window

Code: Select all

transform saybox_namebox_transform(xoffset, yoffset, degs, yoffset_transform = 40, easein = 0.15):
    rotate_pad True
    xoffset pmui.scale_p(xoffset)
    on show:
        rotate 0
        yoffset pmui.scale_p(yoffset)
        easein easein rotate degs yoffset pmui.scale_p(yoffset-yoffset_transform)