#Hey, can anyone help me out?
1 messages · Page 1 of 1 (latest)
i experienced this issue myself recently with a custom HUD.
not sure if its the correct way to resolve but i ended up using @media i believe to extract the screen width then just had different offsets applied based on screen size.
tried to work out a formula to have it dynamic but that didnt work all too well.
so i just have like EG
offset1080 : 10px
offset2160 : 15px
offset3440 : 25px
realistically the likelyhood of people playing on monitors smaller or larger than that are slim as gta doesnt natively support aspect ratio higher that 21:9
if it was inbetween IE 1280 or something strange i just take lower as it will be close enough.
like i say, not sure if this is correct, or simplest, but it worked for me 🤷♂️
(edit: the thing i was trying to fix placement on was the health bar relative to the minimap, so thats why a dynamic scalar didnt work to well as the way gta moves it map is really weird)
just make your things responsive
My guy is hardcoding resolution changes
😭
Instead of using pixels use vw and vh. This will scale with resolution
@inner bay
maybe read the context homie