{"id":15164287,"url":"https://github.com/phaserjs/editor-scripts-audio","last_synced_at":"2026-02-07T00:31:53.225Z","repository":{"id":232292719,"uuid":"783941502","full_name":"phaserjs/editor-scripts-audio","owner":"phaserjs","description":"Phaser Editor scripts for playback audio.","archived":false,"fork":false,"pushed_at":"2024-09-26T15:29:23.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-26T14:55:28.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/phaserjs.png","metadata":{"files":{"readme":"README.MD","changelog":"CHANGELOG.MD","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,"zenodo":null}},"created_at":"2024-04-08T21:59:31.000Z","updated_at":"2024-09-26T15:29:28.000Z","dependencies_parsed_at":"2024-04-09T00:40:53.679Z","dependency_job_id":"48c91431-6712-42a4-8193-e6ab27759352","html_url":"https://github.com/phaserjs/editor-scripts-audio","commit_stats":null,"previous_names":["phaserjs/editor-scripts-audio"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phaserjs/editor-scripts-audio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phaserjs%2Feditor-scripts-audio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phaserjs%2Feditor-scripts-audio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phaserjs%2Feditor-scripts-audio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phaserjs%2Feditor-scripts-audio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phaserjs","download_url":"https://codeload.github.com/phaserjs/editor-scripts-audio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phaserjs%2Feditor-scripts-audio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29181831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T23:15:33.022Z","status":"ssl_error","status_checked_at":"2026-02-06T23:15:09.128Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-09-27T03:03:49.024Z","updated_at":"2026-02-07T00:31:53.203Z","avatar_url":"https://github.com/phaserjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phaser Editor v4 Audio Scripts (library)\n\n**Warning: This project is deprecated. It is now part of the [@phaserjs/editor-scripts-quick](https://www.npmjs.com/package/@phaserjs/editor-scripts-quick) library.**\n\nThis project contains a few Phaser Editor scripts for playing Phaser audios.\n\nThese script nodes are very basic and may fit on any Phaser Editor project.\n\nThe scripts are coded in TypeScript with ES modules.\n\n## Installing (NPM)\n\nThis package depends on the following packages:\n\n- `@phaserjs/editor-scripts-core`\n\nTo install this in your game you have to install dependencies too:\n\n```\nnpm install @phaserjs/editor-scripts-core\nnpm install @phaserjs/editor-scripts-audio\n```\n\nAlso, you should add this package to the `phasereditor2d.config.json` file in your project, in the `scripts` section:\n\n```json\n{\n    \"scripts\": [\n        \"@phaserjs/editor-scripts-core\",\n        \"@phaserjs/editor-scripts-audio\",\n    ]\n}\n```\n\n## Installing (vanilla JavaScript)\n\n* Get the files in the [browser](./browser/) folder and copy them into your JavaScript project. It includes Phaser Editor files, JavaScript files, and TypeScript type definitions.\n* Add a `script` tag to the `index.html` file to load the `lib/phasereditor2d_scripts_core.js` file.\n\n## Summary\n\nThis library provides a couple of actions for playback audio files. As a reminder, an action is executed by an event script or another action.\n\nIt also contains user components for configuring the actions.\n\nThe actions:\n\n* **Play Audio Action** - Plays the given audio key.\n* **Stop Audio Action** - Stops the given audio key.\n* **Stop All Audios Action** - Stops all playing audios.\n* **Pause All Audios Action** - Pauses all playing audios.\n* **Resume All Audios Action** - Resumes all paused audios.\n\nThe user components:\n\n* **Audio Loop Config** - To configure the **loop** property in playing action scripts.\n* **Audio Volume Config** - To configure the **volume** property in playing action scripts.\n\n## Play Audio Action\n\n*Class: `PlayAudioActionScript`*\n\nThis action plays the audio you set in the **Audio Key** property. You can add the **Audio Loop Config** and **Audio Volume Config** components to this script for configuring the sound.\n\n## Stop Audio Action\n\n*Class: `StopAudioActionScript`*\n\nThis action stops the audio with the given **Audio Key**.\n\n## Stop All Audios Action\n\n*Class: `StopAllSoundsActionScript`*\n\nThis action stops all playing audios.\n\n## Pause All Audios Action\n\n*Class: `PauseAllSoundsActionScript`*\n\nThis action pauses all playing sounds.\n\n## Resume All Audios Action\n\n*Class: `ResumeAllSoundsActionScript`*\n\nThis action resumes all paused audios.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphaserjs%2Feditor-scripts-audio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphaserjs%2Feditor-scripts-audio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphaserjs%2Feditor-scripts-audio/lists"}