I have a number of values in my sketch that I would like to scale according to screen resolution.
For example: at a resolution of 1920x1080, the variable strength is equal to 20. When the resolution is at 960x540, I want that value to be equal to 5 and so on.
Many thanks
For example: at a resolution of 1920x1080, the variable strength is equal to 20. When the resolution is at 960x540, I want that value to be equal to 5 and so on.
Unfortunately maths has never been my strong point and I have no idea how to achieve this. Can someone throw some suggestions at me?
Many thanks
1