PlayMaker Help & Tips > iOS Help
Touch GUI autoscale?
(1/1)
DeepShader:
Hi there,
is there a way to setup GUI-elements, which are on a fixed relative position and a relative size? In the Touch-GUI-Tutorial the elements are absolute and this is really bad, if you build a game for an iPhone and iPad - specially on the new iPad.
The elements has to be proportional to the screenresolution.
Is this possible?
DeepShader:
No one could help? o_O
FlapFail:
I don't know if this helps, but you could put all your GUI stuff in one parent game object with a script attached to it. This script calculates the scale of the parent so you can set the x and y values of your GUI components as if they were in pixels. The NGUI Plugin is working like this.
This is just a theoretical thought, I did not work this out any further.
Navigation
[0] Message Index
Go to full version