casper667

Casper Gaming
Regular
Joined
Mar 15, 2012
Messages
506
Reaction score
616
First Language
English
Primarily Uses
RMMZ
CGMZ Toast Manager
By: Casper Gaming
Last Update: March 15, 2023
Latest Version: 1.3.0
Forum-Header-Introduction.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.
Forum-Header-Features.png
  • Create up to 3 toast windows to display information
  • Text or Image based toasts
  • Easy creation of toasts through plugin command
Forum-Header-Screenshots.png
A text based toast window
toast1.png
Two image based toast windows
toast2.png
Forum-Header-Video.png

Forum-Header-HowTo.png
Import into plugin manager and enable the plugin. Some customization options available. Further instructions in plugin.
Forum-Header-Download.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/

Also available on Itch.io:
Forum-Header-CreditAndTerms.png
https://www.caspergaming.com/terms-of-use/
Forum-Header-VersionHistory.png
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
Version 1.2.1
  • Update color parameter to use RMMZ 1.6.0 new color picker UI
Version 1.3.0
  • Added option to use a different windowskin for each toast
  • Added option to set the toast window's height
  • Fixed bug when using same custom width twice in a row
  • Optimized image loading for image toasts
 
Last edited:

Zaven

Regular
Regular
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
Regular
Joined
Mar 15, 2012
Messages
506
Reaction score
616
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
Regular
Joined
Mar 15, 2012
Messages
506
Reaction score
616
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
Regular
Joined
Apr 20, 2014
Messages
341
Reaction score
150
First Language
Indonesian
Primarily Uses
RMMZ
1601984677925.png
Test battle and this happens.
 

casper667

Casper Gaming
Regular
Joined
Mar 15, 2012
Messages
506
Reaction score
616
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

Regular
Regular
Joined
Mar 15, 2014
Messages
168
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
Regular
Joined
Mar 15, 2012
Messages
506
Reaction score
616
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
Regular
Joined
Mar 15, 2012
Messages
506
Reaction score
616
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

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

casper667

Casper Gaming
Regular
Joined
Mar 15, 2012
Messages
506
Reaction score
616
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
Regular
Joined
Mar 15, 2012
Messages
506
Reaction score
616
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
Regular
Joined
Mar 15, 2012
Messages
506
Reaction score
616
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
13
Reaction score
4
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.
 

casper667

Casper Gaming
Regular
Joined
Mar 15, 2012
Messages
506
Reaction score
616
First Language
English
Primarily Uses
RMMZ
Hi all :kaohi: this plugin has been updated to v1.3.0 today

This update adds the ability to change the windowskin for each toast window. It also allows you to make each toast window a separate height. In getting the custom height to work, I noticed a bug that could occur if a custom width toast with the exact same custom width was used a few times in a row, which has also been fixed.

Version 1.3.0
  • Added option to use a different windowskin for each toast
  • Added option to set the toast window's height
  • Fixed bug when using same custom width twice in a row
  • Optimized image loading for image toasts
 

Latest Threads

Latest Profile Posts

I have completed what is clearly the most important part of participating in the game jam: coming up with a name!
My shrink has me trying to limit 30 mins a day for each of my personal projects so I can have a healthier life. But lately the rpg making in particular has been hard to pull away from and I keep getting lost in it.
Everyone has a test project named like this...right?

1701263020760.png
Pardon my japanese but this is my honest reaction to yesterday's "tangent":
1701262223568.png
I know these are all simple things for experienced users, but working on this Game Jam I have officially learned how to:
  • Use my own title screen image
  • Use scrolling text
  • Fade in a picture
  • Use any image for the Face in a dialog box
Probably silly for many people, but observable progress for me!

Forum statistics

Threads
136,570
Messages
1,267,672
Members
180,253
Latest member
DIwii
Top