Need help making my ruins a dark room with light around player mz

So i have a cave/ruins like map that is gonna be spooky kinda. and i want the play to be dark with a light around them. I know there are plugins but im not really sure how to use them bc this is my first game. but i saw someone say make a img with white circle in the middle and to do some variable switchs. im new to variable switchs but this is what i have. idk if its right and how to make the event? do i just have control switch to isdarkcave bc thats suppposed to trigger it. also idk the size of the circle dark back ground should be. here are a few photos of what i have.
Not sure what you want the variables for. If you're not using plugins, your player will always be on the center of the screen, so just display your circle like that and make sure that the border of the map has enough buffer space so the player never leaves the center of the screen.

In terms of the eventing itself you can simply display the circle like so at the entrance to your cave:
Fadeout>Show picture circle>Transfer player to cave>Fadein.

And you do the same thing on each exit out of the cave, except the you erase it.
Not sure what you want the variables for. If you're not using plugins, your player will always be on the center of the screen, so just display your circle like that and make sure that the border of the map has enough buffer space so the player never leaves the center of the screen.

In terms of the eventing itself you can simply display the circle like so at the entrance to your cave:
Fadeout>Show picture circle>Transfer player to cave>Fadein.

And you do the same thing on each exit out of the cave, except the you erase it.
i dont need the variables? i was following this guys tutorial


so if i just show picture it will be always centered? and it will follow me bc the character is always centered?
ok that worked thank you!
Not sure what you want the variables for. If you're not using plugins, your player will always be on the center of the screen, so just display your circle like that and make sure that the border of the map has enough buffer space so the player never leaves the center of the screen.

In terms of the eventing itself you can simply display the circle like so at the entrance to your cave:
Fadeout>Show picture circle>Transfer player to cave>Fadein.

And you do the same thing on each exit out of the cave, except the you erase it.
ok that worked thank you!
Not sure how a gimp tutorial relates to rpg maker variables, but glad you got it working. As I said, just make sure your map has a buffer zone around it for the camera so the player will remain centered even it they move towards the exit and such.
Not sure how a gimp tutorial relates to rpg maker variables, but glad you got it working. As I said, just make sure your map has a buffer zone around it for the camera so the player will remain centered even it they move towards the exit and such.
sorry that was the wrong video lol

Yeah, as you can see in the video, the map is smaller than the window size which is why the circle has to follow the character due to them not centering on the screen.

In that case you'll need variables and constantly check the player location for the circle to move. But I find just accommodating the circle by having a buffer zone around the map is much more efficient and less lag-prone as well as being much easier to event.

again, nice that you got it working. Good luck with ya game.
I just want to add a little thing to the topic : @Rehtinor had a great plugin to lock the player in the middle of the screen, with a global configuration, or per map (with a notetag).
The plugin was made for MV but it works in MZ.


I don't know why the forum displays a 404 error, but if you look at the html of the page you can find the URL for the link :

Code:
https://pastebin.com/kGxeqj23

Original thread: https://forums.rpgmakerweb.com/threads/need-help-making-my-ruins-a-dark-room-with-light-around-player-mz.182579/