DarknessFalls 9 Posted November 22, 2015 (edited) Flare Notification - vs 3.0 Darkness Falls Terms: Credit must be given to me. Mit license means you can do what ever. free for commercial usage Flare Notifications allows you to create notification windows based on different events. So lets create a notification: FlareNotification.notify("\\i[8] \\c[10]Hello World\\c[0]", stickToTop, fadeOutNearBottom);This creates a notification window that will scroll down the game window fading in and then out at a specified rate given by the options. As you can see we give the notification window some text. Optional values are stickToTop and fadeOutNearBottom which should be obvious what they do. fadeOutNearBottom is calculated based on a plugin setting which lets you calculate when it it should start fading out. All windows are added to a cue, first in first out. For example an event can have: FlareNotification.notify("\\i[8] \\c[10]Hello World\\c[0]", false, true, {windoWidth: 900, windowX: 2, windowY: 90}); FlareNotification.notify("\\i[8] \\c[10]Hello World\\c[0]", true, false, {windoWidth: 900, windowX: 2, windowY: 90, fontSize: 20}); // Options are passed in as an object: // windowWidth = The width of the notification window. // windowX = The x position of the window. // windowY = the y position of the window. // fontSize = the font size for the window. FlareNotification.notify("\\i[8] \\c[10]Hello World\\c[0]"); FlareNotification.notify("\\i[8] \\c[10]Hello World\\c[0]"); FlareNotification.notify("\\i[8] \\c[10]Hello World\\c[0]"); FlareNotification.notify("\\i[8] \\c[10]Hello World\\c[0]"); FlareNotification.notify("\\i[8] \\c[10]Hello World\\c[0]"); This adds ten windows to an event that will then all be called. ATTN! If you have 1 or more notifications and you open a menu, enter a battle. we will play the next set of notifications. If you then open a battle or a menu we will remove any notifications currently on the screen. This is similar behavior to the map name. Regarding windowY If you set the window Y to low or too high you may never see the notification because the window moved down the y axis and as it does it fades out over time. That time can be adjusted how ever. Event Based Notifications Now you can enable a set of options to turn on event based notifications for weapons, armor, items, xp, gold, hp, mp and so on. There are a ton of individual event notifications that you can turn on or off so that you are not creating events all the time that contain notifications after a party gains x item or loses x hp. These only trigger on events that require the player to some how activate them. They do not play in battle or in menus. Event based notifications have options for the way the window looks and behaves including width, font size, stay at the top, how long till next window and so on. These options are different then self created notification window options and are individual for each type of event notification. ATTN!! Assume you have 6 events that play (all at once) as the player triggers them. The notification messages are added to a queue. The events will play out, level messages and other types of messages will play out associated with that event. these messages are known as $gameMessage's. The notification event messages will play directly after according to how they were added to a queue. How to get the script? Download Here. FAQ: - How do I use this? Download the dist/ script or make a new JS file called: Flare-NotificationWindow.js and then follow the above steps. Do not forget to save and enable the script. - Are there incompatibilities? Not as far as I know? Post them if there is. Rules are: Screen shot of the error, console too if you have Yanflys core script. What you were doing, what caused the crash, what scripts you are using. - Can you add a feature? Yes. Just let me know what you want and ill consider it. - I found a bug! Follow the "Are there incompatibilities" rules for positing bugs. It helps me debug. Edited December 15, 2015 by DarknessFalls Share this post Link to post Share on other sites
DarknessFalls 9 Posted December 1, 2015 I will have the following for next Sunday: Slide in right (top and bottom) hand bottom corner and slide out Slide in left (top and bottom) hand bottom corner and slide out Size: Possibility width wise. This is still being played with. Any other suggestions are always welcome Share this post Link to post Share on other sites
DarknessFalls 9 Posted December 15, 2015 Massive Update vs 3.0 You can now have events for all event based notifications such as: - All Party events - All Actor Events to Level These will trigger automatically, there are options for each. Update to the OP Please read the OP for updated options and new configuration options. You can pass in a third argument to the FlareNotification.notify() Called: options, which is a object that can have the following keys with values: // windowWidth = The width of the notification window. // windowX = The x position of the window. // windowY = the y position of the window. // fontSize = the font size for the window. Share this post Link to post Share on other sites
DarknessFalls 9 Posted December 19, 2015 just a little nudge to get some feedback Share this post Link to post Share on other sites
Rikifive 3,411 Posted December 19, 2015 Please do not meaninglessly bump threads in that area unless you have an update. (=Imagine what would happen if everybody would start bumping their script and game threads. ( ͡° ͜ʖ ͡°) Share this post Link to post Share on other sites
DarknessFalls 9 Posted December 19, 2015 But I need the feedback, other forums dont have an issue with this. Share this post Link to post Share on other sites
Rikifive 3,411 Posted December 19, 2015 But I need the feedback, other forums dont have an issue with this. Feedback on ... ? How awesome your script is? ( ͡° ͜ʖ ͡°) If you're looking for feedback about your coding, then please create a thread in Ruby School for Thought with details on what exactly do you want feedback on. Other forums have their own rules (do they really allow that?). Like I said, imagine what would happen if everybody would meaninglessly bump their threads with scripts, resources and games. . . About 100 bump posts per day covering more important threads. Do you see the point now? Also you didn't really had to paste your reply in multiple posts, because it's spam. Yes I did that too, but I wanted to leave the reminder visible also for the others. Sorry if that is a problem, but if that would be allowed, then total chaos would occur. Share this post Link to post Share on other sites
DarknessFalls 9 Posted December 19, 2015 Um no. On peoples impressions of the script. How they have used it, what they would like to see feature wise ... so on. No one cares about coding. Share this post Link to post Share on other sites
Rikifive 3,411 Posted December 19, 2015 They care. ~ It will come with time. It's hard to force others to use a plugin or leave a feedback based on just screenshot or code - they need to try it out. Just give them some time, if people will have a need and use it, then I'm sure they will leave some feedback if they'll have suggestions. If they're quiet, then it seems that your plugins work perfectly and they're happy. ^^ Share this post Link to post Share on other sites