MV Visibility Range

FEATURES
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
Download Demo

37 thoughts on “MV Visibility Range

  1. Krusher says:

    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?

    • Galv says:

      I haven’t but I will put on my to-do list to check this out

      • Krusher says:

        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.

  2. Galv says:

    Updated to version 1.2 – removing the permanently existing visrange. Now it must be created/removed when required.

  3. maxwright74 says:

    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?

  4. Alex says:

    Z level does not work

    • Galv says:

      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.

  5. Jim says:

    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.

    • Jim says:

      Also I can never use demo because it’s unable to use actors.json

      • Galv says:

        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.

    • Galv says:

      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.

  6. nick says:

    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?

  7. pineapple says:

    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?

    • Galv says:

      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

  8. Davy Mutsaers says:

    Hey Galv,

    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.

    • Galv says:

      Make sure references to file names are exactly the same case (capitals, etc.)

      • Davy Mutsaers says:

        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?

      • Galv says:

        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.

  9. Davy Mutsaers says:

    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.

    • Davy Mutsaers says:

      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)

      Greetings,

      Davy

  10. Ztron5 says:

    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.

    • Galv says:

      I don’t know what you mean, can you give an example of what you’re trying to do?

      • Ztron5 says:

        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!

  11. CTRL_Collector_363 says:

    Hello Galv,
    Is this plugin commercial or not?

  12. CTRL_Collector_363 says:

    Wait never mind I found it.

  13. sardgate says:

    Hi Galv!
    I have an issue on android when i set the screen resolution over 1024 weight. The screen got darken but i can’t see the characters and the rount light. It works on PC but it doesn’t work on Android and browser web.
    Can u help me?
    Thank you!

  14. Adam says:

    Hola, este plugin no me funciona. Pongo el comando de plugin y no funciona. ¿Alguna ayuda?
    Gracias ^_^

  15. gonda says:

    the plugin works extremely fine, but sometimes when I run the game and I turn on the shadow opacity some events starts to blink like the shadow doesn’t affect them. I put the z level on 10, and tried even 9999 but I still can’t fix that, any idea why does it happen?

    • Galv says:

      That can happen if the z value is the same as the events, so I think you tried the right thing by putting it at 9999.
      Double check you changed the correct value and you might need to test for plugin conflicts.

Leave a comment