{"id":14964099,"url":"https://github.com/dasheck0/phaser3-plugin-easyprogressbar","last_synced_at":"2025-10-12T18:06:18.447Z","repository":{"id":36461044,"uuid":"224997368","full_name":"dasheck0/phaser3-plugin-easyprogressbar","owner":"dasheck0","description":"This is a phaser 3 plugin for creating easy to use progressbars","archived":false,"fork":false,"pushed_at":"2024-01-10T23:16:15.000Z","size":1869,"stargazers_count":10,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T18:05:45.194Z","etag":null,"topics":["phaser","phaser3","phaser3-plugin","phaser3-plugin-easyprogressbar","phaserjs","plugin","progressbars"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dasheck0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-30T10:47:01.000Z","updated_at":"2024-05-29T11:29:21.000Z","dependencies_parsed_at":"2024-09-13T20:56:29.145Z","dependency_job_id":"fe9906ec-f4ba-4753-b9a1-c8a9fbd9158b","html_url":"https://github.com/dasheck0/phaser3-plugin-easyprogressbar","commit_stats":{"total_commits":81,"total_committers":3,"mean_commits":27.0,"dds":0.5061728395061729,"last_synced_commit":"8d08a636e17092a13f5099bc72ea0cf226a4060e"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/dasheck0/phaser3-plugin-easyprogressbar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasheck0%2Fphaser3-plugin-easyprogressbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasheck0%2Fphaser3-plugin-easyprogressbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasheck0%2Fphaser3-plugin-easyprogressbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasheck0%2Fphaser3-plugin-easyprogressbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dasheck0","download_url":"https://codeload.github.com/dasheck0/phaser3-plugin-easyprogressbar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasheck0%2Fphaser3-plugin-easyprogressbar/sbom","scorecard":{"id":323685,"data":{"date":"2025-08-11","repo":{"name":"github.com/dasheck0/phaser3-plugin-easyprogressbar","commit":"8d08a636e17092a13f5099bc72ea0cf226a4060e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"name":"Code-Review","score":-1,"reason":"Found no human activity in the last 16 changesets","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"46 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-pfq8-rq6v-vf5m","Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27","Warn: Project is vulnerable to: GHSA-4www-5p9h-95mh","Warn: Project is vulnerable to: GHSA-9gqv-wp59-fq42","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-h9rv-jmmf-4pgx","Warn: Project is vulnerable to: GHSA-hxcc-f52p-wc94","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T01:58:20.112Z","repository_id":36461044,"created_at":"2025-08-18T01:58:20.112Z","updated_at":"2025-08-18T01:58:20.112Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012471,"owners_count":26085131,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["phaser","phaser3","phaser3-plugin","phaser3-plugin-easyprogressbar","phaserjs","plugin","progressbars"],"created_at":"2024-09-24T13:32:34.549Z","updated_at":"2025-10-12T18:06:18.408Z","avatar_url":"https://github.com/dasheck0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phaser3-plugin-easyprogressbar\nThis is a phaser 3 plugin for creating easy to use and beautiful progressbars. Easy progressbars support:\n\n* Horizontal and vertical layout\n* Forward and backward progress\n* Flat and shiny design\n* Rounded progressbars\n* Customizable progress text\n* Adding and styling indicators\n* Animating progress \n\n![](https://github.com/dasheck0/phaser3-plugin-easyprogressbar/blob/develop/art/demo.png)\n\n## Usage\n```javascript\nimport 'phaser';\nimport EasyProgressbarPlugin from 'phaser3-plugin-easyprogressbar';\n\nconst game = new Phaser.Game({\n  width: 1024,\n  height: 768,\n  backgroundColor: 0xffffff,\n  scale: {\n    mode: Phaser.Scale.FIT,\n    autoCenter: Phaser.Scale.CENTER_BOTH\n  },\n  scene: {\n    create: create,\n  },\n  plugins: {\n    global: [{\n      key: 'EasyProgressbarPlugin',\n      plugin: EasyProgressbarPlugin,\n      start: true\n    }]\n  }\n});\n\nfunction create() {\n  this.add.easyProgressbar(100, 100, 200, 48, {\n    color: 0xf7cf57,\n    padding: 3,\n    radius: 3,\n    progress: 1,\n    text: {\n      enabled: true,\n      format: progress =\u003e `XP: ${(progress * 100).toFixed(0)}%`,\n      origin: {\n        x: 0.5,\n        y: 0.5\n      },\n      align: {\n        x: 'center',\n        y: 'start'\n      },\n      style: {\n        fontSize: '24px',\n        stroke: '#000000',\n        strokeThickness: 4,\n        shadow: {\n          offsetX: 2,\n          offsetY: 2,\n          color: '#000000',\n          blur: 4,\n          stroke: true,\n          fill: true\n        }\n      }\n    }\n  });\n}\n```\n\n## API\n```javascript\n// initialize plugin ...\n// this.add.easyProgressbar(x, y, width, height, options)\nconst progressBar = this.add.easyProgressbar(0, 0, 100, 50, {});\n```\n\nOptions can be as follows: \n\n| Name | Explanation | Example | Default |\n|:-|:-|:-|:-|\n| progress | The initial progress of the progress bar. Must be float between `0` and `1` | `0.5` | `1` |\n| orientation | Orientation of the progressbar. Can either be `horizontal` or `vertical` | `horizontal` | `horizontal`|\n| reverse | Boolean that indicates whether the progressbar operates forward or backwards. Also depends on the `orientation`. Forward direction for `horizonal` is from left to right. Forward direction for `vertical` is from top to bottom. If set to `true` it reverts the direction (right to left and bottom to top). | `true` | `false` |\n| radius| The radius of the progress bar corners. Maximum value is half of the width and height respectively based on `orientation`| `5` | `0` |\n| backgroundColor | The background color of the progress bar | `0xffffff` | `0x000000` |\n| backgroundAlpha | The background alpha of the progress bar | `0.5` | `0.5` |\n| color | The foreground color of the progressbar | `0xff0000` | `0xffffff` |\n| flat | Boolean that indicates, whether the progressbar has some color highlights (`false`) or not (`true`) | `false` | `false` |\n| indicators.enabled | Boolean that indicates whether indicators are drawn or not. | `true`| `false`|\n| indicators.color| The color of the indicators. | `0xffffff`| `0x000000`|\n| indicators.alpha| The alpha of the indicators| `0.5`| `0.1`|\n| indicators.size| The width or height of the indicators depending on `orientation` | `5`| `2` |\n| indicators.distance| The distance between indicators in percent of width or height of progressbar depending on `orientation`| `0.1`| `0.1`|\n| text.enabled| Boolean that indicates whether progress text should be drawn| `true`| `false`|\n| text.style| Phaser 3 compatible text style | `{}` | `false`|\n| text.format| Function that takes progress as first parameter and should return a string | `progress =\u003e (progress * 100).toFixed(0)`| `progress =\u003e progress`|\n| text.origin.x| The x origin of the text| `0.5`| `0.5`|\n| text.origin.y| The y origin of the text| `0.5`| `0.5`|\n| text.align.x| The horizontal alignment of the text within the progressbar. Must be either `start`, `center` or `end`| `end`| `center`|\n| text.align.y| The vertical alignment of the text within the progressbar. Must be either `start`, `center` or `end`| `end`| `center`|\n| text.padding| The padding of the foreground progressbar to its background| `2`| `5`|\n\n```javascript\nconst progressBar = this.add.easyProgressbar(0, 0, 100, 50, options);\n\n// without animation\nprogressBar.setProgress(0.2);\n\n// with animation\nprogressBar.setProgress(0.8, true);\n```\n## Installation\n```\nnpm i phaser3-plugin-easyprogressbar\n```\n\nAlternatively you can grab the latest distributed version directly from github via: [https://raw.githubusercontent.com/dasheck0/phaser3-plugin-easyprogressbar/master/dist/EasyProgressbarPlugin.js](https://raw.githubusercontent.com/dasheck0/phaser3-plugin-easyprogressbar/master/dist/EasyProgressbarPlugin.js)\n\n## Contributing\nBug reports and pull requests are welcome on GitHub at [https://github.com/dasheck0/phaser3-plugin-easyprogressbar/pulls](https://github.com/dasheck0/phaser3-plugin-easyprogressbar/pulls). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.\n\n## License\n``` \nMIT License\n\nCopyright (c) 2019 Stefan Neidig\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdasheck0%2Fphaser3-plugin-easyprogressbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdasheck0%2Fphaser3-plugin-easyprogressbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdasheck0%2Fphaser3-plugin-easyprogressbar/lists"}