[Release][Standalone] rprogress - Customisable radial progress bars

not for sale on your shop :face_with_hand_over_mouth: :shushing_face:

Pretty good release!

when you putting armor and in the last seccond use bandage it didnā€™t wait another secconds for bandage just restore health and add armor

yeah i know i can prevert it by adding exports.rprogress:Stop() on the beggining but just letting u know about that

Edit: when u put exports.rprogress:Stop() action ends ahead of time when another item is used

suggestion: add disable controls when doing action

1 Like

Thanks for the suggestion. Itā€™s been pushed to the master branch and will be part of the next release.

v0.4.0 Release

Changes

  • Start() method now only runs in sync
  • Removed callback from Start() method (see above)
  • Added static progress bars (See docs)
  • Added option to disable controls / actions during progress (Suggested by Korek)

Fixes

  • Fixed old onStart and onComplete callbacks persisting when creating a new progress bar.
  • Fixed boolean bugs

Download

v0.4.2 Released

Fixes

  • Fixed dial being rendered with incorrect radius
  • Fixed dial positioning

Download

v0.4.3 Released

Fixes

  • Fixed From option not working correctly

Download
GitHub

1 Like

really love your work :heartpulse:

suggestion: add option to make it count down (from 100% to 0%) would be very nice

1 Like

just saw that there is already an option to set in custom mode XD silly me

exports.rprogress:Custom({
    From = 100,
    To   = 0
})

Anyway for you to implement animations like mythinc_progressbar

Should be easy enough to implement.

EDIT: Iā€™ll implement it in the next release.

v0.5.0 Released

Changes

Fixes

  • Fixed NUI fetch error

Download
Changelog

1 Like

v0.6.0 Released

Breaking Changes

  • NewStaticProgress method renamed to Static

Fixes

  • Fixed json error

Due to the breaking changes, please replace all instances of exports.rprogress:NewStaticProgress with exports.rprogress:Static.


Download

You do a very good job !

Suggestion : Add a progress bar that needs keyboard interaction at a specific time to perform an action with configurable difficulty.

anyone know how to properly add a skill check to this?

Did someone already develop a mini game out of this ?
i hate to name this but ā€œNoPixel 3.0ā€ style radial progress bar that you need to stop at the right spot by pushing a numberā€¦ skill checkā€¦ pretty sure it was made out of rprogressā€¦

Wow :heart_eyes:

v0.7.0 Released

Fixes

  • Fixed incorrect js params returned from onChange and onComplete functions
  • Fixed progress sometimes going over 100%

Changes

  • Allow css overrides utilising the custom.css file
  • Added MiniGame() method. See Docs. (Suggested by Xelorsys and others)
    exports.rprogress:MiniGame({
        Difficulty = "Easy",
        onComplete = function(success)
                if success then
                    -- Player was successful
                else
                    -- Player was unsuccessful
                end    
        end
    })

Mini Game Demo


GitHub Repo
Download