I want the whole map to be kinda dark and hide certain objects like loot,chests or enemies and only visible if something lights them up, something like this but it hides loot on the floor and enemies. I was just wondering if this is even possible
How do I create "darkness"
RPG Maker VXAce SupportThe easiest way is on event commands page 2, Tint screen. Other things is if you need a light source like on the example you provided. Then you need a plugin/script for this, or, you create a black picture which is bigger that your game screen, cut a circle in the middle (this will be the radius of light for player) and bind the picture to the player, so he can only see a little nearby (the light radius), and other will be black or you can make it a little transparent (also in show picture command).
What I think might be the perfect solution for you is Galv's Visibility Range script. You can find out about it here. I've used it and it was very straightforward and reliable.
I use a script but here's a tutorial on how to do it with no scripts.
Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-create-darkness.155104/