Hey,
I need help with resolution in my game. I’m creating game for iOS and before iPhone X was released everything was good. Now I have to filled all frame space.
I use on my project – portrait - resolution 320 x 480. My frame resolution is 360 x 693. I use on my project „Display properties” for iOS – Fit inside and adjust window size, so my game should be fitted to all Apple devices (iPhone X, iPhone , iPad).
1. How Can I identify the type of device ? I would like to events like -> If this device is iPhoneX (Condition -> Set object „Player” position on X or Y coordinate). Is it possible ?
2. Does anyone have an idea how Can I Set Camera on the centrer of the screen (x coordinate) and on the bottom (Y Coordinate) without using Center Display at …. ? (When I'm not using Center Display at.... then I can't see right part of the display.
3. How to properly arrange active objects depends on the type of device or display ? ( I use Set X Coordinate to X Right Frame / 2 but it is not working when my width resolution is 320 px. It is working only when width resolution is 360 px.
4. I prepared example with my problem. You have to change project resolution to 320 x 693 or 320 x 569 or 360 x 693 and then you’ll see what I mean. You have to click on the black Player object then green object sholud be set on the center of the screen. ->>>> Please login to see this link. <<<<-
5. Is it possible to determine the position of the camera without events ?
Please login to see this picture.
Please login to see this picture.
Please login to see this picture.