I am back from the dead - the quarantine lured me back to Episode again, and this time I’m working with overlays! I’m currently working on a small title screen, where the title bounces around a little before it’s supposed to expand in its’ place and turn opaque. However, everything goes fine until it’s supposed to scale. It won’t scale in place and heads up to the upper right corner instead.
Here’s the code;
@transition fade out black 3
EXT. NIGHT SKY - NIGHT with ONE SIZE FITS ALL to 0.777 14 498 in zone 1 at layer 1 @transition fade in black 3 @overlay ONE SIZE FITS ALL shifts to 12 293 in zone 1 in .7 @overlay ONE SIZE FITS ALL shifts to 33 325 in zone 1 in .3 @overlay ONE SIZE FITS ALL shifts to 12 293 in zone 1 in .4 @overlay ONE SIZE FITS ALL shifts to -7 331 in zone 1 in .3 @overlay ONE SIZE FITS ALL shifts to 12 293 in zone 1 in .4 @pause for 2 @overlay ONE SIZE FITS ALL scales to 6.274 6.274 in 4 and overlay ONE SIZE FITS ALL opacity .33 in 4 and overlay ONE SIZE FITS ALL shifts to 12 293 @pause for 7
As far as making overlays bouncy, there are specific modifiers that can be attached to a movement, called easing functions. This won’t make your code move from left to right, but you could try out:
@overlay ONE SIZE FITS ALL shifts to 12 293 in 2 using easebounceout
There are some others listed in the overlays section of the guide, if you’re interested in those.
As far as the issue with the zoom, that’s unfortunately how episode’s zoom settings work. Since the point being defined for an overlay seems to be at that part of the overlay, you will have to move the overlay with a simultaneous command for the overlay to move to the new spot it will be to make it look as if the overlay has maintained the same center point.