MZ Character Shadows

Character Shadows Screenshot

FEATURES
This plugin allows you to add a simple shadow to events and player/follower characters on the map.
Shadows can be specified via notetag in an event, or a comment on an event page if you need only certain pages to have shadows.
You can disable all player or event shadows with plugin or script commands.

VERSION 1.0 – RPG Maker MZ
Download Plugin file


Download my master demo to view examples of this plugin from:
Galv’s MZ Plugins Home


24 thoughts on “MZ Character Shadows

  1. hidebu says:

    Thank you for your plugin.
    I found one problem.
    When I view the event using the switch, it is not shaded.

  2. hidebu says:

    I saw it happened in your demo too.
    I added an actor for events.
    first switch on, then from a transparent event into the second person appear but the shadow isn’t.

  3. ENA says:

    Hello, Galv!
    This plugin is ideal!
    So, Why does the shadowed event character blink? Also, when I switch maps and come back, the shadow disappears. Is there a workaround for this?

  4. yang says:

    Hello, Galv!
    This plugin looks very useful. But how to use it on rpgmakerMV,please.

  5. KJ Fiore says:

    hello Galv! new to this engine and I love your shadows. I got them to work for player actors, but for some reason the scriptcode or the note wont apply shadows to any events.

    I’ve tried on events directly, as well as a parallel trigger event that would give it to all events. The parallel trigger event worked for players, but not NPCs or anything. Do you have an idea on how to apply shadows to events?

    • Galv says:

      Not sure without being able to see it. If you’ve checked the demo and believe you’ve set up the events correctly, here’s a list of other error-trapping ideas: https://galvs-scripts.com/errors-using-plugins/

      One of the main things it could be is a plugin conflict (using another plugin that does not work well with this one).

      • KJ Fiore says:

        Thanks! I didn’t realize how helpful the master demo was.

        I figured out that I was not commenting correctly on events. I still don’t know why it was easier to apply to players, but it works now so that’s good. You’re a blessing to the engine.

  6. Justin Mills says:

    Hi Galv,

    Thank you for your plugin and all of your work is phenomenal. I’ve encountered an issue with the shadow plugin and I think I’ve isolated the cause. When an event is created on screen after the player is already in it, the shadows don’t appear with the character.

    I.e. I have a scene where the event starts blank, then is triggered by a script call from another action. When the new event appears on self-switch A, or what have you, it doesn’t have a shadow.

    I did ensure the note tag was present on all pages and the plugin is number 2 in my chain.

    Any advice is appreciated. Otherwise, it works great!

    • Galv says:

      Try having the event start with a graphic selected instead of blank. It might need to have a graphic (even if the character is blank in the graphic selected)

      • Justin Mills says:

        Thank you for your fast reply. Regrettably, that didn’t fix the problem.

      • Galv says:

        Can you replicate it in the demo project?

      • Justin Mills says:

        Yes, I replicated it by going to map 13. I created two NPCs with the tag. One appears immediately without any switches or anything. The second only appears after it’s self-switch A is triggered.

        I added a script call ($gameSelfSwitches.setValue([3, 5, ‘A’], true)) when interacting with the first NPC which triggered self-switch A on the other event. The original NPC had a shadow, but when the other NPC popped in, there was no shadow. When you leave the map, and then come back, both NPCs have shadows after the map reloads.

      • Galv says:

        Does it happen for you without using the script call to change the self-switch of another event? Or is that the only time it does it?

      • Justin Mills says:

        No, in another instance in my project, I have one that is created on the same map (but well out of view) after a certain number of variables are reached. It also doesn’t have the shadow, even with the tag.

      • Galv says:

        It sounds like there is a bug somewhere, but unfortunately I cannot replicate it.

      • Justin Mills says:

        I found a passable (but definitely not perfect) workaround and I don’t know if it would suit every situation, but on the original page where the NPC shouldn’t be visible, I set a custom move route to the fastest setting and only set it to transparent. When the NPC is meant to appear, I reverse it. It’s great if the event is switching off-screen, but if it is switching things out on-screen, there’s a hiccup glitching effect.

  7. Mushroom Person says:

    hello, thank you for making this plugin, unfortunately I realised the shadow doesn’t show up for events with priority ‘below characters’. Anyway to solve this? thank you so much!

    • Galv says:

      They are appearing on ‘Below Characters’ priority for me. You might need to do some tests to see if it’s a plugin conflict or something else going on for you.

      • Mushroom Person says:

        I figured it out! Apparently it’s the layer graphics plugin making the floor layer stuck between the shadows and the events (I’m making a side scroller). Thanks so much for all your plugins!

      • Galv says:

        Ah, nice work finding the issue. You can use decimal places in the layer z value that might fix that up.

Leave a comment