MAB Posted August 4, 2015 Posted August 4, 2015 how to move dx rectangles and texts with easing ?! You can find me here.
GTX Posted August 4, 2015 Posted August 4, 2015 You can't. Apply them a value from interpolateBetween Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
MAB Posted August 4, 2015 Author Posted August 4, 2015 mm.. couldn't understand things in that example + it is a marker... do u have time for example ? You can find me here.
GTX Posted August 4, 2015 Posted August 4, 2015 local x, y = guiGetScreenSize() local startTime = getTickCount() function renderSplash() local progress = (getTickCount()-startTime)/3000 local animationTime = interpolateBetween(0, 0, 0, 1, 0, 0, progress, "InOutQuad") dxDrawText("Hello world!", 0, 0, x-600+animationTime*300, y-120, tocolor(255, 255, 255, animationTime*255), 4, "default", "center", "center", false, false, false, true, true) end addEventHandler("onClientRender", root, renderSplash) This is an example from my script. Although I could use getEasingValue here since it goes from 0 to 1. Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
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