After the latest Cocos changes where dynamic cast were introduced, I am having the following issue:
class TouchSprite : public CCSprite, public CCTargetedTouchDelegate
and in the onEnter function I am doing:
After tracing, I found that bool CCTouchHandler::initWithDelegate fails in
because the dynamic cast fails and returns NULL.
The code works fine when compiled using Xcode in iOS, but fails in Android. Any ideas?
\* Update: The touchesTest demo (which my code snippet is based on), crashes the same way in Android (runs fine in iPhone), I hope
this makes it easier for the team to find the issue.