Cocos2DXNA/cocos2d-xna — pull request #427 by doubleday (2014-06-16 15:36:16+00:00)
Title: Cache failed assets by type to allow content loading fallback by type

Hi I created a little patch to allow content loading of native assets for CCLabelBMFont.

Problem is that the content loading fallback doesn't work in

public static CCBMFontConfiguration Create(string fntFile)
{
try
{
return CCContentManager.SharedContentManager.Load(fntFile);
}
catch (ContentLoadException)
{
var pRet = new CCBMFontConfiguration();
if (pRet.InitWithFNTFile(fntFile))
{
return pRet;
}
}
return null;
}

InitWithFNTFile(fntFile) tries loading the asset as string but its already marked as failed asset.

Dunno if thats the right way to do it.

I'm still a bit behind master because it currently doesn't build for ios. But I think the ContentManager should merge.