Okay, so in a nutshell: I have a screen with an imagebutton that changes a variable. When that variable changes, some images in the screen are replaced by others with the same size and in the same position. So far, so good: the player clicks a button and some of the images in the screen may change due to a variable changing its value.
What I want to do is to make a 'pulse' effect that makes the images that are replaced for others to zoom in and out in a second, IF AND ONLY IF they're actually replaced, since the screen has more buttons that may change other variables or may do nothing. I have this transform with no event handler at all. I tried some event handlers with no success:
Code: Select all
transform res(rxs, rys, rxp, ryp):
size (rxs, rys)
pos (rxp, ryp)
easeout 0.1 pos (rxp-8, ryp-8) size (rxs+12, rys+12)
easein 0.05 pos (rxp, ryp) size (rxs, rys)So any ideas? I want only the images that are replaced due to a variable change to zoom in and out when the player clicks a button. I'd post an example of one of the buttons and one of the images, but I thought this would be simpler.
