On Android this code:
int nLevel = 7;
string bgFilename = CCString::createWithFormat("location_background_%d.png", nLevel)->getCString();
Returns this value:
location_background7.png
why?
On Android this code:
int nLevel = 7;
string bgFilename = CCString::createWithFormat("location_background_%d.png", nLevel)->getCString();
Returns this value:
location_background7.png
why?