O'Reilly logo

Mastering UDK Game Development Hotsht 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

Building/adding functionality to the inventory

We now have all of the building blocks that we need in order to create our entire HUD.

Engage Thrusters

With that in mind, let's get building!

  1. Drag-and-drop two myButton buttons onto the stage while still being in the InvBody movie clip, placing them on the bottom of the inventory box in the way shown in the following screenshot. Make sure the Properties tab is selected on the top-right corner. In their properties, give one the instance name equipButton and the other the instance name dropButton.
    Engage Thrusters
  2. Drag-and-drop the header.png object to the top of our InvBody movie clip (like the following screenshot). Then ...

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