Summary
In this chapter, we learned about the particle effect and shaders in detail. We discussed about the SKEmitterNode
object and the SKShader
object, and how we can implement them in our Platformer game. We have also discussed about adding OpenGL ES code in our Sprite Kit project and how we can utilize shaders in our game. Now, our Platformer game has a particle effect when the player collides with the block, and the shader scene is a separate screen to display shader effects.
In the next chapter, we will add levels in our game, which will further enhance the gameplay experience for the user and help them understand the game concepts in more detail. We will also add a pause button that will pause the game when required.