私はこれを理解しようとしています.grid3d CCRipple3Dアクション/エフェクトが必要な場所に表示されます. 完了時 (1 秒後) を除いて、効果を「一時停止」し、そのままにします。私が欲しいのは波紋だけで、それから消えます。これは私のコードです:
for( UITouch *touch in touches ) {
CGPoint location = [touch locationInView: [touch view]];
location = [[CCDirector sharedDirector] convertToGL: location];
id effect = [CCRipple3D actionWithPosition:location radius:180 waves:10 amplitude:20 grid:ccg(60, 60) duration:1];
[self runAction:effect];
}
しかし、これはその場所のレイヤーに歪みを残します。1秒間波打って消える必要があります。
前もって感謝します!