{"id":14964127,"url":"https://github.com/quinten/dust-phaser-plugin","last_synced_at":"2025-09-30T19:30:48.577Z","repository":{"id":57217246,"uuid":"174678248","full_name":"Quinten/dust-phaser-plugin","owner":"Quinten","description":"a Phaser 3 plugin for floating dust particles","archived":false,"fork":false,"pushed_at":"2022-12-25T11:57:12.000Z","size":13,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-11T23:27:18.244Z","etag":null,"topics":["html5-game-development","phaser","phaser-plugin","phaserjs"],"latest_commit_sha":null,"homepage":null,"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/Quinten.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}},"created_at":"2019-03-09T10:14:33.000Z","updated_at":"2024-05-29T12:30:52.000Z","dependencies_parsed_at":"2023-01-30T22:00:53.256Z","dependency_job_id":null,"html_url":"https://github.com/Quinten/dust-phaser-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Quinten/dust-phaser-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quinten%2Fdust-phaser-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quinten%2Fdust-phaser-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quinten%2Fdust-phaser-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quinten%2Fdust-phaser-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Quinten","download_url":"https://codeload.github.com/Quinten/dust-phaser-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quinten%2Fdust-phaser-plugin/sbom","scorecard":{"id":116210,"data":{"date":"2025-08-11","repo":{"name":"github.com/Quinten/dust-phaser-plugin","commit":"3b6551de3c9dc3334ab90ec1cb6963054702bbc5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 0/19 approved changesets -- score normalized to 0","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":"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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 1 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"}}]},"last_synced_at":"2025-08-16T01:21:02.036Z","repository_id":57217246,"created_at":"2025-08-16T01:21:02.036Z","updated_at":"2025-08-16T01:21:02.036Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277746955,"owners_count":25870057,"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-09-30T02:00:09.208Z","response_time":75,"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":["html5-game-development","phaser","phaser-plugin","phaserjs"],"created_at":"2024-09-24T13:32:36.504Z","updated_at":"2025-09-30T19:30:48.273Z","avatar_url":"https://github.com/Quinten.png","language":"JavaScript","readme":"# dust-phaser-plugin\n\na Phaser 3 plugin for floating dust particles\n\nThe goal of this plugin is to provide an easy way to add 1x1 pixels that wander around the screen. This animation effect can give a little bit more life and polish to your pixelart scene.\n\n### Install from npm\n\n```\nnpm i dust-phaser-plugin\n```\n\nPhaser must also be a dependency of your project.\n\n### Use it in your Phaser game\n\nAdd it as a scene plugin:\n\n```\nimport \"phaser\";\nimport Level from \"./scenes/Level.js\";\nimport DustPhaserPlugin from \"dust-phaser-plugin\";\n\nvar config = {\n    type: Phaser.WEBGL,\n    width: 640,\n    height: 480,\n    backgroundColor: \"#000000\",\n    pixelArt: true,\n    zoom: 2,\n    plugins: {\n        scene: [\n            { key: \"DustPlugin\", plugin: DustPhaserPlugin, mapping: \"dust\" }\n        ]\n    },\n    scene: [\n        Level\n    ]\n};\n\n// start game\nconst game = new Phaser.Game(config);\n```\n\nThen in the create method of the scene you want to add the particles to:\n\n```\nclass Level extends Phaser.Scene {\n\n    constructor (config)\n    {\n        super((config) ? config : { key: \"level\" });\n    }\n\n    create()\n    {\n        this.dust.addOnePixelDust({ count: 12, alpha: .85 , tint: 0xA3CB38 });\n    }\n}\n```\n\nThis will add 12 green 1x1 pixels that wander around the camera viewport.\n\nIf you want to use your own image instead of a 1x1 pixel, you have to preload an image with the key `dust`:\n\n```\nthis.load.image(\"dust\", \"assets/dust.png\");\n```\n\nThen you can call `addDust` in the create method of your scene:\n\n```\nthis.dust.addDust( { count: 10 } );\n```\n\n### Parameters\n\nBoth `addOnePixelDust` and `addDust` take a config object as argument with 3 optional properties:\n\n|Name|Type|Default|Description|\n|:--:|:--:|:-----:|:----------:|\n|**`count`**|`{Integer}`|`8`|The number of particles within the camera viewport at any given time.|\n|**`alpha`**|`{Number}`|`1`|A number between 0 and 1, indicating the amount of transparency of the particle.|\n|**`tint`**|`{Integer}`|`0xffffff`|A tint to apply to the particle. Use a white texture for best results.|\n\n### License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquinten%2Fdust-phaser-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquinten%2Fdust-phaser-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquinten%2Fdust-phaser-plugin/lists"}