_streak = MotionStreak::create(0.4, 1, 15, Color3B(255,255,255), "streak.png"); _streak->setBlendFunc(BlendFunc::ADDITIVE); _player->setTrail(_streak); addChild(_streak,3);
_streak = MotionStreak::create(0.4, 1, 15, Color3B(255,255,255), "streak.png"); _streak->setBlendFunc(BlendFunc::ADDITIVE); _player->setTrail(_streak); addChild(_streak,3);