Creates a graphic above the player to be used to hide everything around them except for the transparency in the image. This could be used to create a visibility range around the player while the rest of the screen is hidden.
The overlay can be zoomed in and out to shrink/grow the range and also have varied transparency.
The visibility range image can be changed during game.
VERSION 1.2 – RPG Maker MV
Download Plugin file
Hello, while I’ve found your script useful, I’ve got an issue with it. When reentering a scrolling map, it starts top lag in chrome (and only in chrome). Have you experienced anything like that?
I haven’t but I will put on my to-do list to check this out
Actually, after deactivating the plugin I’m still experiencing lag on some maps. I better do some research first, but I now think your plugin is not to blame. Sorry to have bothered you.
Updated to version 1.2 – removing the permanently existing visrange. Now it must be created/removed when required.
Thanks for making this. Unfortunately, I’m having some trouble. The demo works fine. But if I cut and past the actor and the scripts from the demo into another game (and update the common event tags) and start a new game, everything works except the screen does not darken. It seems the Comment command and the loop that darkens the opacity is not running. It seems to read that, but nothing happens, and it moves on to the last text box from the actor. Any idea what I’m doing wrong?
It sounds like you are doing something wrong in your eventing, I recommend asking in an rpgmaker forum for help with that.
nvm…. I figured it out. Thanks again!
Z level does not work
It does actually, but it is the z level of map objects. If you are trying to make it over other things like windows or pictures then it won’t work for that.
So, I’m confused on how all of this works. I read the plugin info, but I can’t seem to wrap my head around it. To be honest, I can’t understand how to use many of your plugins, such that I’ve been skipping out on ones that seem even remotely complicated.
It bothers me because they look interesting, but the explanations given are extremely confusing for someone who doesn’t know how to code.
Also I can never use demo because it’s unable to use actors.json
It sounds like you are running the index file in a browser that doesn’t support loading local files.
You need to run Game.rpgproject to run the demo in RPG Maker MV.
A lot of my plugins are complicated and do require users to have learned some of the more advanced aspects of RPG Maker MV (such as plugin manager, script calls, etc).
It’s okay if you don’t understand my plugins – there are plenty of other scripters who have written other plugins you could try.
love the plugin but how do i get this to work with other objects that are suposto make light on the wall or will this only work for the player?
This only works for the player – this is a simple one, you are looking for a full lighting plugin
I believe that it is this plugin that’s making the open/close menu really slow, sometimes taking up to 10 seconds.
Is there any fix to that?
Make sure you have the latest version of MV files in your project. Just updating your RPG Maker software isn’t enough, you need to manually copy over files.
10 seconds makes me think it’s a memory leak happening for you and that was with old MV files
I’m using this great plugin on a phone game, however it stays dark(black) besides that the game works fine. If I use the playtest option on my pc it works just fine. Any thoughts?
Thanks in advance.
Make sure references to file names are exactly the same case (capitals, etc.)
Thanks for the rapid reply!
For testing purpose I copied the 2 files from your img/system folder and also copied the plugincommand from your Demo game. I don’t think that’s the problem. Besides it is working on my pc, if I named the files incorrect then it wouldn’t be working on my pc either right?
Not necessarily – PC isn’t case sensitive but other device OS’s are. It might be that my code makes it not case sensitive. I never tested on mobile device.
I did a test on both PC and phone (android).
The spelling indeed doesn’t matter on PC.
On phone if I misspell it the game crashes instantly.
I’m afraid this plugin won’t work on phone (android). Might you come up with an other possible sollution then I’m happy to hear it. If not then im afraid I need to find myself an other plugin that does a simular thing.
I ‘solved’ it by using an other plugin. If you want I can tell you what plugin. Might you ever want to upgrade this plugin so that it works on phones also. I didn’t callout the name, since I don’t know if you want me to talk about an other plugin on your website. I would imagen you won’t fancy that.
Thanks again for the great and very quick support eventhough it didn’t help in this case. I am using a couple other awesome plugins made by you. Please keep up the great work! If you would like I would be more then happy to give you a copy of my game once its completed (this will take some time, but I hope by the end off this year)
Hi! Thank you for this plugin! But I have a small problem with the torch.
I can’t seem to expand the zoom view when using it.
I can only expand the zoom view while adding through variables outside the common events.
I don’t know what you mean, can you give an example of what you’re trying to do?
I think I solved, my friend. I got a little confused about the 0 – 50 range. I thought the maximum size the visual range could go with the torch was 50, But it can go way above that. The perfect size for my game is 150 right now.
Thank you for your reply and for this awesome plugin!
I wish you the best!
Is this plugin commercial or not?
Free to use in commercial projects, yep!
Wait never mind I found it.