I’m testing CocoStudio for UI and menus, and although it seems very promising, in it’s current status is barely usable for big or relatively complex scenes.
I came across a serious issue trying this code:
ActionObject* actionAnim = ActionManager::shareManager()->getActionByName("test.json", "anim1");
CCLOG("is playing %d", actionAnim->isPlaying());
Always prints false. I’ve read the ActionObject code, and the
m_bPlaying (which is what
isPlaying() returns) variable is initialized with false and after that nothings changes its value
Having a way to know when an action finished will also be super usefull! An ‘onCompletedCallback’ or something like that…