ID:151732
 
Is it possible to use a self made minimap(Which i made through paint) to be used in a game and still be effeicent?
A simple picture won't crash your game, last I checked.
In response to Kaiochao
So this means i can?if yes great but idk how to go about using the image and coding up a proc to match it.
That's a lot more efficient than drawing it at runtime, but it won't be as fancy as an actual radar.
In short, no
In long, nooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo ooooooooooooooooooooooooooooooooooooooooooooooooooooooo

You are going about it the correct way with and image instead of using DM, but that doesn't stop the fact you would either need it to be tediously small, or so big it would need to be opened and closed repeatedly, meaning LUHAG
It's actually a much better decision on your part to use a pre-rendered drawing as a map because it will reduce most if not all of the speed issues. We can't really tell you exactly how to accomplish functionality with the minimap pending the size and intended behavior of the map, so get that information to us. It will be easy, though, I assure you.
In response to CaptFalcon33035
My minimap size in paint is 400x400 the original map size is 365x345(i kno weird map). The minimap im trying to accomplish is that.. it is suppose to show the users current location without updating until the minimap is opened again.
In response to XperimentX5000
The easiest way to do it is have the minimap the same size, in pixels, as the map is in tiles. So that way you can say put a marker on the mini map, and just use pixel_x/y = x/y(Though check if the pixel_x/y value is higher than 32 etc cause it caps at 128).
In response to Bakasensei
so would a 400x400 map and 400x400(in paint) would work fine?
In response to XperimentX5000
Yup, as long as the map is either the same size, or an easy size to reach(Like 2x as big etc) its easy to do.
In response to Bakasensei
ok i set both of them to 400x400..but i still dont quiete understand on how to set up the marker
In response to XperimentX5000
MAke the marker say an obj, then set that objs location on the minimap using your current x/y value. So say determine your x/y value and split it up into pixel_x/y values for the obj like so...

var/new_x=x
var/new_y=y
var/obj/marker/A=new()//put the location of the minimap's bottom left corner in the ()'s
while(new_x>32)
A.x++
new_x-=32
while(new_y>32)
A.y++
new_y-=32
A.pixel_x=new_x
A.pixel_y=new_y


That should work, if not it'll give you the general idea.