Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Full screen on macOS — Gideros Forum

Full screen on macOS

totebototebo Member
edited February 2018 in Code snippets
If you're using "letterbox" scalemode (aren't we all?) and want application:setFullScreen() to completely fill the screen when exporting to macOS, this is how you do it:

1. Open "Properties..." then "Graphics" and set the "Scale Mode:" dropdown to "No Scale - Top left".
2. Add this code early on in the game:
 
application:setFullScreen( true )
application:setScaleMode( "letterbox" )

This will ensure the app calculates the letterbox correctly, using the full screen area.
My Gideros games: www.totebo.com
Tagged:
+1 -1 (+2 / -0 )Share on Facebook

Comments

Sign In or Register to comment.