2012年4月24日

摘要: -(void)step:(ccTime)dt{if (rotate == 360) {rotate = 0;}rotate += 5;float fradian = rotate * PI / 180;NSLog(@"%f%f",rotate,fradian);id ac0 = [CCMoveTo actionWithDuration:0.01 position:ccp(centerx + radius * sinf(fradian),centery + radius * cosf(fradian))];id ac1 = [CCRotateTo actionWithDura 阅读全文
posted @ 2012-04-24 12:03 甲骨魚 阅读(374) 评论(0) 推荐(0) 编辑

导航