Game Development Reference
In-Depth Information
What is parallax?
Parallax is an effect that allows us to simulate depth on a two-dimensional
screen. This effect can be seen when you travel by train or by car. Trees that
are near you move fast, those that are at a distance move slowly, and things
on the horizon barely move. When some objects move faster and other
objects move slower, we get a feeling that there is depth to the scene.
We use this effect to add polish to our game.
Summary
In this chapter, we have learned that animation is a powerful way to add life to
your game. It helps to engage the player, as smooth and nice-looking animations are
always an eye candy. Learn to appreciate your animations and players will enjoy
your games. We have also learned about animations; how to create them, and how
to run and cancel them. We also found out what texture atlases are and how they
increase performance and save memory. We also learned how to colorize sprites,
how to perform parallax scrolling, and how to add depth to our game.
In the next chapter, we will learn about particle effects, and how to create and use
them to add more eye candy to your game.
 
Search WWH ::




Custom Search