O'Reilly logo

Augmented Reality Game Development by Micheal Lanham

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

Adding the catching ball

In our game, the player will use balls of ice to catch the monsters. The player must hit the monster with the ice balls to make them colder and slower so that they will eventually freeze in place. After they are flash frozen, like a frozen dinner, they can then be easily caught.

The ball we will add needs to be made of ice. Since we don't currently have any ice materials to texture a ball with, we will first load a couple of assets. The assets we will load are for particle effects we will use later in the chapter. Conveniently, one of those particle effects also has a nice ice texture we will use for our ball. Perform the instructions here to import the particle effect assets:

  1. From the menu, select Assets | Import Package ...

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