抗锯齿

CCSprite *s= CCSprite::create("xiao.png");

    s->getTexture()->setAntiAliasTexParameters();

    s->setPosition(ccp(240, 160));

    addChild(s);

    CCActionInterval *ac = CCScaleTo::create(2, 5);

    s->runAction(ac);

 

posted on 2013-04-24 09:28  jack_yan  阅读(165)  评论(0编辑  收藏  举报