OS X and retina screen?

Monkey Forums/Monkey Programming/OS X and retina screen?

Lillpeter(Posted 2016) [#1]
Hi guys. I'm trying to figure out how to make my apps look pretty on my MacBook 15-inch Retina screen, and I'm confused! I just realised that the #IOS_RETINA_ENABLED=True option (which is default anyway) in the CONFIG.MONKEY only works with iOS, and not OS X. So what else can I do to make my graphics look crisp?

I've tried adding the @2x suffix on a higher resolution image file but the LoadImage command still only return the specified (lowres) version. I've also messed around with the Matrix and tried to manually scale down hires images as I render the app but they still don't look any sharper.

Any ideas on what I've missed?


Leo Santos(Posted 2016) [#2]
I'd like to hear about this as well. It looks like Mojo's canvas uses the OS "virtual" resolution only, not the true one.
Cheers.


Danilo(Posted 2016) [#3]
See High Resolution Explained: Features and Benefits

You need to add the following key to your Info.plist:
<key>NSHighResolutionCapable</key>
<true/>

After changing the plist (because it's cached): touch Your.app