Here is a fairly simple bit of code that will display a map on the lower right portion of your screen. The rest would be up to you.
I actually just sent this to Acknex Resource, but instead of making you wait:
Just Call "Map_Window();" in your player action to bring up a mini-map. This is a camera that appears above, looks straight down and follows the player. Then a small view is placed in the lower right of the screen. This is great for outdoor levels. It can also be used for single story indoor levels if all textures facing the camera have their surfaces set to "none". It will also work for multiple stories through a bit of extra coding and level planning.
code:
//========================================
view Map_Cam {} // Create Map camera.
Function Map_Window() //Target camera. Attributes
{
Map_Cam.visible = off; //Show View
Map_Cam.size_x = 104; //<-- 800x600//128; <--1024x768// Window Size X
Map_Cam.size_y = 104; //<-- 800x600//120; <--1024x768// Window Size Y
Map_Cam.pos_x = 663; //<-- 800x600//851; <--1024x768// Window Position X
Map_Cam.pos_y = 470; //<-- 800x600//614; <--1024x768// Window Position Y
Map_Cam.tilt = -90; // Look Down
Map_Cam.pan = 90 ; // Top North
Map_Cam.Noparticle = On;
Map_Cam.Audible = Off;
while(1) // Need Loop so variables update
{
Map_Cam.X = my.X; // Follow Players X
Map_Cam.Y = my.Y; // Follow Players Y
Map_Cam.Z = 1000; // Use this to Zoom the Map
WAIT(1); // Need break in loop so code wont choke
}
}
Here is a screen shot of a kids game I am making for my daughter which shows the map code in action:
Although not exactly what you want, I hope that it helps a little.
-Jeff