-
Book Overview & Buying
-
Table Of Contents
iOS Game Development By Example
By :
In the previous chapter, we discussed in detail how to animate nodes, controls, the SceneKit method, and so on. We also discussed handling scene animations. We learned the SKAction class properties and methods along with learning about various controls by which a game can be played, such as gesture recognition or accelerometer.
We added player animations, controls, and actions in our Platformer game, this has made the game pretty fun to play and interesting to learn.
In this chapter, we will study particle effects and shaders in a Sprit Kit game. Particle effect is a very exciting ability provided by Sprite Kit. We can generate particles using the SKEmitterNode object; these particles create beautiful visual effects such as rain, fire, bokeh, spark, and so on. Shaders were introduced in Sprite Kit with iOS 8. Shaders are used to give customized special effects to scenes. The SKShader class is used to include shaders in our Sprite Kit game...
Change the font size
Change margin width
Change background colour