{"id":14963898,"url":"https://github.com/phaserjs/plugin-template","last_synced_at":"2025-10-19T08:32:05.263Z","repository":{"id":137156046,"uuid":"117991407","full_name":"phaserjs/plugin-template","owner":"phaserjs","description":"A base plugin template for Phaser 3","archived":false,"fork":false,"pushed_at":"2019-07-10T13:07:16.000Z","size":7,"stargazers_count":40,"open_issues_count":1,"forks_count":21,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-29T11:03:43.698Z","etag":null,"topics":[],"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/phaserjs.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":"2018-01-18T14:11:32.000Z","updated_at":"2024-08-05T08:10:16.000Z","dependencies_parsed_at":"2024-05-01T18:29:59.215Z","dependency_job_id":"0b6c6815-2a55-4290-bb54-d535e7b65570","html_url":"https://github.com/phaserjs/plugin-template","commit_stats":null,"previous_names":["phaserjs/plugin-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phaserjs%2Fplugin-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phaserjs%2Fplugin-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phaserjs%2Fplugin-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phaserjs%2Fplugin-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phaserjs","download_url":"https://codeload.github.com/phaserjs/plugin-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237092842,"owners_count":19254287,"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","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-24T13:32:17.919Z","updated_at":"2025-10-19T08:32:04.909Z","avatar_url":"https://github.com/phaserjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phaser3 Plugin Template\n\nA base plugin template for Phaser 3 to allow you to create your own plugins.\n\nRun `npm install` and then `npm run build` to build the plugin.\n\n## Using Plugins in Phaser 3\n\nYou can load plugins externally, or include them in your bundle.\n\nTo load an external plugin:\n\n```\nfunction preload ()\n{\n    this.load.plugin('BasePlugin', 'path/to/BasePlugin.js');\n}\n```\n\nThen to install it into a Scene:\n\n```\n    this.sys.install('BasePlugin');\n```\n\nIf you load the plugins in a Preloader scene then you can add them to any other Scenes by specifying them in the plugins array:\n\n```\nvar config = {\n    scene: {\n        create: create,\n        plugins: [ 'BasePlugin' ],\n        map: {\n            'base': 'base'\n        }\n    }\n};\n```\n\nMore examples and instructions will follow, but for now see the [Phaser 3 Examples](https://github.com/photonstorm/phaser3-examples) repo for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphaserjs%2Fplugin-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphaserjs%2Fplugin-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphaserjs%2Fplugin-template/lists"}