Author Topic: [HELP] Snaps Skew  (Read 1819 times)

arthurvalenca

  • Sr. Member
  • ****
  • Posts: 125
    • View Profile
[HELP] Snaps Skew
« 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;


progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: [HELP] Snaps Skew
« Reply #1 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;

arthurvalenca

  • Sr. Member
  • ****
  • Posts: 125
    • View Profile
Re: [HELP] Snaps Skew
« Reply #2 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!