Okay, so, I was discussing this with a friend. We were talking about lighting in a 2D RPG and how even with overlay mapping, it can still not look very real. I was wondering if this could be done via scripting and if someone talented enough could make it.
The idea is that the script would use region ID's assigned in a call in an event that as soon as the actor starts stepping into the region ID assigned and set on the map, it would cause the character sprite itself to tint to a certain color that is also defined via a script call with a fade timer in frames. Ex.:
a = set.region(id#)
a.set_effect(time in frames,r,g,b,a)
This would apply to events and the character sprites that step foot into these regions. This would essentially make fade in shadowing onto characters (including followers) and events to simulate a more realistic shadow onto the PC's and NPC's. Now, this can also set the fade back out to normal colors with a different region ID, in a script call like the example shown above.
Is this doable and if so, does anyone want to take on this task? It would make for far more interesting effects in RM games!
The idea is that the script would use region ID's assigned in a call in an event that as soon as the actor starts stepping into the region ID assigned and set on the map, it would cause the character sprite itself to tint to a certain color that is also defined via a script call with a fade timer in frames. Ex.:
a = set.region(id#)
a.set_effect(time in frames,r,g,b,a)
This would apply to events and the character sprites that step foot into these regions. This would essentially make fade in shadowing onto characters (including followers) and events to simulate a more realistic shadow onto the PC's and NPC's. Now, this can also set the fade back out to normal colors with a different region ID, in a script call like the example shown above.
Is this doable and if so, does anyone want to take on this task? It would make for far more interesting effects in RM games!