Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. CCTexture2D *mytexture=CCTextureCache::sharedTextureCache()->addImage("plane_path.png");
  2. CCMotionStreak *motion_plane =CCMotionStreak::create(5,1,20,ccc3(255,0,0),mytexture);
  3. motion_plane->setPosition(ccp(30,30));
  4. motion_plane->setZOrder(5);
  5. this->addChild(motion_plane);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement