Retina displays support

Monkey Targets Forums/iOS/Retina displays support

devolonter(Posted 2012) [#1]
Hi,

How to support the Retina displays in Monkey? After looking through the forum I get the following:
1. I should install IOS_RETINA_ENABLED=true in CONFIG.txt
2. I should have @2x images.

But I do not understand whether I should recalculate the distance in the code? For example, in my game, the distance between two objects 100px, do I have to multiply this value by 2 for Retina display or this will happen automatically?


arawkins(Posted 2012) [#2]
I think you have to do it manually. I've been multiplying my velocities in my game by 2 for iPod retina, and 4 for iPad retina, since my player is travelling across twice, or four times, as many pixels in the same screen space.