Automatic mini-map drawing (optional), draws the map based on the collision map.while the performance is about as optimized as I can get it, reducing the amount of looping required by storing things in arrays and only drawing the map once, etc, the code might look a bit messy, so if you're picky about that try to avoid looking at my codeīug was fixed which hid the minimap. I will say this for people who make plugins, you might not wanna read my code. I've been working a lot on it and have improved it since its original release, thus I give you this Minimap Plugin. Tile configurations set on the region will take priority over tileset configurations.Hi there! This is my first (Technically second since I re-wrote the older code), plugin for RPG Maker MV. You can also specify a range of layers.Ĩ: height(8) 17, 2: height(1) 18, 1-4: shape(cross) Each line should start with the region number followed by a colon.īy default, region settings only affect the lowest tile layer (layer 1) but you can specify the layer it should affect by placing a comma after the region id followed by the layer id. Similar to tileset configuration, region configuration also uses a special syntax. On the outdoor tileset, this would be the grass autotile.Ī2,0,0: side(A4,0,5) A2,1,0: side(A4,1,5) Region Configuration For example, A2,0,0 would be the top left A2 tile. Tile identifiers use the format img,x,y where img is the name of the tileset image (A1, A2, B, C, etc.), and x and y are the position of that tile on the tileset (starting at zero). Each line in the tileset configuration should start with a "tile identifier" which indicates which tile the configuration is for, followed by a colon. Tileset configuration uses an additional special syntax. For specific information about the configuration functions, follow one of the links below:įor information about plugin commands, see Plugin Commands. There are three sets of configuration functions. In the map note box, you can can use the special and tags (and their corresponding closing tags) to change tileset and region settings specifically on that map. The following examples are all equivalent. Separating them with spaces or commas is optional. You can place multiple configuration functions inside a block or tag as you like. You can also use the inline syntax in which case the configuration functions are placed inside the tag and you don't need a closing tag. The block is closed off with a tag, similar to html syntax. When configuring tilesets, maps, events, characters, or anything outside of the plugin parametrs, configuration functions must be placed inside a block inside the note box. You can skip to a specific parameter by specifying its name followed by a colon.Ĭeiling(A4,0,0|2) camera(0,60,dist:5,height:0.75) The parameters in a configuration function can be divided into groups, and you can skip to the next group by using a vertical bar instead of a comma. In this case, height is the name of the function, and 2 is the value passed into the function.Ĭonfiguration functions look and work similar to javascript functions, but they're a separate concept with slightly different syntax. For example, see "Wall Tile Settings" in the plugin parameters. These default configurations can be altered in the "Tile Config" section of the plugin parameters.Ĭonfiguring the plugin is done using something called a "Configuration Function". Additionally, regions 1-7 are configured to be affect set the height equal to the region number, and terrain tags 1 and 2 are configured to change the "shape" of the tile. Advanced Setupīy default, A3 and A4 tiles are configured to be rendered as walls with a height of 2 tiles. If you need further assistance than what this page can provide, you can ask for help on the Discord server. The problem might be caused by a conflict with another plugin. If you're trying to add the plugin to an existing project, try with a fresh project to ensure the plugin is working properly. If it didn't work, try opening the javascript console with F8 or F12 to check if there's any error messages. Some more advanced setup might be required to render things in the way you desire. Now when you run the game, the map should be rendered in 3D.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |