HUD elements placement regardless screen type

Blitz3D Forums/Blitz3D Programming/HUD elements placement regardless screen type

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Well for 16:9 the aspect ratio is 9/16 = .5625 whereas for 4:3 the aspect ratio is 3/4 = .75

So, assuming you want the hud items to be smaller on the smaller resolution, the scaling factor which you should use ( assuming x+y ) are scaled uniformly is .5625 / .75 = .75

Stevie