I want to instantly blackout the whole screen except the main character. What would be the best way to do this?
Darken whole screen except character sprite
RPG Maker MV SupportYou can fade out screen, transport to a map without any tiles (or black tiles only, if you want some passability).
At least that's what come up spontaneously in mind.
Edit : Fade in after transport
At least that's what come up spontaneously in mind.
Edit : Fade in after transport
Or you can just make a black tileset and switch to it.
I would use Triacontane's plugin to temporarily set the player to a higher priority than the dark screen overlay
triacontane.blogspot.com
In an event page use
this.character(ID)._customPriority = 9;
where ID is the event's ID and 9 is the layer. The player would be ID -1
ãã£ã©ã¯ã¿ã¼ã°ã©ãã£ãã¯è¡¨ç¤ºæ¡å¼µãã©ã°ã¤ã³
ã©ã¤ãããã«,鿥,ææ,RPGãã¯ã¼ã«,RPGãã¯ã¼ã«MV,ãã¯ã¼ã«MVãã©ã°ã¤ã³
Code:
You can use notetags
* <CGPriority:(page number), (priority)>
* Set the display priority when the specified page is enabled.
* Values from 1 to 9 can be set.
*
* Example: <CGプライオリティ:1,6> or <CGPriority:1,6>
*
* *Each priority value
* 0: Lower tile
* 1 : Below normal character
* 3: Same as normal character
* 4: Upper tile
* 5 : Above normal character
* 6 : Shadow of the airship
* 7: Balloon
* 8 : Animation
* 9: Map touch destination (the white flashing cursor)
In an event page use
this.character(ID)._customPriority = 9;
where ID is the event's ID and 9 is the layer. The player would be ID -1
Or have a picture same as the game window that is all black with the character in the middle. Lots of ways to do this
Just warp your character to a blank map which naturally produces a black background. Should work perfectly. Fool around with the transition effects on the transfer player event command for the best result.
Here you go. It's easier to explain like this.
This actually is an effective way to go
EpicFILE missed a few details like the map needs to be the exact same x,y or it will look like you transferred to another map. The video I made explains it perfectly. If you were centered perfectly in the map it wouldn't matter how big the other map is but that's a niche scenario. This covers everything.
Thank you very much everyone, especially @MorteEternal who even recorded a video for me 🙂
I was actually thinking about teleporting before, but I ran into some issues with my parallax mapping where during basically in the moment of the transfer the parallax images were still visible, which looked super weird.
Turns out I was doing something wrong THERE actually which I was able to fix now. Would not have thought about that if I had not seen the video to realize the issue must be somewhere else on my side 😅
I was actually thinking about teleporting before, but I ran into some issues with my parallax mapping where during basically in the moment of the transfer the parallax images were still visible, which looked super weird.
Turns out I was doing something wrong THERE actually which I was able to fix now. Would not have thought about that if I had not seen the video to realize the issue must be somewhere else on my side 😅
You're very welcome! Good luck with your project.
Original thread: https://forums.rpgmakerweb.com/threads/darken-whole-screen-except-character-sprite.170834/