O'Reilly logo

Unity 3D 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

A keep-up game for robots

After all this effort for getting our paddle to move, the game still doesn't have much oomph to it. It's very easy to keep the ball bouncing because there's nothing to send it spinning off in any crazy directions. At least in Breakout or Arkanoid, you had interesting angles to work with. Our game doesn't have any walls to angle off, but we do have that paddle.

What if we angled the paddle as the player moved it around? An angled paddle would make the ball bounce in different directions and keep the player on his toes.

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