So in the game I'm building I want to repeat an action, but I want it to have an initial delay. So for example, the action would execute three seconds after the user started the game, but after it executes for the first time, there's no longer a three second delay. What can I do to solve this?
Thanks in advance!
You could use an
SKAction
to make a delay, then put it at the beginning of yoursequence
.Apple gives some sample code on sequences:
You can use
SKAction waitForDuration
to make a delay.