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 ...

Get Learning Libgdx Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.