Multi resources for different DPI

Multi resources for different DPI
0.0 0


Now we can using multi resources for different DPI by using setSearchPaths and setSearchResolutionsOrder function of cc.FileUtils. But what about DPI independent resources? Currently it is not possible to use same directory for such resource files, because getPathForFilename function of cc.FileUtils not caring whether the specified file exist in the specified directory and always return none null string. Therefore fullPathForFilename always using only first items fromsearchPathArray and _searchResolutionsOrderArray. It is a bug or a feature?


11 months ago ??

It is exits now .

How to solve it?