MZ [MZ & MV v1.9.7] Shora Lighting & Shadow System

Fun new problem (less of a problem and more of a challenge):View attachment 269358 Do you know a work around/solution?
Hello all,

I'm having the same problem as untamedeventuality. My sprite also has quite a big head, and when he's turned up, the flashlight illuminates it.

However I can't fix this with offsets since it will look weird when the Player sprite is turned down.

Is there any way to place the light behind the player sprite when facing up, or any other fixes? Thank you for a great plugin, @Shora !

shora up.png
Update v.1.9.7 (13/9/2024):

- Fix some bugs that got reported, include:
+ Animation not working. QuizicalGin
+ Both bugs reported by NavHavGav. As for the first bug, remember turning off shadow is only applied to the current event page shadow. So if you turning the page to another shadow, it's shadow status need to be set again. The second bugs have been fixed.
+ Bugs reported by @Treijim on Discord, that ambient set to #000000 are bugged. Fixed.

- Added the battle lighting features. Currently the light "default will be added for all actors and enemies in the battle. I don't really know a good way of implementing an interface for everyone to use, so if you have any idea feel free to contribute it here.

- Added default lighting status and battle lighting status in the plugin parameters.

P/S: Rememer to reopen the plugin paramenter window at least once to confirm new parameters before launching the game after updating the plugin.
P/S 2: For other bugs report that I haven't touch on, it is because either I can't replicate your problem on my project, or it can't be done. Please provide easiest instruction to replicate the bugs, preferly on the itch demo if possible, thanks!


1726242698170.png


Hello all,

I'm having the same problem as untamedeventuality. My sprite also has quite a big head, and when he's turned up, the flashlight illuminates it.

However I can't fix this with offsets since it will look weird when the Player sprite is turned down.

Is there any way to place the light behind the player sprite when facing up, or any other fixes? Thank you for a great plugin, @Shora !

View attachment 317463
The only way to actually have your desired effect is re-render the player sprite again after render the lighting. I don't know if it can be done easily, but I will try to include it in the next version.
how to enabled the darken map on spesific map? i started with $gameLighting.disable() and make some switch trigger to make it enabled when enter that spesific map and turn back disabled when out from the map, but it doesnt work. any idea?
There is a TypeError when using this plugin (v.1.9.7) with Chaucer's Scene Stabilizer (7.3.0) on MV 1.6.2 (NWJS v0.89, PIXI v4.8.9). Also tried placing above and below Chaucer's plugin.

The plugin by itself, though, is working great!
The only way to actually have your desired effect is re-render the player sprite again after render the lighting. I don't know if it can be done easily, but I will try to include it in the next version.
That would be amazing! Hope this gets added.
Or maybe add a custom flash light image feature? So you can create a flash light image for each of your animation frame. So you can actually have a walk animation of the light.
(Sorry the mock-up is bad).
1726572613697.png


In @HolyKonni 's case, maybe something like this?
1726573119300.png

Shora​

hello, i know your plugin makes light but can it make shadows? i mean same like light but just black shadows.

in dark shadows disappear and appear in day light.
work like light but other way around 😀

this is light on top i created
1727178780770.png

at night empty spots looks like shadows but day time looks bad
1727179295963.png

you can see in this video i created ''night shadows'' but at day they dont work, just need same like light but just add black color for shadows, this would be game changer. definitely send you some money for this!


so basically 1, is your light system it works at night
and shadows 2, they work at day time
1727179966374.png
Hi, thanks for the plugin! I've been using it without trouble for months now and it's been perfect. I have encountered this one bug though (on MZ); it happens all the time when a battle ends and also in the lighting demo when I Escape from the goblins. It disappears when I set Battle Lighting: Defaults to false but then that disables the battle lighting feature. I want to try it out though, it looks great. I hope this helps, and thanks again!

1727431618643.png
For some reason the walls won't light up even light is shone directly at it. I used terrain tag 1 for the wall and 2 for the top wall.

Appreciate any help.
I'm not sure what's up with that either, having the same issue. Changing the terrain tag number doesn't seem to help it either.
Hey all, having a weird issue that i'm just noticing at least.

No matter what I set the Time parameter to in the Set Map Ambient plugin command to, the lighting just automatically switches to the next one.


For context I have set up a variable based Day/Night Cycle. Rather than gradually transitioning from One Ambient Light to the next at the appropriate times, its just blink to the next one in an instant.

Spoiler: Midnight Lighting Event
Midnight
1728951896238.png

Spoiler: Dawn Lighting Event
Dawn
1728951941841.png


I've tried setting the time as high as 3000 for the Dawn event, no difference.
What parallax plugin are you guys using with this plugin? I can't use qmap due to interference with another plugin so I've tried galv layers and it lags when I have a light set on the player. Anyone have any success without lag with other parallax plugins?

Edit: Also tried orangeOverlay to parallax, and it lags when the player has a light on them as well. If I discard the light there is no lag. Seems to only be a problem with parallax mapping and the player themselves having a light on them as my map has around 20 lights and has no lag unless the player has a light.
Danatoth when i put plugin more up it makes lag or not work, so i make this...

1729721921092.png
Hello, im having a minor problem with the lighting when an enemy is defeated multiple lights spawn and move with the player in the screenshot attached the only light that should be present is at the bottom below the cell bars

i am new to RPG maker so i dont know how to fix this myself help would be greatly appreciated

(RMMV)
For some reason the walls won't light up even light is shone directly at it. I used terrain tag 1 for the wall and 2 for the top wall.

Appreciate any help.
I also have this. I tested it and I have the same problem in the demo itself (v.1.9.7).
Heyyy

I think someone wrote it already, but I think the terrain tags are not detected in new projects. In fact, they only work in the demo, somehow.

I created a new project for testing purposes, and the issue is there: PROJECT

EDIT: Looks like it only happens with terrain tags 1 (wall) and 2 (top wall). Using other terrain tags will result in the issue seikenproductions is having.
Having a massive brain fart, mainly cause i could swear i've done it before. Can the ambient lighting impact battle?
Hey all, having a weird issue that i'm just noticing at least.

No matter what I set the Time parameter to in the Set Map Ambient plugin command to, the lighting just automatically switches to the next one.


For context I have set up a variable based Day/Night Cycle. Rather than gradually transitioning from One Ambient Light to the next at the appropriate times, its just blink to the next one in an instant.

Spoiler: Midnight Lighting Event

Spoiler: Dawn Lighting Event


I've tried setting the time as high as 3000 for the Dawn event, no difference.
Make the "Wait" parameter for 999 seconds, then you will get a smooth transition
Sorry I encountered a crash.

It occurs when a battle ends while I have pixi.js installed.

Thanks in advance for the help.
Sorry I encountered a crash.

It occurs when a battle ends while I have pixi.js installed.

Thanks in advance for the help.
Yes, in the latest version there is a problem that after leaving the battle an error occurs. It was already written above. It is better to use 1.9.5 for now. Or disable the new function, although I think without it the error also occurs.

Original thread: https://forums.rpgmakerweb.com/threads/mz-mv-v1-9-7-shora-lighting-shadow-system.131410/