#Paper Posted September 6, 2011 Posted September 6, 2011 So, i have a sidebar (left) made whit dxDrawRectangle function, for fade it in from out of screen into screen, i made this function: fadeInTimer = setTimer(function () if barX ~= -180 then barX = barX - 10 end end, 50, 18) But it's not so smoothly, how can i make it so?
JR10 Posted September 6, 2011 Posted September 6, 2011 fadeInTimer = setTimer(function () if barX ~= -180 then barX = barX - 1 end end, 50, 180)
#Paper Posted September 6, 2011 Author Posted September 6, 2011 I tryed to whit this, but it is too slow Is there another way to make it fast and smoothly?
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