Product: Banner Notify | Best Way To Notify!
Previews
This Banner Notification is composed with 3 Elements!
Those elements are the Header, Description, and the Icon
Animation
Notices
Simple Notification
Announcement
and pretty much more…!
Introduction
Banner Notifications is intuitive and customizable. You can easily notify a player for what they have done or whatnot.
Setup🔧
The BannerNotification_Storage
should be placed in the ReplicatedStorage
while the BannerNotification
is in the StarterGui
.
With this setup, you can now require the module on a Script
, LocalScript
or ModuleScript
Documentation
Requiring the Module:
local BannerNotificationModule = require(game:GetService("ReplicatedStorage").BannerNotification_Storage.BannerNotificationModule)
BannerNotificationModule:Notify(header, description, icon, duration, configs, player)
local BannerNotificationModule = require(game:GetService("ReplicatedStorage").BannerNotification_Storage.BannerNotificationModule)
local configs= {
.3, -- Background Transparency
Color3.fromRGB(0, 0, 0), -- Background Color
0, -- Content Transparency
Color3.fromRGB(255, 255, 255), -- Content Color
}
BannerNotificationModule:Notify("Header", "Content / Message", "rbxassetid://11326670020", 5, configs)
:Notify()
Arguments:
Arguments | Description | Type |
---|---|---|
header | The big text of the notification | string |
message | The small and translucent text of the notification | string |
icon | The image that represents the idea of the notification | string |
duration | How long will the notification shown | number |
configs | Table of configurations (optional) | table |
player | player to show the notification (server only) | player |
If you require the module on LocalScript
then you do not need to comply the player argument.
BannerNotificationModule.NumberOfActiveNotifications()
local BannerNotificationModule = require(game:GetService("ReplicatedStorage").BannerNotification_Storage.BannerNotificationModule)
print(BannerNotificationModule.NumberOfActiveNotifications()) -- 0 because no notifications is active
:NumberOfActiveNotifications())
Arguments:
Arguments | Description | Type |
---|---|---|
player | player in which we get its active notifications (server only) | player |
If you require the module on LocalScript
then you do not need to comply the player argument.
Updates👋
-
Update 1a
– Removed Unnecessary APIs in the module
– Added optionalplayer
agument in themodule:NumberOfActiveNotifications()
– Added Testing Grounds so you can try it! -
Update 2.0
– Longer Notifications are now possible and the notification will resize!
– Configurations in the module! Now you can modify the Background Color and the Content Transparency!
– Smoother Animations
Conclusion
Pros:
- Can be called on
Script
,LocalScript
, andModuleScript
- Configurable design
- Intuitive
- Nice Animations
Cons:
- Notifications that are too long may look distorted and stretched
- Not Clickable