Transforms applied to displayable using At() get overwritten with sticky in-script ones
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ren'Py |
Fix Released
|
High
|
Tom Rothamel |
Bug Description
So I've been converting some function-controlled Motions to function-controlled Transforms.
Now first off, this is a bit of a nuisance since Motion controller functions took a duration, and Transform controller functions take a displayed time. You can hack this (by computing min((float(
But the real issue is that once you bind such a Transform to a displayable with At() and show it, the attached Transform will be completely ignored/overwritten if the tag already has an associated Transform (like a position, which is hard to avoid as of 6.10). The Transforms are composited correctly if you use a verbatim "show sprite at Transform(
Using "Transform(
Changed in renpy: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → 6.10.1 |
assignee: | nobody → renpytom (renpytom) |
Changed in renpy: | |
status: | Fix Committed → Fix Released |
The more I think about this (and faced with an actual use case), the more I think that Transform( function= myfunc) constructors should be allowed in ATL somehow anyway, so you can use them in animation. The At() thing should probably be fixed too though, the only alternative is to fix the aforementioned and retire At() comepletely.