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

Player's health/HUD

Now that we have our player figured out and basic gameplay implemented, let's take some time to add in a way for the player to gauge how well he is doing.

Engage Thrusters

With that, let's create a rudimentary HUD using just Kismet and a few static meshes.

  1. Create a duplicate of our player ship by holding down the Alt key and dragging it upwards. Press F4 to bring up its Properties menu. Search for the Scale property and give it a value of 0.25 and change the Location value in the X property to 400. In the Y property put 0, and in Z put 375. Change the Physics type to PHYS_Rotating and change Rotation Rate to have 60 for the Yaw value. Under Display check off the Hidden option. Let the base of the ship be the normal camera. Type ...

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