How do I set a room to be completely dark and then turn it back to normal when the door is opened?

I saw it in a game before.When the door is not opened, it is completely black. After the door is opened, the scene becomes normal. Then when I go out, it is still completely black.It is the same room in the same scene.
I only know one method, which involves two maps. One map is set to black tiles, while the other is normal. After opening the door, you can teleport.However, this method seems too clunky.Is it really the right way?
This is a support topic so I’ve moved this thread from General Discussion to RPG Maker VXAce Support based on your “primarily uses.” If you’re using another engine for this, let me know so I get it moved to the correct support section. Thank you! And, welcome to the forums!
Sorry, I didn't make myself clear. I used RPG Maker MV.
This is a support topic so I’ve moved this thread from General Discussion to RPG Maker VXAce Support based on your “primarily uses.” If you’re using another engine for this, let me know so I get it moved to the correct support section. Thank you! And, welcome to the forums!
There are many ways to make a map "dark". The two most commonly used are:
1) tint commands shifting the colors to the darker end
2) black picture covering the screen

The second option is especially common if you want the player to have a low range torch: make the center of the black poicture transparent and it will only hide what is farther away under black.

The other part depends on how you created the black, but usually involves turning a switch when the door is open and change the behaviour when that switch is on - either different tint or different picture or whatever.
No worries, quick fix! I have moved this to RPG Maker MV Support.
I tried to modify the color tone, but this is a modification of the entire map. I mean a room in the entire map.
I will try the second method, although I feel it is not very simple. Thank you very much for your answer.
There are many ways to make a map "dark". The two most commonly used are:
1) tint commands shifting the colors to the darker end
2) black picture covering the screen

The second option is especially common if you want the player to have a low range torch: make the center of the black poicture transparent and it will only hide what is farther away under black.

The other part depends on how you created the black, but usually involves turning a switch when the door is open and change the behaviour when that switch is on - either different tint or different picture or whatever.
I'd definitely go for the 'show picture' option.
This is what I did when I had to do the same thing.

Take a careful note of the exact full size of the map in question.
Note precisely where the room will be e.g. 12 tiles from the left and 22 tiles down from the top.
Open your image program. I use GIMP myself, but the same process works in PhotoShop or any image prorame which has a grid.
Set the grid to 48 x 48, count out the tiles until you come to where your room is, and fill that in with black. Leave everything else transparent.
Import your image into Pictures folder in your project.
Have the image loaded as part of your usual parallel process event which loads up with the map. Set it to Upper left, 100% size, 255 opacity.
On the door, have an erase picture command. The black patch vanishes immediately.
When it closes again, have show picture command. The black patch reappears.

EDIT
I forgot to specify that you create a blank image in your image program that is exactly the same size as your map. It's on that blan image that you work out where to put the black patch.
Wow, this method is clever. I like it.Thank you.
I'd definitely go for the 'show picture' option.
This is what I did when I had to do the same thing.

Take a careful note of the exact full size of the map in question.
Note precisely where the room will be e.g. 12 tiles from the left and 22 tiles down from the top.
Open your image program. I use GIMP myself, but the same process works in PhotoShop or any image prorame which has a grid.
Set the grid to 48 x 48, count out the tiles until you come to where your room is, and fill that in with black. Leave everything else transparent.
Import your image into Pictures folder in your project.
Have the image loaded as part of your usual parallel process event which loads up with the map. Set it to Upper left, 100% size, 255 opacity.
On the door, have an erase picture command. The black patch vanishes immediately.
When it closes again, have show picture command. The black patch reappears.
I have added an edit for the sake of clarity.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-set-a-room-to-be-completely-dark-and-then-turn-it-back-to-normal-when-the-door-is-opened.162059/