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
NARR
Pause!!!
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.
you have kept the overlay anchor poit in original position 00 which is the lower left corner therefore it does this seemigly shift while scaling
so you can eather change the anchor point to be in the middle of the overlay or you will have to shift it together with the scale to the right position
changing the anchor point would mess up your current spots of the overlay and you would have to redo it more.
So in your case I would probably go to simply move and scale it in the same time
fine the finals spot where you want the overlay to be after it scales to the max
and move it to that position in the same time as you scale it using & so it will happen together
&overlay ONE SIZE FITS ALL shifts to # # in zone 1 in 0.4
&overlay ONE SIZE FITS ALL opacity 0.33 in 0.4 @overlay ONE SIZE FITS ALL scales to 6.274 6.274 in 0.4
yes anchor point is basicly just a point on overlay…
script uses this point as a reference point so whan you set the coordinates “on screen” there is the spot where the script will place the anchor point of the overlay too.
And the anchor point is also centre of the rotation (in case you would like to rotate the overlay)
Here I was trying to explain in picture the anchor point: