Game Development Reference
In-Depth Information
Figure 10.5
An aiming reticule changes colors based on the target.
Radar
Some games have a radar that displays nearby enemies (or friendlies) who are
within a certain radius of the player. There are a couple of different radar vari-
ations;inonevariation, anyonewithintheproperradiuswillshowupontheradar.
In another variation, enemies only show up on the radar if they have recently fired
a weapon. Regardless of the variation, however, the implementation ends up being
roughly the same. A sample screenshot of a game with a radar is shown in
Figure
10.6
.