Animating a blizzard
In this next project, we’re going to create a blizzard scene, and add a wind effect to make the snow blow from different directions. We will also use that wind to make the branches of a tree blow as well, by combining images and animating them. We created a snow scene in the breathing flower project in Chapter 6, but this time, we’re going to create this snow scene using a particle file, which gives us more options for making and controlling the snow.
Let’s start by creating a new project and calling it Snow
. Then, we will get right to work creating the SKS file that we need for the snow – this time, though, we’ll create two files.
Creating two Snow SpriteKit particle files
For this project, we will create two SpriteKit files – both will be from the Snow template, but we will use different values so the snow blows from different directions and at different velocities.
To create the first file, press Command...