Skip to content

Extension update: Resource bar (continuous) #2255

Description

@NicolasDemangeat

Changes

Just a quick add to have the display in percent if the checkbox is checked
add a news parameters folders to sort the parameters
add a new paramerters "LabelInPercent" checkbox
add a comment in the UpdateLabel function
add condition in UpdateLabel function to display the correct value style (Value / MaxValue or ValueInPercent %)

How to use the new features

Check the checkbox in the parameters in the ResourceBar properties panel

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

Example file

ResourcesBarUpgrade.zip

Extension file

PanelSpriteContinuousBar.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔄 Extension updateAn update for an existing extension🔍 Reviewed extensionAn extension that is to be reviewed in great detail before merging.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions