Different devices resolution - how its done?
Posted: Thu Jun 25, 2015 4:17 pm
Hello,
I am just wondering how would this be handled.
My stack size is 667 width * 375 height
starting point of movable object (Object1) is topleft [0,0]
Then I have button where you click and Starting point will be moved to the right by 100
That means that starting point now is [100,0] (x,y)
Then I will have another object (Object2) with coordinates [100,0] and calculate intersection
because In this case Object1 and Object2 will intersect I can answer true.
Now image application works great on iphone but 1 guy has downloaded it for iPad retina. Same code etc.
Question is will 2 objects intersect on iPad retina if Object1 moved from [0,0] to the right by 100?
I am just wondering how would this be handled.
My stack size is 667 width * 375 height
starting point of movable object (Object1) is topleft [0,0]
Then I have button where you click and Starting point will be moved to the right by 100
That means that starting point now is [100,0] (x,y)
Then I will have another object (Object2) with coordinates [100,0] and calculate intersection
because In this case Object1 and Object2 will intersect I can answer true.
Now image application works great on iphone but 1 guy has downloaded it for iPad retina. Same code etc.
Question is will 2 objects intersect on iPad retina if Object1 moved from [0,0] to the right by 100?