摘要:
CCSprite* watch=[CCSprite spriteWithFile:@"office_watch.png"]; [self addChild:watch]; //表的背景; watch.position=ccp(250, 160); spoint=[CCSprite spriteWithFile:@"office_point.png"]; spoint.position=ccp(250,160); //表的背景2 [self addChild:spoint]; // 进度条 ... 阅读全文
摘要:
//To绝对 By相对; CCSprite* sprite=[CCSprite spriteWithFile:@"add1.png"]; sprite.position=ccp(70, 50); [self addChild:sprite]; 移动: CCMoveTo* moveTo=[CCMoveTo actionWithDuration:2 position:ccp(200, 300)]; //直线移动到ccp(200,300) CCMoveBy* moveBy=[CCMov... 阅读全文
摘要:
转自:http://www.himigame.com/iphone-cocos2d/423.html 感谢HIMI分享。。。。//部落格------//CCTransitionTurnOffTiles *transitionScene = [CCTransitionTurnOffTiles transitionWithDuration:3 scene:scenec];//近远-远近-----//CCTransitionShrinkGrow *transitionScene = [CCTransitionShrinkGrow transitionWithDuration:3 scene:scen 阅读全文