CCMotionStreak * streak = CCMotionStreak::create(2, 3, 32, ccGREEN, s_streak);
void MotionStreakTest1::ccTouchesMoved( CCSet *pTouches, CCEvent *pEvent )
{
CCSetIterator iter = pTouches->begin();
streak->setPosition(((CCTouch*)(*iter))->getLocation());
}
拖动阴影
最新推荐文章于 2024-01-05 10:45:52 发布