Open vlidholt opened 11 years ago
This issue is related to https://github.com/cocos2d/cocos2d-js/issues/61
Will be implemented in the next release
More info:
The configuration file could be used not only for the player, but also for other components in cocos2d-x. It could be used to enable/disable features as well. Currently it is using a compile-time macro, but it could be useful to have certain features enabled/disabled in runtime.
cocos2d already has a CCConfiguration
object, but doesn't support reading info from a file.
So, instead of having 2 config objects, CCConfiguration
should support parsing json files.
Format details are being discussed in issue #61
Support for CConfiguration
is finished. It is working OK.
cocos2d-frame is already using for some stuff. The scaling needs to be part of the config.plist file
The plist-file could be used to configure resource paths, resolutions, etc at startup time.