I am working on making better mobile support for my game, and I have to make context action buttons. I currently use scaling, but that on big displays causes issues in regards to positioning.
On smaller displays, it is closer to the Jump button than on bigger mobile displays.
There is nothing documented on getting the resolution of the device, so is it possible to scale for all devices without resolution? There is no other way I can think of that would allow me to properly adjust for all displays without getting the resolution.
