Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17091

Multiresolution for native devices

$
0
0

@REESIXTEEN wrote:

Hello
I am developing a game in cocos creator for android an ios and I want that it looks good in all the differents screen sizes of the phones.
With Fit Heigth and Fit Width you always lost a part of the screen, and I have tried the EXACT_FIT resolution, but it doesn’t do anything:
cc.view.setResolutionPolicy(cc.ResolutionPolicy.EXACT_FIT); or cc.view.setDesignResolutionSize(1440, 720, cc.ResolutionPolicy.EXACT_FIT);
(none do anything).
The documentation isn’t very helpful in this case, anyone knows how to do it properly?
Thanks :grinning:

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17091


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>