O'Reilly logo

Unity 3.x Game Development by Example by Ryan Henson Creighton

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 10. Game #3: The Break-Up Part 2

When last we left our put-upon protagonist, he had been kicked out of his apartment by his girlfriend, who began throwing lit bombs at him from the fourth floor. Luckily, our hero is bizarrely invulnerable to bombs, and what's more, he can defy the laws of physics by balancing them on his nose. Clearly, we've got some work ahead of us if we want this game to make any sense.

As we continue to round out The Break-Up, we'll add the beer steins and their smash animations. We'll write a collision detection script to make the character react when he catches things. We'll learn how to save time by using one script for two different objects. Then we'll add some sound effects to the game, and we'll figure out how ...

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