[Bug] On statements not working for non-screen related transforms
Posted: Wed Jun 30, 2021 2:42 pm
I've already made a github post about this here but wanted to put this here too so that more people see it.
As of the latest update, when I try to show any non-screen related objects or items — like images for example — with a transform that contains on statements such as "on show" or "on hide" it doesn't run those parts of the transform.
For example, I have this transform in my game that calls a small "mini CG" image to the center of the screen:
Before this latest update it worked fine; used the on show portion when I showed it, then followed the on hide portion when I hid it. But now it's stuck at the part before the on blocks (I checked this by removing the alpha and it does indeed appear at the x and y aligns I've marked).
This works fine for any screens that use on show/hide transforms but only images are facing this issue right now.
As of the latest update, when I try to show any non-screen related objects or items — like images for example — with a transform that contains on statements such as "on show" or "on hide" it doesn't run those parts of the transform.
For example, I have this transform in my game that calls a small "mini CG" image to the center of the screen:
Code: Select all
transform minipos:
xalign 0.5
yalign 0.4
alpha 0.0
yoffset 20
on show:
linear 0.3 alpha 1.0 yoffset 0
on hide:
linear 0.3 alpha 0.0 yoffset 20This works fine for any screens that use on show/hide transforms but only images are facing this issue right now.