bandi94 Posted July 27, 2013 Posted July 27, 2013 So the problem is the next. I used the simpel relative calc mode. If on 800x600 is 200 px then , 200/800 = 0.25*ScreenW on every resolution , this is all good when it come's on x,y. When trying to use it on w,h diffrent story, if i calc it on 800*600 is a perfect circle. When i change it to 1024x.... bang the perfect circle become's an oval when it's rotated. So i think this is bk of the aspect ration , if on desktop i have 1336x768 and ingame using 1024x... there will be black side bar's bk of the aspect ration. And from there come's the whole problem. Soo i am trying to find some math solution for this but without any good find. If somebody know's how to solve this problem could tell me ??? THX Ingame Name : |DGT|Puma DGT Clan Server 24/7 Owner/Scripter MultiGameMode in progress :
denny199 Posted July 27, 2013 Posted July 27, 2013 https://wiki.multitheftauto.com/wiki/DxDrawLine See second example. BTW, did you calculated the w,h too? or did you just let it stayed it like [x*0.25,y*0.25,200,200] Can you show me your draw technique so I can test it for myself? Sometimes I dream about cheese
bandi94 Posted July 27, 2013 Author Posted July 27, 2013 yes i made it for w,h to . (w*0.581,h*0.491,w*0.086,h*0.049) Ingame Name : |DGT|Puma DGT Clan Server 24/7 Owner/Scripter MultiGameMode in progress :
XFawkes Posted July 27, 2013 Posted July 27, 2013 https://wiki.multitheftauto.com/wiki/Dx ... entEnabled European Pro Gamers Member LUA Programmer
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