I’m making a game based on the iPhoneX resolution. I created a shape that I need to fit 8 copies of it on the screen. I did this calculation in order to get the right width of the shape:
2436(iPhoneX landscape width) / 8 = 305
So, I made the width of my shape 305. And after putting it on the screen it looked like this:
I positioned it like this:
object.x = object.width
In my vector drawing app ( Affinity Designer ) it looks like this with the exact same dimensions:
Clearly, the image looks much bigger on the simulator screen and it won’t fit 8 of them together. I’m also 100% sure that I use pixel units in Affinity Designer. What is the problem here?