Book Image

Getting Started with UDK

By : John P. Doran
Book Image

Getting Started with UDK

By: John P. Doran

Overview of this book

<p>UDK, the free version of the popular and award-winning Unreal 3 Engine, is an amazing and powerful tool to use for projects of any kind. You can use it to create high-quality games and make your dream games a reality.</p> <p>UDK can be a little intimidating based on the level of games it has contributed to the ever growing and ever exciting world of gaming. Overcome all your apprehensions with this step-by-step guide and build a complete project within the Unreal Development Kit with unique gameplay, custom menus, and a triple A rated finish</p> <p>This book will help you create a custom tower defense game within UDK, even if you have absolutely no prior knowledge of UDK game development.</p> <p>In next to no time, you will learn how to create any kind of environment within UDK. With your basic environment created, you will make use of simple visual scripting to create a tower defense game complete with enemies attacking in waves. We then finish off the game with custom menus and a Heads Up Display. The final step is to release your game into the wild and give others the excitement of playing it.</p>
Table of Contents (11 chapters)

Creating our HUD


Now that we have the main menu created, let's create our actual game's HUD! We get started in much the same way as the previous section. Perform the following steps:

  1. Inside the Adobe Flash main menu, create a new ActionScript 3.0 project by navigating to Create New | Actionscript 3.0.

  2. In Properties Inspector of the Stage properties of the Properties section, set the size to 1280 x 720 by clicking on the existing numbers and typing in the new values then pressing Enter. Above the stage, find the Zoom scaling, which currently says 100%, and change it so that you can see everything within the white box. Alternatively, you can use Ctrl + 1.

  3. Import our image files by navigating to File | Import | Import to Library.... From there, go to the Chapter's assets folder where you will find the MainMenu_Art folder. In that folder, select all the files and then click on Open.

  4. Access Library by left-clicking on the tab next to Properties in Properties Inspector. From Library, drag-and-drop...