Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Small question about Terrax Lighting plugin. Not sure how to fix a certain issue I've run into.

ddblue0

Villager
Xy$
0.20
Hello all!

I love the Terrax lighting plugin and I got it working the way I like, almost.

I found the flashlight settings to be a bit bright, so I changed the color to something darker to compensate.
I found a color I like, but for some reason the player still glows brightly.

Here are screenshots to describe what I mean:





The settings I used are as follows:



Lastly, the plugin can be found here:

https://forums.rpgmakerweb.com/index.php?threads/terrax-lighting-system.49339/

Can anyone help me figure out what I need to change to get that light around the character to either match the flashlight beam or disappear completely?

Thank you for your help.
 

CT_Bolt

Global Moderator
Staff member
Resource Team
Xy$
0.02
Hello all!

I love the Terrax lighting plugin and I got it working the way I like, almost.

I found the flashlight settings to be a bit bright, so I changed the color to something darker to compensate.
I found a color I like, but for some reason the player still glows brightly.

Here are screenshots to describe what I mean:





The settings I used are as follows:



Lastly, the plugin can be found here:

https://forums.rpgmakerweb.com/index.php?threads/terrax-lighting-system.49339/

Can anyone help me figure out what I need to change to get that light around the character to either match the flashlight beam or disappear completely?

Thank you for your help.
Haven't tested yet, but looked at the js file.
... have you tried this plugin command?
Code:
Light 250 #FFFFFF 1
 

ddblue0

Villager
Xy$
0.20
Thanks for your reply.
I just tested that out as a plugin command, but it made the map entirely black. :D
[doublepost=1527954511,1527948386][/doublepost]Thank you for your assistance, but I was able to solve the problem.
Someone on another forum led me to this invaluable bit of info:

on line 2804,
context.fillRect(x1-r2, y1-r2, r2*2, r2*2);
needed to be commented out.

Apparently there was no way to handle this in-game, so editing the .js directly was necessary.

Fortunately, the author states that this is OK in his terms (MIT license).

So problem solved! Thank you for your time.
 
Top