So you want to put a map in the corner of your screen? Well, this plugin lets you do just that! From anything in-game, just call the Plugin Command MakeMap and you'll get one of the map you're currently on! (My method is to make an infinite-use item that calls a common event, and put the Plugin Command in the common event.)
Note that this only makes the map. It's up to you to decide how to use it. For ease of use, though, the maps will be dropped right into your /img/pictures directory, named Map_[id].png, so they're ready to go immediately! (I would, however, recommend making the maps on your own and removing the plugin before publishing the game.)
This is only a minimap, not a full map like the one HelloAnnoying released earlier. One tile translates to one pixel on the minimap.
The default colors are in grayscale. If you'd like a bit more color, may I recommend the following color options? (They're configurable as parameters to the plugin):
Water Color: #0000FF
Walkable Color: #80FF80
Cliff Color: #00C000
Unwalkable Color: #C08040
Damage Color: #804080
But, really, any color format that Javascript recognizes should work, even simple words like "red" and "blue".
NEW!!
If you place a number after "MakeMap", the map will scale to one tile being that many pixels high and wide. There are also new parameters to define a default scale, or have the map auto-scale to be as close as it can to a predefined maximum (though any maps already larger than the maximum will have scale 1 no matter what.)
Example:
http://pastebin.com/1R3th4MW
This plugin is free for non-commercial and commercial use, but please credit Jason R. Godding if you use it. Thank you.
Note that this only makes the map. It's up to you to decide how to use it. For ease of use, though, the maps will be dropped right into your /img/pictures directory, named Map_[id].png, so they're ready to go immediately! (I would, however, recommend making the maps on your own and removing the plugin before publishing the game.)
This is only a minimap, not a full map like the one HelloAnnoying released earlier. One tile translates to one pixel on the minimap.
The default colors are in grayscale. If you'd like a bit more color, may I recommend the following color options? (They're configurable as parameters to the plugin):
Water Color: #0000FF
Walkable Color: #80FF80
Cliff Color: #00C000
Unwalkable Color: #C08040
Damage Color: #804080
But, really, any color format that Javascript recognizes should work, even simple words like "red" and "blue".
NEW!!
If you place a number after "MakeMap", the map will scale to one tile being that many pixels high and wide. There are also new parameters to define a default scale, or have the map auto-scale to be as close as it can to a predefined maximum (though any maps already larger than the maximum will have scale 1 no matter what.)
Example:
This is what the map looks like in the editor. (THIS IS NOT WHAT MY PLUGIN CREATES!! Use HelloAnnoying's plugin if you want something that looks like this.)
This is what my plugin creates (with scale 2):
And this is how you can use it:
Also, here's the version that uses the colors given above, for reference:
This is what my plugin creates (with scale 2):
And this is how you can use it:
Also, here's the version that uses the colors given above, for reference:
This plugin is free for non-commercial and commercial use, but please credit Jason R. Godding if you use it. Thank you.
