Overview

File Locations and Build Notes

The files associated with this demo are located in the following locations:

A pre-built executable of the demo for Windows, HUDKit.exe, can be found in the Bin\Kits\HUD. It is also accessible via the start menu or the Scaleform SDK Browser.

On Windows, the Scaleform 4.6 Kits.sln file located in the Projects\Win32\Msvc80\Kits (or Msvc90\Kits) directory can be used to build and run this demo. Be certain that the “Working directory” for Debugging is set to the Bin\Data\AS2\Kits\HUD or Bin\Data\AS3\Kits\HUD directory before running the demo from the solution.

On Xbox 360, the Scaleform 4.6 Kits.sln file located in the Projects\Xbox360{Msvc80 or Msvc90}\Kits\HUD directory can be used to build, deploy, and run this demo. All of the assets for the demo, located in Bin\Data\AS2 or AS3\Kits\HUD, will be deployed to the target Xbox 360 when compilation completes.

For PS3, the make command should be run from the root of the Scaleform installation directory. This will, by default, build all available demos including the HUD Kit. On PS3, the executable can be launched via the SN Systems toolset. The executable will be built to Bin\PS3 and should be launched using the following options:

Demo Usage

To best demonstrate the use of the HUD Kit, the project contains a very simple game simulation consisting of two teams, Red and Blue, vying for control over a set objectives spread across a battlefield.

Points are accrued by capturing objectives (marked on the minimap) and eliminating enemy players. A capture objective will generate 1 point every 3 seconds for the team who currently controls it. An enemy kill is worth 1 point. The first team to accumulate 500 points or the team with the highest score when the round time (15 minutes) expires is declared the victor.

Players begin equipped with a machine gun, a pistol, four grenades and full ammunition. If a player is killed, his weapons and ammunition will be replenished.

Power-ups, represented by spinning green diamonds, will spawn in random locations on battlefield. Each provides a predetermined boost to the player’s health and ammunition for a random weapon when picked up.

Control Scheme

Keyboard (Windows)

W, A, S, D Control the user player. W, S moves the player forward and backward. A, D moves the player left and right respectively.
SPACE Fire current weapon. The range, damage, and rate of fire are unique to the weapon equipped.
R Reload current weapon.
G Throw a grenade. Will target closest player within range and explode, damaging all enemies within a radius of blast.
ESC Toggles display of the application’s display statistics between the title bar and text fields.
B Toggles AI control of user’s player. Disables gameplay input until deactivated.
1, 2 Change weapons.
* 1 selects the pistol.
* 2 selects the rifle.

Controller (Xbox/PS3)

D-Pad Left Joystick Control the user player. W, S moves the player forward and backward. A, D moves the player left and right respectively.
Right Trigger Fire current weapon. The range, damage, and rate of fire is unique to the weapon equipped.
X / Square Reload current weapon.
Left Trigger Throw a grenade. Will target closest player within range and explode, damaging all enemies within a radius of blast.
B / Circle Toggles display of the application’s display statistics between the title bar and text fields.
Y / Triangle Cycle through weapons.