Intro:
This plugin allows you to create notifications in your game.
Version: 1.03
Change Log:
- Added adjusting notification window sizes, based on text size
- Added more notification types (gainExp , level up, etc)
- Added different text for exp or money gain / loss
- Added notification for class changes
- Updated animation to fix issues with closing prematurely
- Fixed moving back to scene and going through old notifications
- Fixed abrupt animation on first notification
Features:
- Default Notifications
- Disabling Notifications
- Custom Notifications
- Executable Notifications
- Sliding Animation + lowering opacity
Instructions:
- Install the script with the same name: EISNotificationSystem.js
- Use the functions below to run your own notifications.
- Currently the names of the current default notifications are : 'gainGold', 'gainItem'
You can disable them with the disableNotification function by using the above names.
- Have fun!
/*
* Version: 1.00
* This plugin allows you to create notifications in your game.
*
* Functions:
* KR.NotificationManager.updateNotifications(notificationObject)
* - Creates a new notification on screen.
*
* KR.NotificationManager.disableNotification(handlerName)
* - Disabled a notification by name in either the custom, or
* in the default notification list.
*
* KR.NotificationManager.createNotification(notificationObject)
* - Creates a new custom notification, that you can call by name.
*
* KR.NotificationManager.callNotification(handlerName)
* - Calls the notification by name from the custom list.
*
* Note: Notification Objects
* Notification Objects are objects with specificied properties.
* Properties such as: name, process (true/false), text --
* (the text you wanted printed to the screen), and process
* (You can insert a function here for the game to run.)
*
* Example:
*
* KR.NotificationManager.updateNotifications({name:'rain',
* process:true, operation:
* function(){
* $gameScreen.changeWeather("rain", 5, 100);
* }, text:'It started to rain.'});
* - This update causes rain, and draws the text to the window.
*/
Setup Example Windows:
Spoiler
In-game Examples:
Spoiler
Please see the below attachment to use this plugin.
Credits:
Free for both commercial and non-commercial use.Credit with the name Kino or Endless Illusion Software.
Thanks:
Thank you to anyone who decides to use this script; I appreciate it!
If there are any bugs/issue, please contact me via message on the forums. I want to try and make the script as extensible/flexible as possible, so if you have an ideas also
please message me!
Note:
I will be continuing work on this plugin this week to make it more extensible, so please comment with any interesting ideas.
View attachment EISNotificationSystem.js
本贴来自国际rpgmaker官方论坛作者:Kino处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/eis-notification-system-updated-1-03.59453/