TextAtlas* textAtlas = TextAtlas::create("1234567890111", "labelatlas.png", 17, 22, "0"); textAtlas->setPosition(Vec2(size.width / 2,size.height /2)); this->addChild(textAtlas);