casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
414
Reaction score
530
First Language
English
Primarily Uses
RMMZ
CGMZ Toast Manager
By: Casper Gaming
Last Update: November 2, 2022
Latest Version: 1.2.0
dxEPbU0.png

This plugin creates up to 3 toast windows in each scene (some exceptions) which will display brief information or images to the player for a short amount of time. Windows will be shown as they are freed in the case of a queue of more than 3 toasts.
nlUIeRv.png

  • Create up to 3 toast windows to display information
  • Text or Image based toasts
  • Easy creation of toasts through plugin command
zvfGt10.png

A text based toast window
H9u8wPt.png

Two image based toast windows
8rSqRSD.png
EBsAIiJ.png


lWNLTGy.png

Import into plugin manager and enable the plugin. Some customization options available. Further instructions in plugin.
3AzjNYV.png

Plugin (along with all my other plugins) can be found here: https://www.caspergaming.com/plugins/cgmz/toastmanager/
Requires CGMZ Core plugin: https://www.caspergaming.com/plugins/cgmz/core/
l8DkDBW.png

https://www.caspergaming.com/terms-of-use/
KbfnB7j.png

Version 1.0.0
- Initial Release

Version 1.0.1
- SE are no longer mandatory on toasts

Version 1.0.2
- Toast windows no longer update if they are not visible
- Fix crash with VS Debugger (hopefully)

Version 1.0.3
- Fix bug with toast window custom widths not being centered

Version 1.1.0:
- Added parameter for changing the display time of the toast

Version 1.2.0:
- Added parameter for Window/Dim/Transparent appearance of window
- Added parameter to change window color
 
Last edited:

Zaven

Veteran
Veteran
Joined
Aug 22, 2020
Messages
40
Reaction score
17
First Language
German
Primarily Uses
RMMZ
Thanks once again. The next great plugin from you :) After I discovered your crafting system and your professions system for me, I installed that too, because all three work really well together. This time, unfortunately, it first stopped with an error message and it took me a while to find out that all events that use the toast manager must have set the toast sound effect. But now it works great. But do you see a possibility that you don't have to set this sound effect? (This is an additional soundeffect that doesn't really fit into the game for me).

The error below occurred when leveling up the professions. I add that because the line numbers are included
Toast_Manager.png
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
414
Reaction score
530
First Language
English
Primarily Uses
RMMZ
@Zaven Good suggestion, this was also brought up yesterday in my discord. I am not sure quite what I was thinking when I made it required, probably just an oversight. I have changed it now.

Version 1.0.1:
- SE are no longer mandatory on toasts
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
414
Reaction score
530
First Language
English
Primarily Uses
RMMZ
Hi all,

Added a demo for this plugin today in case anyone was confused on how to use it (will be going through all my plugins and making demos over the next few weeks), you can play it in-browser or download it from the plugin's main page on my website: https://www.caspergaming.com/plugins/cgmz/toastmanager/
 

Jrrkein

Drago Royale
Veteran
Joined
Apr 20, 2014
Messages
321
Reaction score
135
First Language
Indonesian
Primarily Uses
RMMZ
1601984677925.png
Test battle and this happens.
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
414
Reaction score
530
First Language
English
Primarily Uses
RMMZ
@Jrrkein I am not sure what caused this, especially with this plugin since it doesn't really touch anything in the battle scene. I am able to do battles and use skills in my test project, both in game test and battle test. It sounds like you may have run into a default editor bug reported here: https://forums.rpgmakerweb.com/inde...tal-active-tpbs-bug-crashing-the-game.126144/

If that doesn't sound like what may have caused this issue for you, I will need you to provide some reproduction steps that cause this to happen.
 

poorrabbit

Veteran
Veteran
Joined
Mar 15, 2014
Messages
164
Reaction score
124
First Language
English
Primarily Uses
RMMZ
hey Casper. I love the toast plugin. I know you don't much mess with other people's plugins, but I use a bunch of visustella stuff, and the Toast plugin has a minor conflict with their debugger. Now, it could be their fault, but since most of their plugins are obfuscated, I can't look. However, I did manage to make your plugin work with a two line change. Basically, whenever you close the visustella debugger, the game crashes because of (what looks like) a scene refresh and Toast is expecting a window to be there. So, I put in a quick check to see if the Toast object exists, and if not, skip the "offending" code.

I've attached my changes in case you care to incorporate them. Look for "poorrabbit did this" on line 487.
They do not appear to adversely affect the plugin. Toasts continue to work, and I'm using your Achievement plugin too. Sooooo glad to see no incompatibilities between them and the other stuff I'm using. Keep up the great work!
 

Attachments

  • CGMZ_ToastManager.js
    22.2 KB · Views: 3

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
414
Reaction score
530
First Language
English
Primarily Uses
RMMZ
@poorrabbit Interesting, I can add the null check into the next version to work with their debugger. Hard to tell what is causing the issue due to obfuscation.
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
414
Reaction score
530
First Language
English
Primarily Uses
RMMZ
Hi all, small update today to hopefully make this compatible with vs debugger and also a small performance upgrade to make the windows only update if they are displaying

Version 1.0.2:
- Toast windows no longer update if they are not visible
- Fix crash with VS Debugger (hopefully)
 

Oddball

Veteran
Veteran
Joined
Sep 4, 2014
Messages
2,146
Reaction score
656
First Language
English
Primarily Uses
N/A
You know what they say, "All toasters, toast toast."
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
414
Reaction score
530
First Language
English
Primarily Uses
RMMZ
Hi all, small bugfix update today. When using custom widths, it was discovered that windows were not centering properly. They should now be centered properly no matter their width.

Version 1.0.3
- Fix bug with toast window custom widths not being centered
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
414
Reaction score
530
First Language
English
Primarily Uses
RMMZ
Hi all, update for this plugin today! This update adds a new parameter to toasts (both text and image): Display Time. If this parameter is provided, the toast will display for the given amount of frames in the plugin command. If not, it will fall back to the Display Time parameter in the plugin settings.

Version 1.1.0
- Added parameter for changing the display time of the toast
 

casper667

Casper Gaming
Veteran
Joined
Mar 15, 2012
Messages
414
Reaction score
530
First Language
English
Primarily Uses
RMMZ
Hi all, this plugin has been updated to version 1.2.0 today!

This update adds two new features to the toasts you can make via plugin command, and will be available for my other plugins that use the toast window integration soon! These features are being able to change the toast background to Window (what was already there), Dim, and Transparent (similar to the Show Text window options of the same name). You can also change the color (tone) of the window so you could color-coordinate your toasts for different things. Maybe Green toasts are for obtaining Items and Blue is for leaning Skills in your game, now you can do that!

Version 1.2.0:
- Added parameter for Window/Dim/Transparent appearance of window
- Added parameter to change window color
 

Viranda

Villager
Member
Joined
Sep 3, 2022
Messages
11
Reaction score
3
First Language
Spanish
Primarily Uses
RMMV
Hi all, this plugin has been updated to version 1.2.0 today!

This update adds two new features to the toasts you can make via plugin command, and will be available for my other plugins that use the toast window integration soon! These features are being able to change the toast background to Window (what was already there), Dim, and Transparent (similar to the Show Text window options of the same name). You can also change the color (tone) of the window so you could color-coordinate your toasts for different things. Maybe Green toasts are for obtaining Items and Blue is for leaning Skills in your game, now you can do that!

Version 1.2.0:
- Added parameter for Window/Dim/Transparent appearance of window
- Added parameter to change window color
Great update. Thank you.
 

Latest Threads

Latest Posts

Latest Profile Posts

I drew one of my chars! The man with 100 kids and a lot of love to give :kaopride:
Me: *about to stalk someone's posts*
Forum: "This member limits who may view their full profile."
Me: *bummer*
Also forum: Advanced search > Posted by ...
1B77FB7E-3802-4179-BB2D-F390021512A6.jpeg
Starting a fly by the night dev studio. Anyone want in? Excellent working conditions with onsite lodging. LOL
OMG... I actually managed to recreate my "combat hotkeys" function in MV (eg. press 3 on the keyboard to summon an equip screen to change equipment midcombat).

And it works with Yanfly's Keyboard Config!?

I'm amazed things are working at all, to be frank.
This made me laugh, apparently YT automatically marks my streams as being about "I Wanna Be the Guy"... You know what YT? Wrong game.. but right message, I'll take it. :LZSlol:


i_wanna_be_the_villain.jpg

Forum statistics

Threads
128,533
Messages
1,195,255
Members
169,124
Latest member
pp147369
Top