O'Reilly logo

3D Game Programming All in One, Third Edition by Kenneth C. Finney

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 16MAKING ITEMS, SCENERY, AND WEAPONS

In this chapter we’re going to make a bunch of things. Most of the techniques used will basically be a review for you, so you can see this chapter as one big exercise in applying what you’ve learned to different situations.

We’re going to make a few weapons, and in order to maintain balance, we’ll make something that can be used in-game to counteract the effects of these weapons.

We’ll also make some items that one might call decorations for the game. The purpose of these items—some trees and a rock—is to provide some clutter. This is to help fill out otherwise sterile-looking game worlds, making them more interesting to wander around in.

THE HEALTH KIT

We’ll start out with an easy one, the Health ...

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