hey, i’m working on a small mobile game and i’d like to have a script that automatically resizes my screen on the aspect ratio in order to have similar looks on different mobile phone versions.
for example the x size should be fixed at 320…
what the script should do is:
- get the Y size
- get the X size
- divide the Y by X
- multiply the result by 320.
usually i’m working with playmaker, my coding skills are limited… but in couldn’t get it to work on iphone, at least the part of getting the screen size.