HELP! I am so stuck. Basically what I'm trying to do is jiggle a sprite around based on how hard the phone is shaken. I use MoveTo and ScaleTo together to achieve this. So that it continues to jiggle but slow down after shaking the phone is done, I have a tail recursive function that creates a chain of actions within a sequence. It essentially does one movement and recursively does the next movement. It continues to do this with each recursive call being less in amplitude. In version 0.8.0 it worked beautifully--albeit wasteful in that it created new actions on every entry into the recursive function. It also worked great with the user shaking the phone harder or some more so that the jiggling would get more violent based on the shaking even when it was already running. I upgraded to version 0.8.1 and the framerate drops to like 3 fps. I must be missing something related to the allocation and release of the actions.
I just don't know how to fix this. I tried creating and using initWithDuration... on each recursive call, but the animation is not smooth like in 0.8.0.
Am I missing something simple or is my understanding/approach fundamentally flawed? Thanks.