ATL
Posted: Mon Mar 29, 2010 7:30 pm
I don't know how feasible this is, I've not looked into how ATL is implemented, but I've been trying to use it a lot recently, and mostly finding that it's no good for what I want... because it seems an ATL transform overrides every single positional property of the thing it's applied to.
For example I was trying to get a [small] thing that I had displayed at an arbitrary Position() on-screen to bob slightly; I tried something along the lines of:
and it bobbed fine... except it also moved immediately to the top-left corner of the screen along with everything else I've tried to apply ATL transforms without specifying both xalign and yalign explicitly. Since I wanted a generic transform that could bob a thing wherever it was on the screen, ATL didn't seem to be able to do what I wanted at all. Since it went into Ren'Py I've had many occasions to think it was what I wanted, but I'm only really using it for trivial character-sprite-positioning. Is it potentially possible to have something like ATL that doesn't change the values of any properties it doesn't explicitly set, so it's actually more generically useful? As it is, it seems it's only really useful for one-off transforms where you have a thing at a very specific point on the screen and you know exactly in screen coords where you want to move it to...
For example I was trying to get a [small] thing that I had displayed at an arbitrary Position() on-screen to bob slightly; I tried something along the lines of:
Code: Select all
transform bob:
xanchor 0.0
ease 0.5 xanchor 1.0
ease 0.5 xanchor 0.0