O'Reilly logo

Unity 5.x Game Development Blueprints by John P. Doran

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Shooting Gallery – Working with Animations and Tweens

Now that we have some games under our belt, I thought it'd be a good idea for us to dive into how to make our games feel more "alive." One of the ways that we can do this is by adding animations to our worlds, so things aren't just static.

There are many different ways in which you can create animation, and in this chapter, we will be covering three different ways, using Unity's built-in animations, using a tweening library such as iTween, and moving objects ourselves via code.

Project overview

This project will teach us how to create a simple shooting gallery game in which players can shoot at targets before the time is up. In the meantime, we'll learn the various ways to animate things ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required