Game Dev Contest
Join in on the Game Development contest with over $300 in prizes!
Banner Creation Contest!
Help the community out by creating your own version of the banner, and potentially having that as the main banner!
Resources
Check out our resources :D
Upgrade your account
Help out the community, and keep the website running and fully up to date by donating! :D

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

GO TO ADMIN PANEL > ADD-ONS AND INSTALL ABSTRACT SIDEBAR TO SEE FORUMS AND SIDEBAR

ddblue0

NPC
Joined
Feb 4, 2018
Messages
10
Points
2
RM Skill
Writer
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
Joined
Nov 12, 2015
Messages
552
Points
248
RM Skill
Programmer
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

NPC
Joined
Feb 4, 2018
Messages
10
Points
2
RM Skill
Writer
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