CCSprite
*s=CCSprite::create("xiao.png"
);
//抗锯齿
s->getTexture()->setAntiAliasTexParameters();
//s->getTexture()->setAliasTexParameters();//不抗锯齿
s->setPosition(ccp(240,160));
addChild(s);
CCActionInterval
*ac=CCScaleTo::actionWithDuration(2,5);
s->runAction(ac);
版权声明:本文为博主原创文章,未经博主允许不得转载。
时间: 2024-10-08 06:49:06