Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17075

Creating labels with Label::createWithBMFont(). Font doesn't cache in update()

$
0
0

@enlofpoliteh121 wrote:

Hi Everyone,

I need to create new labels in scheduled methods like
RepeatForever(CallFucn::create(myMethod)) or in update().

gl calls is increasing increase when I create new labels into update() method with Label::createWithBMFont().

I think font cache cleans every time when update() finishes.

What should I do to avoid increasing gl calls?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17075

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>