xxYxx
#1
When I was building my game, it said that kResolution was deprecated. I’m wondering if there is an undeprecated version?
I did come across ResolutionPolicy but it said it didn’t work on Android. I want something that works on Android, Windows and iOS if possible.
Boby
#2
You can watch these tutorials. I think this is the best way to handle multiple resolutions on different platforms.
xxYxx
#3
Those videos have been really helpful. I noticed they are using ResolutionPolicy but is that the updated version of kResolution?
Boby
#4
I couldn’t tell you that, I don’t know what kResolution is, I don’t really have experience with v2.x
xxYxx
#5
I followed this: http://www.cocos2d-x.org/wiki/Multi_resolution_support except it is in outdated docs. It uses kResolution but I guess it is outdated just like the docs.
Boby
#6
Ah I see. It’s the same principle, just that kResolutionNoBorder
is now called ResolutionPolicy::NO_BORDER
etc. Mostly naming changes.
That names were used in cocos2d-x Version 2