PaiN^ Posted August 28, 2013 Posted August 28, 2013 This resource helps you to add cool effects to any GUI element using interpolateBetween function in a much easier way . ____________________________ 1. Export the function guiAddInterpolateEffect from the resource . 2. That's it . * Syntax : guiAddInterpolateEffect( element gui_element, int startX, int startY, int startW, int startH, int endX, int endY, int endW, int endH, int progress string positionEasingType, string sizeEasingType, bool showing ) * Parameters : - gui_element : The GUI element you wish to add effects on . - startX, startY, startW, startH : The starting coordinates and measurements of the GUI element . - endX, endY, endW, endH : The ending coordinates and measurements of the GUI element . - progress : The progress of the movment in seconds . - positionEasingType : The easing type that effects the position of the GUI element . - sizeEasingType : The easing type that effects the size of the GUI element . / To check easing types, Click Here - showing : Should the window disapper after the effect or not . ____________________________ You can download the resource from my community page, Here ____________________________ And That's it , Comment your opinions, ideas and reports here or at the community site . See ya
EstrategiaGTA Posted August 28, 2013 Posted August 28, 2013 Looks nice, but the time (progress) is in seconds or miliseconds?
Image Posted August 28, 2013 Posted August 28, 2013 "progress : The progress of the movment in seconds ."
Stanley Sathler Posted August 31, 2013 Posted August 31, 2013 Would be good a video showing the function.
zorrigas Posted September 1, 2013 Posted September 1, 2013 Would be good a video showing the function.
MTA Team qaisjp Posted September 19, 2013 MTA Team Posted September 19, 2013 isnt actually that bad good effort
Einheit-101 Posted February 8, 2014 Posted February 8, 2014 I just tried it and i love this resource after 5 minutes! Great work.
NeO_DUFFMAN Posted February 8, 2014 Posted February 8, 2014 Good job pain. A very useful resource indeed. But it would be great if you could probably add dx elements in your future update. I am currently using one but honestly my code looks quite messy though it works fine.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now