Hi, could you update your plugin so that it works with PIXI 5.3.0? The moving lights (e.g. lantern, flashlight) all lose their smooth boards in this version of PIXI. The same doesn't happen with the community lighting plugin.
I could update it to 5.3.0, but I think I could be incompatible with earlier version of PIXI, which RPG Maker is using. So currently I will just stick with the default PIXIJS version.
I'd be grateful if you can provide a small demo, or at least a map that demonstrate the problem for me, that would certainly help me fixing your problem. Currently I can't recreate the problem on my side, sorry!
Hello!! Fantastic plugin to start!. Why im here..I know you can shut off the entire map lighting by adding [lighting off] into the comment of a map setting but i was wondering if there was an event line to control this aspect or if its stuck in the map settings. Im sure its user error on my end but figured id reach out here.
I'm uncertain as to how to use Terrain Tags in order to have the map cast the shadows without using the Region ID. The rpgmaker thread says it can be changed in game settings, but I don't see the option for it anywhere in the plugin settings? I see in another comment that it isn't implemented, and I'm wondering is it a bug that it was left out by mistake, or was it causing issues and needed to me disabled?
is not implemented yet for checking Terrain Tags. Are there plans to implement this? I was curious why my Terrain Tags were not working and dug into the code a bit
Same, I use Region ID to set what spawns and Region restrictions, so the shadows don't work on my maps, and look weird when I walk up to a region ID marker
To be fair to the author, it looks like you have to iterate though all layers of all tiles in a given scene to find the tile tags from the current RPGMZ APIs so solving this is a bit more challenging and probably needs a more efficient way to approach this i.e. needs to iterate once per scene start and cache tile references with tags in some type of hash map or look up table to make this more efficient. I was thinking about doing it and sharing the code but not a lot of time currently and I am forcing myself to finish a short game I am working on right now
Is there a way to set the offset for the light based on which direction the sprite is facing? I'm using taller sprites and the flashlight is illuminating my character's head.
I didn't have that use case yet, so it wasn't implemented. I don't really understand your intentions, so if it is possible, could you send a simple demo with your minimal setup (plugins) and my plugin? I will add this feature if it is possible. We can talk more about this if you want, via forum PM or Discord DM. :D
I'm mostly just looking to be able to set the light offset for when my character is facing up, down, left, and right individually. So, if I'm facing right it's say: 12, 20 but facing left it's -12, 20. Same for up or down.
I've been struggling with trying to use this plugin, I'm new to RPGMMZ and there are not many tutorials to help, it would be great if anyone could help, I can't seem to figure out how to use it (I'm trying to have a flash/light follow my character)
Hello everyone! I really love the light plugin -ShoraLighting-.js!!! But I've got one problem: The light's turn off as soon as the actor is not within 8 or 10 tiles of them. Is there a solution for this? With similar plugIns, you can set the range of the lights to be charged. But I would much rather use this PlugIn. Kind regards -Splatterguy-
Hey there! I currently only accepted PayPal, so if you have a bank account you can link it with your PayPal account and buy the license by that. I'm uncertain if there way to transfer iDeal to PayPal though, so you can look into that.
Hello I tried downloading the demo mv 1.9.1 rar but before having the chance to extract it I just get a window error that says "the archive is either in unknown format or damaged." if I open the folder.
Did you solve the issue? I did try to re-extract the file, and it seems to work perfectly for me. You can try to use 7zip as mine, though I did compress the rar using winRAR.
Is there a place where all commands and parameters are listed for this plugin? Also is there a comprehensive guide on how to use this plugin? I read the itch.io post and wiki and RMMZ forum and that seems like its only scratching the surface. Thanks for this amazing plugin its super cool!
I tried to rewrite the wiki section not a long time ago, but seems like it still barebone and not having enough information. Currently I'm refactoring my code, so hopefully there will be a better API documents by then. Thank you for support my plugin!
This is so amazing! yer on the buy list for sure when I get new jerb or save enough from the shite mobile games Im playing ;-; this will make my free stuff Im making SOOO much better! I had to start looking at this cause the new update and galv DO NOT get along randomly so my old way of doing shadows for myself just doesnt work ;-; but this is SUCH AN UPGRADE! thank you so much for allow us to use it for free for non commercial! saved my game lol. your demo project sincerely blew me away with its dynamic lighting. (figured this part belonged in comments not review)
Thanks you so much for continuing this plugin. This is the best lighting one.
Unfortunately, the 1.9 (MZ) seems to have trouble with me. I don't know why, but when carrying a light, if the player do some specific action, the lights settings suddenly change for 1 frame. Going back at 1.8, and no problem. So will stay on that one for now as the constant flashes are desorienting ^^;
Do you want me to send something to understand/inspect the thing ? :)
Hey there, thank you for your report! I don't understand the issue though, can you tell me more about it? If you can, consider adding me on Discord (.shora), I'd gladly fix the bug!
Hi, I have one question, I was interested in buying your light plugin, but I only see it available here and with paypal, I wonder if you can't upload it to Steam? To be able to buy it from there.
Hey there, I don't upload it to steam, since you can download the plugin here freely. You only need to buy the plugin via PayPal if you planning to use the plugin for commercial purposes :D.
Hello, would it be possible to maybe set the ambient light on a map, with a notetag in map properties? It would be an easy way to define which maps are sunny outside or which maps are dark dungeons (maybe not easy to code though, I don't know much about that)
hola shoraaa tengo una preguntaestoy un juego y me preguntaba si podia usar este plugin lo digo por que no entiendo lo de licencia comercial si es que no puedo usarlos si pagar o si es que no me quiero meter en problemas entonces me puedes decir porfa?
Hey there, thanks for using my plugin! For the TOSs, you can freely use the plugin as long as your game is non-commercial (completely free to play). If it is commercial by any means however, you are required to buy the commercial version license in order to use it in your commercial project! Help it help clear the confusion~!
Hi, I have one question, I was interested in buying your light plugin, but I only see it available here and with paypal, I wonder if you can't upload it to Steam? To be able to buy it from there.
It should be. But I'm not sure about those "Core" plugin, as they may change the way the game function. If you have any problem with those, just let me know!
Hey Shora, another issue: The light's turn off as soon as the actor is not within 8 or 10 tiles of them. It's noticeable because the ambient light disappears at the edges of the screen when you walk away.
Is there a way to download the old 1.83 version for now?
I temporally added the old version to the download section (you need to remane it back to -ShoraLighting-.js), but I still want to solve all the issue you exprienced. Do you have a Discord? Please add me Shora#3835, I'd like to hear about all your issues.
You can disable lighting every time with a simple script call: $gameLighting.disable(), and it will completely turn off the plugin for you. Another way is to just set the ambient of your desired map to #FFFFFF, which is the same as not having shadow.
hi there, can someone tell me how to use the plugin? i used to use khas lighting system and i hop into this plugin instead. i tried to use the plugin but it doesn't do anything (no error or anything, it just doesn't work). i already follow the tutorial but it still the same.i don't know what I did wrong here
i did. i was using khas lighting plugin before i turn to yours. when i copy the image from your plugin demo folder to my own folder, it didn't work at all. i guess both plugin clash with each pther and if not, maybe my other action did it though i forgot what.
If it didn't work at all, can you provide me if there any error show up when you opened the Developer Console (F12)? Also, can you think of any plugin which would clash with the lighting plugin? I would like to have the plugin list if possible!
hmm, when i try to use the plugin it didn't say any error. My game works perfectly fine, maybe i lt's just me who don't know how to trigger the plugin.
You can disable lighting every time with a simple script call: $gameLighting.disable(), and it will completely turn off the plugin for you. Another way is to just set the ambient of your desired map to #FFFFFF, which is the same as not having shadow.
So, first off. I did DL this for free (For Now). I am going to see if I can actually figure it out, if I can, I will pay for the commercial version. Now my big question because this part always messes with me.
Create a folder named lights in /img/, and puts your light images in here.
where do I get said images? This part always gets to me. Also, to be sure...this is made for MZ as well, correct?.
You can create a simple light image from any image editing app, or you can just use my image from the demo to get a quick start! It totally free for anyuse.
Hi, when I try to run the game with other plugins, I get "update" property error.
Here is the plugin-list I am using. It seems to give the above error when the "CMGZ_TitleSystem" plugin is enabled. Is it the plugin incompatibility or something that I have missed. The "CMGZ_TitleSystem" plugin allows me to run a map in the titles screen.
Be sure that in the Ref [name]: section is "test" without quotes. Also I strongly recommend to use the newest comment syntax: [<light_name> -<setting_name> <value> ...], by this you can freely override any default settings as you want for individual light. For example, if you just want to modify the light "test" radius and status, use [test -radius 120 -status off] instead of create a new custom light.
Also be sure that the image are properly located in /img/lights/, you can check this by double click on the Image [.png] setting and see if it show the image.
*edit: I fixed it that way: enter in the plug in manager -> right click on '-ShoraLightning-' -> Edit -> double click on [Lights: Default] -> Double click on Image [.png] -> click on the bar before 'img/lights/' -> select 'default' (the light png example image) -> click 'ok' and that's it!
Hey there! absolutely loving the plugin so far! Got into a bit of a hiccup though.
I was controlling the light my player held through a common event in MZ, and i needed to change the color parameter for the light, but every time I change it (i did use hex) it would switch the light off. Plus the random color parameter wouldn't work in common events, it just goes to white. Is there something I am missing?
Hello, most bugs from plugin update is because of the new parameters in the Plugin Manager left blanked. You can try to check if there any. If the problem still insist, please provide the console image, and contact me though forums/discord, I will try my best to help :D
Hey. I doubt if it going to work with MZ3D, since both are conflict in term of graphics. The JABS should work fine! Give it a try, and report back if anything don't work!
← Return to Plugin
Comments
Log in with itch.io to leave a comment.
Hi, could you update your plugin so that it works with PIXI 5.3.0? The moving lights (e.g. lantern, flashlight) all lose their smooth boards in this version of PIXI. The same doesn't happen with the community lighting plugin.
I could update it to 5.3.0, but I think I could be incompatible with earlier version of PIXI, which RPG Maker is using. So currently I will just stick with the default PIXIJS version.
Hey Shora, why are the vertical shadow areas lighter than the horizontal shadow areas?
I am using version 1.8.3. The same error also occurs in 1.9.4 (with the added issue of lights "turning off" when I get too far from them)
As of now, I can't use the shadow system.
I'd be grateful if you can provide a small demo, or at least a map that demonstrate the problem for me, that would certainly help me fixing your problem. Currently I can't recreate the problem on my side, sorry!
Was this ever resolved? I'm having the same issue, strangely enough.
Hello!! Fantastic plugin to start!. Why im here..I know you can shut off the entire map lighting by adding [lighting off] into the comment of a map setting but i was wondering if there was an event line to control this aspect or if its stuck in the map settings. Im sure its user error on my end but figured id reach out here.
You can turn off the lighting by using the script $gameLighting.disable(), and enable it again by $gameLighting.enable()
I'm uncertain as to how to use Terrain Tags in order to have the map cast the shadows without using the Region ID. The rpgmaker thread says it can be changed in game settings, but I don't see the option for it anywhere in the plugin settings? I see in another comment that it isn't implemented, and I'm wondering is it a bug that it was left out by mistake, or was it causing issues and needed to me disabled?
it looks like
_.scanTileNoteTag = function(tileNoteTag) {
//
}
is not implemented yet for checking Terrain Tags. Are there plans to implement this? I was curious why my Terrain Tags were not working and dug into the code a bit
Same, I use Region ID to set what spawns and Region restrictions, so the shadows don't work on my maps, and look weird when I walk up to a region ID marker
To be fair to the author, it looks like you have to iterate though all layers of all tiles in a given scene to find the tile tags from the current RPGMZ APIs so solving this is a bit more challenging and probably needs a more efficient way to approach this i.e. needs to iterate once per scene start and cache tile references with tags in some type of hash map or look up table to make this more efficient. I was thinking about doing it and sharing the code but not a lot of time currently and I am forcing myself to finish a short game I am working on right now
Is there a way to set the offset for the light based on which direction the sprite is facing? I'm using taller sprites and the flashlight is illuminating my character's head.
I didn't have that use case yet, so it wasn't implemented. I don't really understand your intentions, so if it is possible, could you send a simple demo with your minimal setup (plugins) and my plugin? I will add this feature if it is possible. We can talk more about this if you want, via forum PM or Discord DM. :D
I'm mostly just looking to be able to set the light offset for when my character is facing up, down, left, and right individually. So, if I'm facing right it's say: 12, 20 but facing left it's -12, 20. Same for up or down.
Did you find a way to offset the flashlight position?
I'm also curious if this is possible. My sprite's big head is illuminated when facing up.
I've been struggling with trying to use this plugin, I'm new to RPGMMZ and there are not many tutorials to help, it would be great if anyone could help, I can't seem to figure out how to use it (I'm trying to have a flash/light follow my character)
Did you check the wiki? https://github.com/shoraaa/ShoraLightingSystem/wiki
Also, the forums is a pretty lively place to get support. Did you try it yet? https://forums.rpgmakerweb.com/index.php?threads/mz-mv-v1-9-2-shora-lighting-sha...
I did, I forgot to update this but i've figured out my problem! Thanks for reaching out though
Hello everyone!
I really love the light plugin -ShoraLighting-.js!!!
But I've got one problem:
The light's turn off as soon as the actor is not within 8 or 10 tiles of them.
Is there a solution for this? With similar plugIns, you can set the range of the lights to be charged. But I would much rather use this PlugIn.
Kind regards
-Splatterguy-
I have found a solution to my problem.
After I used another image as a light source (I think it had a different scale), it stopped disappearing at the edge of the monitor.
Problem solved!
Hey there! I currently only accepted PayPal, so if you have a bank account you can link it with your PayPal account and buy the license by that. I'm uncertain if there way to transfer iDeal to PayPal though, so you can look into that.
Hello I tried downloading the demo mv 1.9.1 rar but before having the chance to extract it I just get a window error that says "the archive is either in unknown format or damaged." if I open the folder.
Did you solve the issue? I did try to re-extract the file, and it seems to work perfectly for me. You can try to use 7zip as mine, though I did compress the rar using winRAR.
It didn't work with rar but I downloaded 7zip and it could extract it now, thank you!
Best 30 bucks spend for dev
Hope this will aid you in the continuation of your work !
Now "let's there be light !" :)
Thank you!
Is there a place where all commands and parameters are listed for this plugin? Also is there a comprehensive guide on how to use this plugin? I read the itch.io post and wiki and RMMZ forum and that seems like its only scratching the surface. Thanks for this amazing plugin its super cool!
I tried to rewrite the wiki section not a long time ago, but seems like it still barebone and not having enough information. Currently I'm refactoring my code, so hopefully there will be a better API documents by then. Thank you for support my plugin!
This is so amazing! yer on the buy list for sure when I get new jerb or save enough from the shite mobile games Im playing ;-; this will make my free stuff Im making SOOO much better! I had to start looking at this cause the new update and galv DO NOT get along randomly so my old way of doing shadows for myself just doesnt work ;-; but this is SUCH AN UPGRADE! thank you so much for allow us to use it for free for non commercial! saved my game lol. your demo project sincerely blew me away with its dynamic lighting.
(figured this part belonged in comments not review)
Thank you for your kind words!
Thanks you so much for continuing this plugin. This is the best lighting one.
Unfortunately, the 1.9 (MZ) seems to have trouble with me.
I don't know why, but when carrying a light, if the player do some specific action, the lights settings suddenly change for 1 frame.
Going back at 1.8, and no problem. So will stay on that one for now as the constant flashes are desorienting ^^;
Do you want me to send something to understand/inspect the thing ? :)
Hey there, thank you for your report! I don't understand the issue though, can you tell me more about it? If you can, consider adding me on Discord (.shora), I'd gladly fix the bug!
Sure thing, sorry for the delay ! :)
Hi, I have one question, I was interested in buying your light plugin, but I only see it available here and with paypal, I wonder if you can't upload it to Steam? To be able to buy it from there.
Hey there, I don't upload it to steam, since you can download the plugin here freely. You only need to buy the plugin via PayPal if you planning to use the plugin for commercial purposes :D.
I like to pay creators for their work, whether I use it for commercial purposes or not, you have done a great job and deserve to be paid for it.
Hello, would it be possible to maybe set the ambient light on a map, with a notetag in map properties? It would be an easy way to define which maps are sunny outside or which maps are dark dungeons (maybe not easy to code though, I don't know much about that)
I'm working on that right now! :D Stay tuned!
Nice :D
1.9.1 version released! Massive MV optimizations (2fps -> 50 fps).
hola shoraaa tengo una preguntaestoy un juego y me preguntaba si podia usar este plugin lo digo por que no entiendo lo de licencia comercial si es que no puedo usarlos si pagar o si es que no me quiero meter en problemas entonces me puedes decir porfa?
Hey there, thanks for using my plugin! For the TOSs, you can freely use the plugin as long as your game is non-commercial (completely free to play). If it is commercial by any means however, you are required to buy the commercial version license in order to use it in your commercial project! Help it help clear the confusion~!
Hi, I have one question, I was interested in buying your light plugin, but I only see it available here and with paypal, I wonder if you can't upload it to Steam? To be able to buy it from there.
Version 1.9 is released! Feel free to give your feedbacks and feature suggestions!
Omg yes, Im so glad to know youre back, I can purchase now.
Thank you!
This shouldn't be incompatible with any plugin that doesn't handle lighting, yes?
It should be. But I'm not sure about those "Core" plugin, as they may change the way the game function. If you have any problem with those, just let me know!
ah you're right, I forgot about those, I'll just test and let you know. Do you have any recommendations on load order?
Hey Shora, another issue: The light's turn off as soon as the actor is not within 8 or 10 tiles of them. It's noticeable because the ambient light disappears at the edges of the screen when you walk away.
Is there a way to download the old 1.83 version for now?
I temporally added the old version to the download section (you need to remane it back to -ShoraLighting-.js), but I still want to solve all the issue you exprienced. Do you have a Discord? Please add me Shora#3835, I'd like to hear about all your issues.
Have you found a solution to the problem of the lights going out?
I'm struggling with the same problem and can't find a solution.
Hey, I just reverted back to the older version. Maybe there’s a fix now?
I have found a solution to my problem.
After I used another image as a light source (I think it had a different scale), it stopped disappearing at the edge of the monitor.
Problem solved!
How do you turn the ambient shadow off for certain maps? The plugin works great, but when I go outdoors it's completely dark.
You can disable lighting every time with a simple script call: $gameLighting.disable(), and it will completely turn off the plugin for you. Another way is to just set the ambient of your desired map to #FFFFFF, which is the same as not having shadow.
hi there, can someone tell me how to use the plugin? i used to use khas lighting system and i hop into this plugin instead. i tried to use the plugin but it doesn't do anything (no error or anything, it just doesn't work). i already follow the tutorial but it still the same.i don't know what I did wrong here
Did you have a folder named lights in /img/ ? You can just copy my lights folder from the demo to have a quick start :D
i did. i was using khas lighting plugin before i turn to yours. when i copy the image from your plugin demo folder to my own folder, it didn't work at all. i guess both plugin clash with each pther and if not, maybe my other action did it though i forgot what.
If it didn't work at all, can you provide me if there any error show up when you opened the Developer Console (F12)? Also, can you think of any plugin which would clash with the lighting plugin? I would like to have the plugin list if possible!
hmm, when i try to use the plugin it didn't say any error. My game works perfectly fine, maybe i lt's just me who don't know how to trigger the plugin.
How to not have the black shadow on all maps?
You can disable lighting every time with a simple script call: $gameLighting.disable(), and it will completely turn off the plugin for you. Another way is to just set the ambient of your desired map to #FFFFFF, which is the same as not having shadow.
So, first off. I did DL this for free (For Now). I am going to see if I can actually figure it out, if I can, I will pay for the commercial version. Now my big question because this part always messes with me.
Create a folder named lights in /img/, and puts your light images in here.
where do I get said images? This part always gets to me. Also, to be sure...this is made for MZ as well, correct?.
Thank you
You can create a simple light image from any image editing app, or you can just use my image from the demo to get a quick start! It totally free for anyuse.
The data in demo seems to be corrupted. If you could please re-upload the file, it would be much appreciated.
I love this, is it getting an update?
The download says its for 1.8.4, but once downloaded the js file says it's 1.8.3 -- is that a typo, or is the download not updated yet?
Giàu :(
Is there a command to turn off the plugin on a map?
Hi, when I try to run the game with other plugins, I get "update" property error.
Here is the plugin-list I am using. It seems to give the above error when the "CMGZ_TitleSystem" plugin is enabled. Is it the plugin incompatibility or something that I have missed. The "CMGZ_TitleSystem" plugin allows me to run a map in the titles screen.
Thank you for your help.
Hello, again.
How do I register a custom light in MZ?
I'm trying to use it but the plug in keep saying that the custom light is not registered.
I'm setting like: Ref [name] -> Value [test] and Image [.png] -> Value default on plug in manager.
Then, on the event, I set Comment : [light test].
When I start de game, It shows "Cannot find light named [test]. Please register lightning before use"
I'm really doing something wrong, aren't I?
Hello!
Can you use the default lighting normally?
Be sure that in the Ref [name]: section is "test" without quotes. Also I strongly recommend to use the newest comment syntax: [<light_name> -<setting_name> <value> ...], by this you can freely override any default settings as you want for individual light. For example, if you just want to modify the light "test" radius and status, use [test -radius 120 -status off] instead of create a new custom light.
Also be sure that the image are properly located in /img/lights/, you can check this by double click on the Image [.png] setting and see if it show the image.
Regard!
Hi!
Yeah, the custom light is working properly just like the shadows and etc.
I'll try what you suggested.
Thank you :)
i keep getting a type error on game launch " Cannot read property 'valid' null" whenever the starting map has a light
Hello, can you describe more details about the situation? What others plugins are you using with?
I ended up resolving the issue on my own.
I have the same issue. How did you fix it?
*edit: I fixed it that way: enter in the plug in manager -> right click on '-ShoraLightning-' -> Edit -> double click on [Lights: Default] -> Double click on Image [.png] -> click on the bar before 'img/lights/' -> select 'default' (the light png example image) -> click 'ok' and that's it!
require is not defined
Mobile devices =\
Check out the version 1.8.2
Hey there! absolutely loving the plugin so far! Got into a bit of a hiccup though.
I was controlling the light my player held through a common event in MZ, and i needed to change the color parameter for the light, but every time I change it (i did use hex) it would switch the light off. Plus the random color parameter wouldn't work in common events, it just goes to white. Is there something I am missing?
The tint parameter bug have been fixed in version 1.8.1 :D. Update the plugin and see if it work!
Hi! Just checked and the tinting works! Thank you so much!
*P.S The Random tint in the parameter is still funky because it seems to switch off the lights. The hex tints are working beautifully though!
Hi, how do I properly update the plugin? I'm getting a "cannot read property of null" error when I try to use 1.6 after using 1.5.
Hello, most bugs from plugin update is because of the new parameters in the Plugin Manager left blanked. You can try to check if there any. If the problem still insist, please provide the console image, and contact me though forums/discord, I will try my best to help :D
Try change the line 1110 to "this._spriteset.filters && this._spriteset.filters[1]" instead of "this._spriteset.filters[1]"
Hi. Is it possible to use with this plugins?:
MZ3D - 3D Rendering Plugin for RPG Maker MZ by Cutievirus (itch.io)
https://forums.rpgmakerweb.com/index.php?threads/mz-jabs-js-action-battle-system...
Regards!
Hey. I doubt if it going to work with MZ3D, since both are conflict in term of graphics. The JABS should work fine! Give it a try, and report back if anything don't work!
I love this tool. When is the next update coming?
The 1.4b version are out here, check it out!
Thank you very much!