Skip to content

Change score/hashtag text nodes to use CCLabelBMFont #42

Description

@danielgwood

Currently the score indicator and hashtag indicator at the top of the game scene use the CCLabelTTF class. This is not optimal, because each time setText() is called, a new texture is created and loaded, so there will be a significant performance impact once those labels are updating regularly.

CCLabelBMFont is apparently much more optimal for this, as it relies on a bitmapped font atlas - thus all the textures are created ahead of time.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions