Answer the question
In order to leave comments, you need to log in
Why does SKAction consume resources?
Why any activation of SKAction consumes a lot of CPU
Let's say that with a single action - such as moving the menu - it's not scary.
And let's say we make a background that moves behind the accelerator.
I catch the movement along the X, Y axis and then in the update block of the scene I write for each sprite
self.sprite0.run(SKAction.move(by: CGVector(dx: 100+destX, dy: 100+destY), duration: 1))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question