Zed159 Posted September 9, 2019 Posted September 9, 2019 السلام عليكم ممكن مثال عن كيف أسوي dxDrawRectangle + dxDrawText Alpha تروح من 200 إلى 50 بشكل مستمر ما توقف Fade effect* تروح من 200 إلى 50 بعدين من 50 إلى 200 و شكرا !
Jw8. Posted September 11, 2019 Posted September 11, 2019 alpha = 50 -- if alpha > 200 then alpha = 50 end alpha = alpha + 1 dxDrawRectangle ( x, y, w, h, tocolor ( 0, 0, 0, alpha ) ) -- example Discord : ♔ - DmaR, < 3#3998
nxFairlywell Posted September 11, 2019 Posted September 11, 2019 راجع الموضوع هذا @DmAr511 طلبه مختلف Discord ID : nxFairlywell#6895
Master_MTA Posted September 12, 2019 Posted September 12, 2019 (edited) عندك طريقتين interpolateBetween+getTickCount الطريقه الثانيه alpha=200 flipped=true addEventHandler("onClientRender",root,function() alpha=(flipped==true and (alpha-1))or alpha+1 dxDrawRectangle ( 200, 200, 200, 200, tocolor ( 0, 0, 0, alpha ) ) flipped=(alpha>=200 and true)or(alpha<=50 and false) or flipped end) غالبا كذا لو ما اشتغل قولي لان لي فتره طويله عن اللعبه Edited September 12, 2019 by Master_MTA رقم خطا Skype : 01100001 01101100 01101001 01011111 01101101 01110100 00110001 00111001 00111001 00111001 every thing is gonna be alright every thing is gonna be okay it's gonna be a good good life that's what my therapist say
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