Blurry background behind pictures

Hey guys,

Im currently working on an interaction system where, if you talk to someone, a picture of that person will appear on your screen. But id also like to add to that, to blur everything thats happening behind that picture. The only way i can think of making this work is to create a a blurry filter picture that has the resolution of my game - but maybe you guys have a different better solution.

Thanks!
PIXI has a built in blur filter, which, if you know ho to use it, allows you to blur certain areas. However, playing with this would require some experimenting.
as @Poryg tells us, RPGMakerMV has a built-in way of blurring the game-screen. i would like to suggest creating a custom scene that inherits from Scene_MenuBase as the blur effect is built-in to all menu type scenes; draw your picture to that scene and pop the scene via the cancel key. this is the approach i would take.
Unfortunately, using a BlurFilter on SceneMap._spriteset will also blur all pictures.

Code:
var tmpBlur = new PIXI.filters.BlurFilter();
tmpBlur.blur = 1;
SceneManager._scene._spriteset.filters = [tmpBlur];

Using BlurFilter on the TileMap (which contains the parallax, map, and characters) will cause some terrible things to happen.

Code:
var tmpBlur = new PIXI.filters.BlurFilter();
tmpBlur.blur = 1;
SceneManager._scene._spriteset._parallax.filters = [tmpBlur];
SceneManager._scene._spriteset._tilemap.filters = [tmpBlur];
SceneManager._scene._spriteset._weather.filters = [tmpBlur];

There is another option, however it is rather hackish. The best option would be to create a custom scene as @dbchest suggested, but here is what I have worked out.

SceneManager.snapForBackground() will create a snapshot of the current screen and apply a blur filter. Normally this is used for the background of the default menu system, but we can use it to replace the bitmap of a picture which is being displayed on the screen.

Code:
◆Comment:Erase and Update 'backgroundBitmap'
◆Script:SceneManager._backgroundBitmap = null;
:      :SceneManager.snapForBackground();
◆Comment:Show Character Image and Dummy Image
◆Show Picture:#1, dummy-image, Upper Left (0,0), (100%,100%), 255, Normal
◆Show Picture:#3, character-image, Upper Left (0,0), (100%,100%), 255, Normal
◆Comment:Wait for 'backgroundBitmap' ...
◆Loop
  ◆Wait:1 frame
  ◆If:Script:SceneManager._backgroundBitmap !== null
    ◆Break Loop
    ◆
  :End
  ◆
:Repeat Above
◆Comment:Replace Bitmap of Picture 1 with 'backgroundBitmap'
◆Comment:_pictureContainer.children[dummyPictureId - 1]
◆Script:SceneManager._scene._spriteset._pictureContainer.children[0].bitmap = SceneManager.backgroundBitmap();
◆Text:None, Window, Bottom
:    :This is a test dialog box.
◆Comment:Erase Character Image and Dummy Image
◆Erase Picture:#1
◆Erase Picture:#3
i am gonna take a minute to look into this more. it has piqued my curiosity.
@Ossra Hmm, it seems that the last solution you brought wouldve been great - if I didnt also like every event in the background to still visibly do their thing, I guess I shouldve mentioned this beforehand but I forgot:|. Looking at you guys responses, id wager that its not quite so easy to do this in any other way than just making a blurry filter picture appear behind the image. I actually have a question about that too, even if i know that this is not the right forum to ask for creating visuals guides, id still wager some artists also visit here. Basically:
How would i go about making a blurry image filter in photoshop?(Basically just a image that you can place above anything, and itd become blurry.) Ive tried using the blur effect on a single color, but that did literally nothing.
You can't actually make an image like that, because RPG maker will treat it as an image. So having a blurry transparent picture results in the picture not being rendered at all.
@Monkey BizNiz How about we go with something a bit more simple? Create a 816x624 (or whatever resolution your game is running at) image file, then flood fill the new image with a pattern. After that, simply show the background image underneath the character face and/or data you want to show.

ISSll0A.png

Example Background​

aY9mvJC.png

Background in Action​
@Ossra Ha, I actually really like your idea. Blur being the only viable way to highlight attention to the image in front - was so stuck in my head, that i didnt even think of the fact that alot of patterns can do that, maybe even more styleful. Thanks for your suggestion, I will do this.
i am going to continue looking into this because i am going to need to blur the background manually for the save game feature in beast masters; i am happy you discovered a solution, but i can notify when i solve this issue if you'd like?
i am going to continue looking into this because i am going to need to blur the background manually for the save game feature in beast masters; i am happy you discovered a solution, but i can notify when i solve this issue if you'd like?
aye, i would appreciate that!

Original thread: https://forums.rpgmakerweb.com/threads/blurry-background-behind-pictures.85064/