Game Development Community

Minimap how-to

by Panayoti "urbansquall" Haritatos · in Torque Game Builder · 07/29/2006 (11:30 pm) · 6 replies

Hey everyone,

I'm developing a game that will require a "minimap" to be displayed.
Now, doing this should not be too hard (I imagine), but I was wondering what
the suggested way to do this is.

I was thinking of having it be part of the GUI?
What do you guys thing about that?

If that's the way to go, I'm not sure how to dynamically (from script) add and
remove GUI objects for the different objects that are in my minimap.
For example, a car may be displayed as a dot in the minimap, but when that car moves, the dot
shoud to, and when the car explodes, the do should disappear.

Thanks for all the help!

#1
07/30/2006 (3:22 am)
Hmm, I would create a second scene window on your GUI, make it very small give it the same scene graph as your main window. That should do it I hope. :D At least that's how the level builder handles split screens.
#2
07/30/2006 (10:00 am)
@Oliver-

I wonder if that eats much FPS though?
#3
07/30/2006 (10:03 am)
@Kevin

Yeah it can, depending on how much you actually show, ie. your camera zoom, the rest should be culled.
#4
07/30/2006 (10:20 am)
Culled? I am unfamiliar with this. O_O
#5
07/30/2006 (10:27 am)
Excluded from the render process. :)
#6
07/30/2006 (10:28 am)
Oh, simple enuff. . .