iiv03 Posted June 6, 2019 Share Posted June 6, 2019 (edited) بدي آفهم ليه ريزولوشن مايضبط علي كل شاشات؟ سويت relative مازبطت سويت function resX(value) return (value/1280) * x end function resY(value) return (value/720) * y end أو local rX,rY = guiGetScreenSize() local x = rX/1280 local y = rY/720 1920x1080 ماتزبط علي يعني بتكون مثال فوق ولا يمين شوي 1080pبس آلشكل ابغاه مثل ماتكون عندي مثل ماتكون عند صاحب شاشه Edited June 6, 2019 by liwahadri Link to comment
iiv03 Posted June 6, 2019 Author Share Posted June 6, 2019 (edited) اب Edited June 6, 2019 by liwahadri Link to comment
#BrosS Posted June 6, 2019 Share Posted June 6, 2019 %هي أكيد مارح تظبط بنسبة 100 1920x1080 لازم تسوي حسابات بنفسك تتحقق اذا الشاشة وتحط مقاييس ثانية مثلا if x = 1920 and y = 1080 then weigh = 520 Link to comment
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