(MV Version only) Do you think canvas fall-back for this plugin is neccesary?


  • Total voters
    38
  • Poll closed .

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,243
Reaction score
3,515
First Language
Dutch
Primarily Uses
RMMV
@Teostratos & @Puppet Knight
if you want it activated midgame, use one of those (also on page 1 where I told it:

1) by using: $gameLighting.enable();
2) by using: $gameLighting.disable();
3) by using: $gameLighting.setPluginStatus(true/false);

by 3, use either true, to "enable" it, use false to "disable" it

if you go 1,2 pages back, you get set the do around:

$gameLighting.setStatus(eventID, "on"/"off") if you use the comment there.
 

Shora

Regular
Regular
Joined
Apr 12, 2020
Messages
108
Reaction score
241
First Language
Vietnamese
Primarily Uses
RMMZ
My exact issue ^. I want to be able to use this without calculating 50 light events per map lol

Is there a way to activate it mid game? I was planning on using this for a night time, but if I activate the plugin It's always dark.
You can use the following scripts: $gameLighting.enable() and $gameLighting.disable()

Alternative way is to use $gameLighting.setPluginState(true / false)
 

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,243
Reaction score
3,515
First Language
Dutch
Primarily Uses
RMMV
@Shora is setPluginStatus changed to setPluginState?
as I didn't know about that change though :)
 

Puppet Knight

Knight on a Crossbar
Regular
Joined
Aug 3, 2022
Messages
723
Reaction score
940
First Language
English
Primarily Uses
RMMZ
You can use the following scripts: $gameLighting.enable() and $gameLighting.disable()

Alternative way is to use $gameLighting.setPluginState(true / false)
Have combed through a couple times, but not finding in help if its there. Is there a way to set the entire screen to like "day light" Or a trick we can think of to set a single large source of light on the map so shadows still work the same in outdoors without creating a lot of events?
 

Shora

Regular
Regular
Joined
Apr 12, 2020
Messages
108
Reaction score
241
First Language
Vietnamese
Primarily Uses
RMMZ
@Shora is setPluginStatus changed to setPluginState?
as I didn't know about that change though :)
Oh I just changed it in the current version. It was unncessesary though so I:m gonna revert it back to the old name xd.
Have combed through a couple times, but not finding in help if its there. Is there a way to set the entire screen to like "day light" Or a trick we can think of to set a single large source of light on the map so shadows still work the same in outdoors without creating a lot of events?
Did you try the setMapAmbient plugin command? Changing it to #FFFFFF in 0 tick will make the map instantly *in daytime*, the same as having the lighting disabled.
 

Puppet Knight

Knight on a Crossbar
Regular
Joined
Aug 3, 2022
Messages
723
Reaction score
940
First Language
English
Primarily Uses
RMMZ
Did you try the setMapAmbient plugin command? Changing it to #FFFFFF in 0 tick will make the map instantly *in daytime*, the same as having the lighting disabled.
Ill give it a go!

@Shora for clarity, a tick for your plugin is the equivalent of 1/60 of a frame, yes?
 
Last edited:

riggy2k3

Villager
Member
Joined
Apr 17, 2018
Messages
9
Reaction score
3
First Language
english
Primarily Uses
RM2k3
Would love to know how to control activating and de-activating as well. I'd like to manually create and design light sources for cutscenes as well as use maps for other purposes (like plot) without the light impacting it.

Edit: Oops sorry, a few posts loaded after the fact and I think my question might've been answered.
 

Puppet Knight

Knight on a Crossbar
Regular
Joined
Aug 3, 2022
Messages
723
Reaction score
940
First Language
English
Primarily Uses
RMMZ
Would love to know how to control activating and de-activating as well. I'd like to manually create and design light sources for cutscenes as well as use maps for other purposes (like plot) without the light impacting


In the cutscenes event you can update the ambient lighting via plugin command to suit your needs.
 

Tobys7

Warper
Member
Joined
Jan 16, 2022
Messages
4
Reaction score
2
First Language
German
Primarily Uses
RMMV
Awesome Plugin :kaojoy: I just found it and it creates wonderful atmosphere.
I’m pretty new here and hope you can help me to fix a little problem - trying to add lights with this plugin to GALV Map Projectiles in my project.

In an old post by @Enigma_Productions was a solution for showing pictures above the “shadow layer”, sadly I can’t found the right lines in the current version.

If there is an option with 1.8.4 to un-shadow pictures or if someone knows how to create projectiles with light would be awesome. :kaoluv:

In every case thank you so much for this wonderful Plugin @Shora , I’ll definitely hit you up when I finish my game some day. :kaoluv:
 

Dark_Ansem

Regular
Regular
Joined
Jun 16, 2020
Messages
654
Reaction score
162
First Language
English
Primarily Uses
RMMZ
Oh I just changed it in the current version. It was unncessesary though so I:m gonna revert it back to the old name xd.

Did you try the setMapAmbient plugin command? Changing it to #FFFFFF in 0 tick will make the map instantly *in daytime*, the same as having the lighting disabled.
I'm glad to see you're still active!
 

Zer0Morph

Regular
Regular
Joined
Sep 8, 2022
Messages
95
Reaction score
52
First Language
English
Primarily Uses
RMMZ
This was probably already answered somewhere above, but when I go to your Itch.IO page and download 1.8.4, the .js file says it's 1.8.3.

Is that a typo or is it really 1.8.3? Where can I get 1.8.4?
 
Last edited:

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,243
Reaction score
3,515
First Language
Dutch
Primarily Uses
RMMV
@Zer0Morph the version you download = 1.8.4 just wrong number as forgetting
the number to be correctly, so you are all good :)
 

Puppet Knight

Knight on a Crossbar
Regular
Joined
Aug 3, 2022
Messages
723
Reaction score
940
First Language
English
Primarily Uses
RMMZ
Because I'm apparently blind, how do i alter the radius of an individual light? lol
 

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,243
Reaction score
3,515
First Language
Dutch
Primarily Uses
RMMV
@Puppet Knight there should be a scriptcall to adjust those, depending
where you use it, it can also be done by switches if not by variables.

if not by variables to increase the radius, it might be a nice suggestion to add?
but it should be explained how the radius is set, use that ID to increase/decrease
the light you want.

I'm to busy atm to check though.
 

ConnyState

this is hard.
Member
Joined
Jun 2, 2022
Messages
5
Reaction score
3
First Language
English
Primarily Uses
RMMV
Hi, could anyone help me with this issue I'm having, I'm not sure if it's plugin limitations or if I'm doing something wrong? But basically, some lights go through walls when they shouldn't, some lights don't display due to the "Shadow Ambient" and the "Top Block Ambient" parameters being set to "Black".
You can see these issues in the video linked below and some simple walls glitching out and letting light through. I made the switch from Khas's Lighting, and this one feels a lot more complicated to figure out as Khas's plugin did exactly what I wanted it to very easily. I also added a picture of how the regions are set up. I really hope I'm just doing something wrong. Any help is appreciated, thanks!
https://youtu.be/ibh0nW5NZ6E
 

Attachments

  • RegionSetup.PNG
    RegionSetup.PNG
    435.3 KB · Views: 4

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,243
Reaction score
3,515
First Language
Dutch
Primarily Uses
RMMV
@ConnyState I'm not entirely sure, but you use 2x region 2 or 3 or 4 which should
be avoided and might cause the issue!

the thing you could do, is where 332 and top 2, than the top there is also 3.
so increase the top number with +1 but still, I dont know if that should fix your
issue, or remove the bottom region number and increase the one above it, with +1.

you should test around that, otherwise, @Shora need to take a look at it if my solution
or guess dont work.
 

Zer0Morph

Regular
Regular
Joined
Sep 8, 2022
Messages
95
Reaction score
52
First Language
English
Primarily Uses
RMMZ
If anyone has any idea on how to prevent the color change when 2 lights collide, I would be eternally grateful. For some reason, whenever a light gets to close to another light, a weird green light appears near the inner glow of the two lights.

1683947427420.png
 

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,243
Reaction score
3,515
First Language
Dutch
Primarily Uses
RMMV
@Zer0Morph what color do you use?

if you use the same color of light, its weird, but if you use a different color,
than I dont know, but that doesn't have to be the plugins fault, it can be how
WEBGL or how the lights is being made works.

which is something the plugin creator cannot fix if that would be the case.
it's hard to tell how to solve it though and/or if it happens as well if you use
a different color.
 

Latest Threads

Latest Profile Posts

So in my SRPG, when kill monsters, they leave an aura that grants +20% Crit, +20% PDMG MDMG. Aura lasts only for 1 turn, it forces players when and where to last hit.

1702177938686.png
So frustrating when you just wanna work on your game but people want to do stuff in RL... :p
Day #9 of Advent is all ready in one spot! Do you prefer doing your shopping way before Xmas, or…do you like the chaos? Are you done shopping and/or crafting for Xmas?
Fast test with Wagon and horse no animation. yes it looks strange horse is Ralph and wagon is follower xDDDD
Should first boss be easy or maybe little medium, I don't want to be overwhelmingly hard

Forum statistics

Threads
136,888
Messages
1,271,063
Members
180,663
Latest member
brendancamarillo
Top