Chapter 8. Special Effects
In this chapter you will learn how to add special effects to Canyon Bunny using Libgdx's particle system, and linear interpolation, and several other ways to enhance the visual appearance of the game. You will also design a custom particle effect in a graphical editor which is going to serve as "dust". This dust effect will be shown whenever the player character is running on rocks. You will be introduced to the concept of linear interpolation using examples of smoothing the camera's movement while it is following a set target as well as letting the rocks slowly bob up and down on the water.
In addition to this, you will implement a parallax scrolling effect for the displayed mountains in the background. The clouds will ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access