iOS retina questions.

Monkey Forums/Monkey Programming/iOS retina questions.

Gianmichele(Posted 2014) [#1]
Hi all,

Is there any documentation for the IOS retina enabled option? From what I understand it tries to use @2x assets when available. What about @4x for the newest ipads and iphones?

Also I don't know if Mark thought about it but it would be great to extend the functionality to all of the platforms. I think this is a good way to handle multiple resolutions on multiple targets:

https://github.com/MattRix/Futile/wiki/In-depth-explanation-of-ResolutionLevels

I was planning to do something like this in my own framework, but obviously these things is always better to have them in the core. What do you think Mark?

Thanks,
Gian


Xaron(Posted 2014) [#2]
Hmm... I always use one resoution (retina actually) and scale it down to non retina devices. That @2 asset stuff is ios only, just don't care about that. You can easily get the device resolution with DeviceWidth() and DeviceHeight() and load the right image set. As I said, I just load one and scale it.