PDA

View Full Version : Coordenates in a game



Nuno Miguel Silva
07-08-2004, 06:26 AM
How do i make, in a map i made, to have a small radar in the upper-right corner of the screen to tell me where my friends and enemies are? Something like:
/---------------\
| O |
| X |
| O O |
| |
\---------------/
O = ENEMIES
X -> Me

Jared
07-08-2004, 09:02 PM
not quite sure why this is opengl or advanced, but

for every whatever in range
relative position is position - player position
scale vector to radar scale
draw symbol at center + relative position

if thats not what you meant, try to make the question longer and more explicit