Notifications System 1.3
By Lecode
Introduction
The script draws some notifications according to in game events. Like gain gold, change exp, level up, ect.
You can also draw a custom text.
Features
- Customizable (Size, color, position, ect)
- Supported escape codes: \v[x], \c[x], \n[x], \p[x], \i[x] and \g
- Slide animation
- Long notifications are splitted in multiple notifications when you there is a new line or "|"
- Fade effect
Screenshots
How to Use
/* Plugin Commands:
* -> Notification Clear ( Delete all notifications )
* -> Notification Enable true/false ( Enable or disable notifications )
* -> Notification Position value ( Change next notifications position )
* -> Notification TextColor value ( Change text color )
* -> Notification FontSize value ( Change font size )
* -> Notification FontItalic true/false ( Change text italic property )
* -> Notification OutlineColor value ( Change outline color set value to '' to remove )
* -> Notification OutlineWidth value ( Change outline width )
* -> Notification ResetParameters ( Reset all parameters )
* Script call:
* -> this.newNotif(text) ( Draw a custom text )*/
-Make sure to save the plugin as LeNotifications.js.
-Insert the plugin below Yanfly Core Item if you're using it.
ADD-ON: Closed Captions
Adds a closed-captions feature, usefull for the hearing impaired.
Notifications are shown with a description when a sound is played.
Each BGM,SE, and BGS are linked to a description in a file you must create inside
the /data folder and named "Notif_ClosedCaptions.json".
The syntax is the following: "Sound name" : "Description" (and ended with a comma if it isn't the last element).
Example:
{
"Explosion1": "LOUD CRASH !",
"Theme1": "A sweeping, excited orchestral score communicating a |sense of wonder about the unknown."
}
Plugin and add-on
Download them from my google drive.
This plugin requires my
utilities plugin
Insert them in this order:
-LeUtilities
-LeNotifications
-LeClosedCaptions. (If you use it).
Bluebooth made an awesome json file for closed captioning.
Version history:
/*
# - 1.0 : Initial release
# - 1.1 : Bugfix
# - 1.2 : Bugfix ( Enable Command )
# - 1.3 : The notification visual is now a window,
# allowing some escape codes to work:
# \v[x], \c[x], \n[x], \p[x], \i[x] and \g
# Long notifications are splitted in multiple notifications
# when you use a new line or "|"*/
Credit and Thanks
- Lecode
-Fisherrolol for the idea
-TsukiHime and bluebooth for the add-on idea
Author's Notes
Feel free to suggest anything.