//CCRotateBy
id action=[CCRotateBy actionWithDuration:1.0 angle:45];
[player runAction:action];
//CCRotateTo
id action=[CCRotateTo actionWithDuration:1.0 angle:45];
[player runAction:action];
上述兩個代碼產生相同的結果...我需要知道使用rotateTo和rotateBy ...... 請告知之間的區別...CCRotateTo和CCRotateBy differnce
CCRotateBy也非常方便,當談到不斷旋轉的精靈。看到我提供示例代碼的其他答案。 – Zuppa