Introduction to Sprite Kit with Swift 3 – Part 4

Action Groups / Sequences and Run Blocks

Introduction to Sprite Kit with Swift 3 video tutorials 4

Action Groups / Sequences and Run Blocks

In this video, we’ll continue working with SKActions, by changing the previous lesson’s walk actions into a sequence of actions. This will allow you to run code at the end of a sequence. In this example, when the player begins walking we’ll make gravity affect him (creating an effect like wind is pushing him), then when the player has stopped walking, gravity will no longer be in affect. We’ll also look at create a speed variable for movements and frame animations of the player.