Popup Module
This module aims to let you create temporary popups on the screen of your players.
Installation
In your wally.toml file, add this to your dependencies:
Import
You have two solutions to import this module, depending if you wish to import the Controller or the Service on your own, or if you let the module give you the right code.
Configuration
Usage
Client Side
This method allows you to create a popup that will spaw on the screen of the player. It returns a popup table that is useful for the second method of this module.
Usage
Explanation
image: The image for your popup.
text: The text displayed under the image of your popup.
type: Can be
moneyornil, and is used to determine the popup movements later.
This method allows you to move a popup around the screen of the player. A previously created popup is needed for this function to work correctly. It returns a Tween to which you can connect.
Usage
Explanation
Frame: The Frame of your popup. You can access it using
Popup.Frame.Text: The Text of your popup. You can access it using
Popup.Text.Position: The new position of your Frame after the animation.
Size: The new size of your Frame after the animation.