newlist

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
    CCSprite* pImgBg = CCSprite::create("1.png");
    pImgBg->setPosition(ccp(CCDirector::sharedDirector()->getWinSize().width / 2, CCDirector::sharedDirector()->getWinSize().height / 2));
    this->addChild(pImgBg);

    CCActionInterval *action =  CCShatteredTiles3D::create(0.2f, CCSizeMake(16,12), 5, false); 
    pImgBg->runAction(action);

 

posted on 2014-03-17 11:18  一枚程序  阅读(338)  评论(0编辑  收藏  举报