A downloadable asset pack

Download NowName your own price

Item Popup

Changelog

(OCT/02/2023) First version!
(OCT/12/2023) Fixed a crash with an unused method.
(DEC/27/2023) Fixed a bug where the plugin could stop working when loading a game.
(JAN/03/2024) Fixed several crash bugs, huge performance improvement!
(FEB/08/2024) Fixed a bug that prevented using some editor functions.
(APR/26/2024) 
- The item popup will not be displayed when equipping or unequipping items. 
- Fixed an issue when using items without an icon. 
- The player must now remain still to open the editor menu. (same usage: maintain ACTION3 to open the editor menu). 
- The time to open the editor menu increased from 1.5 to 2 seconds. 

Description

When there is a change in the inventory the plugin will automatically show a popup with the name, icon, background and quantity when an item is added or removed from the inventory.

  •  Displays items in order from top to bottom.
  •  Shows the icon of the obtained/removed item. 
  •  Sound function included.
  •  Background feature included.
  • Editor included in the plugin to use in play test and customize, position, size,   background, sound, number of items to display and more!
  •  Tag to not show the popup of a certain item.
  • Switch to disable the plugin at any time in the game.


How to install

* Download and unzip the file, drag and drop the "JagonzScripts" folder to your "script" folder in your project, if it doesn't exist you can create it.

* Create a common event and attach "ItemPopup.cs" to it.


(EDITOR IS OPTIONAL)

* To use the editor that comes included with the plugin, you must have the keys:  ACTION1, ACTION2, ACTION3, and DASH enabled in "Rules and Operations" by removing the double slashes from those input.


How to use

Go to play test and hold down the "ACTION3" key (X by default), and this menu will open where you can edit the position and size of each of the elements to display, set a custom sound or background, and enable or disable functions.



Position/Size mode:  Use the keys shown on the screen to toggle between modes (position, position precision, and size) and change the target to manipulate (text, icon, and background).



To set a custom background or sound, you should use the exact name of the resource in "resources" of Bakin, you can use "Ctrl + V" in the text box.


Functions:

Set maximum number of notifications: Set how many item popups can be shown at the same time.

Use +/- symbols:  Use + when adding an item or - when removing it, it will show "x" if disabled.

Use background:  Show a background behind the item popup.

Use sound: Play a sound when an item popup appears.

Use item icon: Show the item icon when popup.

Use Popup color: Show a green color when adding an item to the inventory and a red color when removing it.


Other Features:

Tag: $notpopup   -  use this tag in an item tags to be ignored by this plugin.

Switch: disableItemPopup  -  turn on this switch to disable the plugin at anytime in your game. (case-sensitive).


IMPORTANT:

The script will create a cache popup page in the common event that has the plugin attached, this page is important, and you should not change anything in it.

Notes

* If you find any bug, do not hesitate to let me know!

* This plugin is not paid, although I will appreciate any kind of support to being able to keep making FREE plugins!. 

* This plugin only requires giving credits to me! (Jagonz) in your game. 

* Any questions I am always active in the official Bakin Discord or here in the comment section!

Download

Download NowName your own price

Click download now to get access to the following files:

ItemPopupScript.zip 10 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.