I am trying to figure out how to use a RichElementCustomNode to display an animation in a Sprite Sheet (.plist file) while using ui::RichText::createWithXML()
There are two parts to this:
- specify some custom tag in the XML that gets parsed by the OpenURLHandler callback so that I can place my animations were they need to be in the Rich text.
- load and create the specified animation as a RichElementCustomNode.
I’m pretty sure I have seen an example of this somewhere, but cannot seem to find it on the Cocos2dx website, or in the forums. Can someone please point me in the right direction?