I have a game where I use a lot of SKActions to deliver the desired game logic.
For example, instead of setting the zRotation
of a sprite to a value, I would use runAction(SKAction.rotateTo(/* angle here */, duration: 0.0)
instead.
I make calls like this in update
, and in touchesMoved
. Thus this could mean hundreds of these calls, sometimes nested with groups of other actions.
Am I incurring significant overhead relative to directly setting the zRotation
property?