Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CCTexture2D *mytexture=CCTextureCache::sharedTextureCache()->addImage("plane_path.png");
- CCMotionStreak *motion_plane =CCMotionStreak::create(5,1,20,ccc3(255,0,0),mytexture);
- motion_plane->setPosition(ccp(30,30));
- motion_plane->setZOrder(5);
- this->addChild(motion_plane);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement