Custom lighting for Yami's overlay script?

shieldings

Veteran
Veteran
Joined
Apr 22, 2016
Messages
33
Reaction score
1
First Language
English
Primarily Uses
Hello!  I'd like to make some custom lighting to put into my overlay folder.  However, I'm not sure what the specifications are.  I know they have to be jpegs, but I have no idea what else to do.  Am I allowed to tint it, or does it have to be black and white like the default?  Should I size it to match up with my maps, or should I make it repeatable?  Jpegs don't really include translucency (as far as I know...  I've never really done much work with them, I'm used to PNGs).  How do I signify how intense I want the light to be?



Thank you! :)


(PS: here's the default lighting from Yami's demo, to give you an example of what I'm talking about)


light1-1.png 
 
Last edited by a moderator:

Dark_Metamorphosis

What a horrible night to have a curse.
Veteran
Joined
Nov 23, 2012
Messages
2,192
Reaction score
382
First Language
Swedish
Primarily Uses
As for using the overlay script, I think that it will be fixed to the map if you name the filename according to the script, so I think you just need to have the correct resoloution of the map in order for it to stick properly. As for intensity I'm not entirerly sure, I think you can just intensify it if you use it with a show picture command but I could be wrong here. I have never had the need to intensify the light when using his overlay script though.
 
Last edited by a moderator:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
823
First Language
Hungarian
Primarily Uses
RMVXA
You can color it however you want.


The light overlay (and only that one!) will use the "addition" blend mode.


This means that whatever colors you used on your image will be added to any images on the screen below it (added, as in the images will merge their RGBA values).


I don't think I can actually explain this in an understandable way, if you never worked with blend modes, chances are, you won't be able to imagine the effect it will have.


The shadow overlay does the opposite, it's blending mode is set to "subtraction".


Just experiment with them, use different colors and you will see the difference between them.


Generally, the brighter colors you use, the more visible your light will be (by brighter, I don't mean "more white", I mean higher RGB values, like a high red value gives more red blending, and such).


And yeah, they are fixed overlays, so you will need to make them the same size as the map it is associated to, that way it will scroll with the map.


They work the same way as your non-looping maps. No idea what happens when you actually make a looping map though. I suspect it will have to be a real parallax which can be looped if it even shows up normally that way.
 

shieldings

Veteran
Veteran
Joined
Apr 22, 2016
Messages
33
Reaction score
1
First Language
English
Primarily Uses
You can color it however you want.


The light overlay (and only that one!) will use the "addition" blend mode.


This means that whatever colors you used on your image will be added to any images on the screen below it (added, as in the images will merge their RGBA values).


I don't think I can actually explain this in an understandable way, if you never worked with blend modes, chances are, you won't be able to imagine the effect it will have.


The shadow overlay does the opposite, it's blending mode is set to "subtraction".


Just experiment with them, use different colors and you will see the difference between them.


Generally, the brighter colors you use, the more visible your light will be (by brighter, I don't mean "more white", I mean higher RGB values, like a high red value gives more red blending, and such).


And yeah, they are fixed overlays, so you will need to make them the same size as the map it is associated to, that way it will scroll with the map.


They work the same way as your non-looping maps. No idea what happens when you actually make a looping map though. I suspect it will have to be a real parallax which can be looped if it even shows up normally that way.
Thank you so much!  I know how blend modes work (I do a lot of digital art stuff).  I don't really do looping maps, so that's not a problem.  You've saved my butt, yay!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,837
Latest member
Dabi
Top