Forum Libraries, Components, and Plugins

Slow loading on Android when using .xnb fonts

We have a game which displays player rankings on the main screen. When we use XNB font in CCLabels it slows down the initial load of the game for about 2-3 seconds on Android (displaying of the labels is done in the layer constructor so we only see a black screen).

On iOS everything is working ok. If we change the CCLabel to use a SystemFont then it works fine on both systems.

Has anybody had this sort of problem?

Best Answer

Answers

  • per0per0 HRMember

    I forgot to mention, bitmap fonts also work fast (but don't look good) and once the app loads every other creation/showing of the layer works fast.

Sign In or Register to comment.