Circle

Creates and displays a circle minigame with configurable parameters.
Parameters:
cb(function|boolean): Callback function to receive the result, orfalseto disable callbackcircles(number, optional): Number of circles to complete. Defaults to 1 if nil or less than 1seconds(number, optional): Time duration in seconds. Defaults to 10 if nil or less than 1
Returns:
result(boolean):trueif all circles completed successfully,falseif failed or cancelled
Exports
The module provides the following exports for external use:
Standard Export
PS-UI Export (Legacy Support)
Usage Examples
Now there is two ways you can use this
USE CASE 1:\
This uses a function as the first parameter to run when the circle is done. USE CASE 2:\
this uses false as a first parameter to tell the minigame "we dont need a function" and it returns the result Both cases will work the same exact way, just different ways to handle it :)
Last updated