Make only map Blur but the textbox and images not (similar to Game Menu)

Hello there.
I'm currently facing an issue with a system I want to make where the map is blurred in the background and the textbox is normally shown.
I have searched the internet over different solutions and the closest one was this one, but in the end it didn't work throwing me an error.
Can someone please help me making this happen?
I want textbox to be normally shown and the background be blurred (static background), similar to the blur generated when player enters in Game Menu or similar with the one generated when a script error is thrown.

Below is the event I have tried to reproduced based on that post, but I failed>
Code:
◆Script:SceneManager._backgroundBitmap = null;
:      :SceneManager.snapForBackground();
◆Show Picture:#1, test1, Upper Left (0,0), (100%,100%), 255, Normal
◆Show Picture:#3, Card_Base, Upper Left (0,0), (100%,100%), 255, Normal
◆Loop
  ◆Wait:1 frame
  ◆If:Script:SceneManager._backgroundBitmap !== null
    ◆Break Loop
    ◆
  :End
  ◆
:Repeat Above
◆Script:SceneManager._scene._spriteset._pictureContainer.children[0].bitmap = SceneManager.backgroundBitmap();
◆Loop
  ◆Wait:1 frame
  ◆If:Script:SceneManager._backgroundBitmap !== null
    ◆Break Loop
    ◆
  :End
  ◆
:Repeat Above
◆Wait:60 frames
◆Text:None, Window, Bottom
:    :random dialog
◆Erase Picture:#1

And here is the error:

Code:
rpg_managers.js:1949 TypeError: value.addLoadListener is not a function
    at Sprite_Picture.set (rpg_core.js:4000)
    at eval (eval at Game_Interpreter.command355 (rpg_objects.js:10500), <anonymous>:1:69)
    at Game_Interpreter.command355 (rpg_objects.js:10500)
    at Game_Interpreter.executeCommand (rpg_objects.js:8930)
    at Game_Interpreter.update (rpg_objects.js:8838)
    at Game_Map.updateInterpreter (rpg_objects.js:6115)
    at Game_Map.update (rpg_objects.js:6022)
    at Scene_Map.updateMain (rpg_scenes.js:608)
    at Scene_Map.updateMainMultiply (rpg_scenes.js:600)
    at Scene_Map.update (rpg_scenes.js:589)
I'm currently facing an issue with a system I want to make where the map is blurred in the background and the textbox is normally shown.
I want textbox to be normally shown and the background be blurred (static background), similar to the blur generated when player enters in Game Menu.
I'll check into this. 🙂
You mentioned static background... so you want the game to take a snap & blur then "pause" while the message is shown, correct?
I'll check into this. 🙂
You mentioned static background... so you want the game to take a snap & blur then "pause" while the message is shown, correct?
Yes. I want the textbox and the images be normally displayed. Only static background map be blurred
And if it would be possible to work without pixi too ( since most of pixi functions are not working on android )

Thanks for your reply !
Tada! I've developed a plugin for you see below. 🙂

MsgBoxBG Plugin: Click Here to Download
Spoiler
ddkuk1e-47a7b09c-9898-494d-aa9e-0fed008ed6cb.png

Let me know if that is what you had in mind. ☺️
Tada! I've developed a plugin for you see below. 🙂

MsgBoxBG Plugin: Click Here to Download
Spoiler
ddkuk1e-47a7b09c-9898-494d-aa9e-0fed008ed6cb.png

Let me know if that is what you had in mind. ☺️
Thank you very much!
The plugin fits perfectly my needs!

I have tested it on basic projects and no issues encountered! Yet apparently seems that there is an incompatibility with Galv's Actor Busts, and the script also blurs the Busts too...
Sorry for asking this, but do you think is there any way to make is to the blur does not apply to busts?

qoGG9I3.jpg


Thank you again!
Thank you very much!
The plugin fits perfectly my needs!

No prob! Happy to help 🙂
Sorry for asking this, but do you think is there any way to make is to the blur does not apply to busts?

Spoiler: Sure like this?
ddkuz4n-32e4529c-23fe-4c5c-9a34-eb1126208498.png


MsgBoxBG Plugin: Click Here to Download
Current v1.2 Now Supports Galv Busts 🙂

Let me know how it goes. ☺️:popcorn:
No prob! Happy to help 🙂


Spoiler: Sure like this?
ddkuz4n-32e4529c-23fe-4c5c-9a34-eb1126208498.png


MsgBoxBG Plugin: Click Here to Download
Current v1.2 Now Supports Galv Busts 🙂

Let me know how it goes. ☺️:popcorn:
Thank you again for the script!
Seems that there is a slight delay when multiple dialogs are displayed one after another, and during this delay the blur seems to be cancelled.

ezgif-6-ba2ea3f07828.gif


Here is the event i am using:

Code:
◆Text:Actor1(0), Window, Bottom
:    :random dialooog
◆Text:Actor1(0), Window, Bottom
:    :random dialogggggggg
◆Text:Actor1(0), Window, Bottom
:    :random dialoggggggggggggggggg
◆Wait:60 frames
◆Text:None, Window, Bottom
:    :after wait no pic - random dialog
◆Text:None, Window, Bottom
:    :random dialog
Thank you again for the script!
No prob. 🙂
Seems that there is a slight delay when multiple dialogs are displayed one after another, and during this delay the blur seems to be cancelled.
Hmm... how 'bout now?
Honestly not sure if that fixed anything or not...

v1.21 (Bugfixed? Maybe?):
MsgBoxBG Plugin: Click Here to Download

Edit:
Hmm... on further testing I don't think that fixed it...
No prob. 🙂
Hmm... how 'bout now?
Honestly not sure if that fixed anything or not...

v1.21 (Bugfixed? Maybe?):
MsgBoxBG Plugin: Click Here to Download

Edit:
Hmm... on further testing I don't think that fixed it...

Yep, the issue seems to be still present. Here's on the Galv's Bust demo project along with the script:

ezgif-6-70903364749c.gif


Also for some reason, the textbox of the second consecutive message is always dimmer.
Yep, the issue seems to be still present. Here's on the Galv's Bust demo project along with the script:

ezgif-6-70903364749c.gif


Also for some reason, the textbox of the second consecutive message is always dimmer.
v1.3 Download

Sadly don't have much time to explain because I have to run off to work now but I changed how it works now...
Screenshot:
Spoiler
ddkvb39-cbe1ac7a-aacc-4a57-9ccc-60f220e0feea.png
That does the trick... I'll add more later when I get home tonight.

Let me know how it goes for u. I'll explain more when I can. 🙂
v1.3 Download

Sadly don't have much time to explain because I have to run off to work now but I changed how it works now...
Screenshot:
Spoiler
ddkvb39-cbe1ac7a-aacc-4a57-9ccc-60f220e0feea.png
That does the trick... I'll add more later when I get home tonight.

Let me know how it goes for u. I'll explain more when I can. 🙂

The issue seems to be still occuring but much shorter (about 1-2 frames or so), the screen still gets de-blurred for a very short time each next message is shown. The issue with dimmed textbox is fixed.

Hm, do you think you can make it appear when a switch / plugin command is activated instead of making it appear on textbox show?
I only need the background to be blurred but other elements (busts / images) not.
Thank you for helping me with the issue so far! I'm really grateful!

And don't worry, take your time! Thanks!
Spoiler
The issue seems to be still occuring but much shorter (about 1-2 frames or so), the screen still gets de-blurred for a very short time each next message is shown. The issue with dimmed textbox is fixed.

Hm, do you think you can make it appear when a switch / plugin command is activated instead of making it appear on textbox show?
I only need the background to be blurred but other elements (busts / images) not.
Thank you for helping me with the issue so far! I'm really grateful!

And don't worry, take your time! Thanks!
So much fixed/added. See testing demo below. 🙂

Still trying to make it more user friendly 😉

Here's the basic example:
Spoiler
ddl11f6-75a7c678-5b02-4aeb-a42b-1bd53580feea.png
ddl114q-2b5911a3-6adf-4bee-898b-e74639a35ffb.png

Screenshots:
Spoiler
ddl13r0-99b36142-a722-487e-a210-22090278b4c9.png

ddl13qw-0fe5d420-07eb-4264-98ec-8b1c5d254322.png

ddl13qs-e5e7d886-6b44-4b8a-9961-0c95729e1aa1.png

ddl13qo-aee45abf-cd57-4c89-95f3-8baf39e41733.png

ddl13ql-b1321bdd-6f77-4599-b741-7d543280b29d.png

Demo Download:

CT_Bolt's BgImage v1.51 (Testing) Demo: Click here To Download

Thoughts? Seems to do just nicely for this.
Still have quite a todo list like adding switches but let me know whatcha think so far.

Hope the demo runs as smooth as it does on my end 🙂
So much fixed/added. See testing demo below. 🙂

Still trying to make it more user friendly 😉

Here's the basic example:
Spoiler
ddl11f6-75a7c678-5b02-4aeb-a42b-1bd53580feea.png
ddl114q-2b5911a3-6adf-4bee-898b-e74639a35ffb.png

Screenshots:
Spoiler
ddl13r0-99b36142-a722-487e-a210-22090278b4c9.png

ddl13qw-0fe5d420-07eb-4264-98ec-8b1c5d254322.png

ddl13qs-e5e7d886-6b44-4b8a-9961-0c95729e1aa1.png

ddl13qo-aee45abf-cd57-4c89-95f3-8baf39e41733.png

ddl13ql-b1321bdd-6f77-4599-b741-7d543280b29d.png

Demo Download:

CT_Bolt's BgImage v1.51 (Testing) Demo: Click here To Download

Thoughts? Seems to do just nicely for this.
Still have quite a todo list like adding switches but let me know whatcha think so far.

Hope the demo runs as smooth as it does on my end 🙂

The plugin works perfectly now! THANK YOU VERY MUCH!
The plugin works perfectly now! THANK YOU VERY MUCH!
No prob. Happy I could help 🙂

Created a thread for this plugin now:
https://forums.rpgmakerweb.com/inde...background-image-mapshot-with-effects.115638/

Planning on making more features for this like switches in the next release.

As always, Happy Game Making! ☺️
No prob. Happy I could help 🙂

Created a thread for this plugin now:
https://forums.rpgmakerweb.com/inde...background-image-mapshot-with-effects.115638/

Planning on making more features for this like switches in the next release.

As always, Happy Game Making! ☺️
Thank you a lot!

Just an additional thing though, there seems to be a compatibility issue with Yanfly's Picture Common Events - if both plugins are active and player displayed a picture which had Common Event assigned on-click, the image won't be displayed but the image's clicking area remains active. This happens only when both plugins are enabled though.
Thank you a lot!

Just an additional thing though, there seems to be a compatibility issue with Yanfly's Picture Common Events - if both plugins are active and player displayed a picture which had Common Event assigned on-click, the image won't be displayed but the image's clicking area remains active. This happens only when both plugins are enabled though.
Odd hmm... thanks for the info🙂
I'll check into that asap.
Have you tried placing my script above or under yanfly's or visa versa?
Odd hmm... thanks for the info🙂
I'll check into that asap.
Have you tried placing my script above or under yanfly's or visa versa?
Yes, I did.
Thank you for all your support! You are awesome! All these are really useful for all of us.
Yes, I did.
Thank you for all your support! You are awesome! All these are really useful for all of us.
Well not done yet but here's a workaround for now. 🙂

Call this script from any event at anytime on the map:
Code:
patchYanfly()
It will only run once so it can be set in the event even if the event will run multiple times.

Setup I used:
Spoiler
ddl8tai-1c7e1bf8-7436-4797-9841-0a3b15bd7464.png

CT_Bolt's BgImage v1.52 (Plugin): Click here To Download

Let me know how it goes 🙂
Still haven't had much time to fully look into this, but that worked for me for now. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/make-only-map-blur-but-the-textbox-and-images-not-similar-to-game-menu.115449/