The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: Kojinus on February 21, 2010, 10:34:49 PM

Title: [RESOLVED]Light
Post by: Kojinus on February 21, 2010, 10:34:49 PM
 ??? Hello, I am trying to make a cave, where when you go in it's really dark. Well I've managed to make it dark. Pitch black, but I want to have it so that when there is a Lantern in the inventory, a small area around the player becomes illuminated. Kind of like in Pokemon, when you use flash or whatever in a cave that is dark as hell. Can anyone help?
Title: Re: Light
Post by: Irock on February 21, 2010, 10:50:21 PM
Set the tint to a normal tint and apply an overlay image like this:

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi45.tinypic.com%2F2yl0e4y.png&hash=1fe8d6ef73d1baeae9f7ef10fbfaa9355131658a)

The center is transparent.

Make sure you leave enough padding between the cave where the play can walk and the edge of the map. The player must never leave the center of the screen.
Title: Re: Light
Post by: Kojinus on February 21, 2010, 11:03:40 PM
Thank you very much. That worked. :D
Title: Re: [RESOLVED]Light
Post by: Irock on February 21, 2010, 11:11:30 PM
No prob, bob.