摘要: 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]; // 进度条 ... 阅读全文
posted @ 2012-03-18 22:14 moon_7 阅读(2510) 评论(0) 推荐(0) 编辑
摘要: //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... 阅读全文
posted @ 2012-03-18 19:20 moon_7 阅读(630) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.himigame.com/iphone-cocos2d/423.html 感谢HIMI分享。。。。//部落格------//CCTransitionTurnOffTiles *transitionScene = [CCTransitionTurnOffTiles transitionWithDuration:3 scene:scenec];//近远-远近-----//CCTransitionShrinkGrow *transitionScene = [CCTransitionShrinkGrow transitionWithDuration:3 scene:scen 阅读全文
posted @ 2012-03-18 10:26 moon_7 阅读(314) 评论(0) 推荐(0) 编辑