New answers tagged

0

Rather than using entire sprite sheet animation, I would recommend a 2D skeletal approach. Tools like Spine can help you here and are supported by cocos2d-x framework. The class in question is the SkeletonAnimation object. Here is a sample code on how to initialize the same source- cpp tests from cocos2d-x //initilize the object with animation atlas ... ...


0

i've found my way... we can load images and show different text formats by UIRichText... also you can push unicode texts... example code is: auto text = cocos2d::ui::RichText::create(); const auto font = std::string("fonts/FinalFonts/Berlin.ttf"); text->pushBackElement(ui::RichElementCustomNode::create(1995, Color3B(255, 255, 255), 255, ...



Top 50 recent answers are included