Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: arthurvalenca on January 05, 2020, 10:06:07 AM

Title: [HELP] Snaps Skew
Post by: arthurvalenca on January 05, 2020, 10:06:07 AM
Hi all friends, I am developing a theme in a cabinet where the lower parts of the video are bigger than the top, I am trying to use the code "Skew" to adjust the image but when I use it in the negative and positive sense I do not have the expected result, as shown in the image below, could someone help me with a solution?

Code: [Select]
##Cab Snap
local snap = fe.add_artwork( "snap", flx*0.549, fly*0.2425, flw*0.353, flh*0.420 );
snap.skew_x = -29;
snap.skew_x = 29;

Title: Re: [HELP] Snaps Skew
Post by: progets on January 05, 2020, 12:21:23 PM
I think you want pinch.

Code: [Select]
##Cab Snap
local snap = fe.add_artwork( "snap", flx*0.549, fly*0.2425, flw*0.353, flh*0.420 );
snap.pinch_x = -29;
Title: Re: [HELP] Snaps Skew
Post by: arthurvalenca on January 05, 2020, 12:47:50 PM
I think you want pinch.

Code: [Select]
##Cab Snap
local snap = fe.add_artwork( "snap", flx*0.549, fly*0.2425, flw*0.353, flh*0.420 );
snap.pinch_x = -29;

Big thanks bro!