Jump to content

aspect ration is killing me.


bandi94

Recommended Posts

Posted

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 :

n-560x95_FFFFFF_FFFFFF_0283C4_000000.png

Posted

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 :

n-560x95_FFFFFF_FFFFFF_0283C4_000000.png

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...