ID:2348238
 
Code:


Problem description:

We've always wanted to implement a nice minimap as such in our games for some time but we could never figure out how to even go about it or get started. There are some minimap libraries on BYOND's Resource section but I am looking for something that would take a less major toll on performance for players.

Any Ideas or Concepts are welcome. Please and Thank you


Im fairly sure he made physical copies of each map and just moved the players map image on the map in the bottom right corner based off where they are
Probably gunna have to do some math and find an equation to match ur location with where it would be on the minimap
Can't think of anything more efficient than that
Hmm @YutPut I'm not sure i completely understood what you mean. My maps as of right now are 300x300 though.

How would I then get the image to follow the player's movement if not by calculating the position and all that?
In response to Zagros5000
I figured thats what it was too but wanted to get some other's opinions. I guess figuring out such an equation would be the hardest part for me.
Well ur map is 9600x9600 pixels if the mini map is 150x150 pixels every 64 pixels u move would be 1 on the mini map
Just grab the players pixel x/y location in that z lvl and divide by 64 and thatlle be the point on minimap u Shud put the player icon

If u wanna use a different size just do 9600/size of mini map
But this would just get u 1 giant mini map for each zone