{"id":21652416,"url":"https://github.com/samme/phaser-plugin-follow","last_synced_at":"2025-04-11T20:40:36.610Z","repository":{"id":52096582,"uuid":"135649021","full_name":"samme/phaser-plugin-follow","owner":"samme","description":"Track another object's position","archived":false,"fork":false,"pushed_at":"2025-02-11T18:36:30.000Z","size":230,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-25T16:45:27.416Z","etag":null,"topics":["phaser","phaser-plugin","phaser3","phaser3-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samme.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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-06-01T00:37:28.000Z","updated_at":"2025-02-11T18:36:34.000Z","dependencies_parsed_at":"2025-02-11T19:39:53.706Z","dependency_job_id":null,"html_url":"https://github.com/samme/phaser-plugin-follow","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samme%2Fphaser-plugin-follow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samme%2Fphaser-plugin-follow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samme%2Fphaser-plugin-follow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samme%2Fphaser-plugin-follow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samme","download_url":"https://codeload.github.com/samme/phaser-plugin-follow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248478672,"owners_count":21110744,"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":["phaser","phaser-plugin","phaser3","phaser3-plugin"],"created_at":"2024-11-25T07:55:13.475Z","updated_at":"2025-04-11T20:40:36.588Z","avatar_url":"https://github.com/samme.png","language":"JavaScript","readme":"Phaser 3 Follow Plugin\n======================\n\n```javascript\nnew Phaser.Game({\n  plugins: {\n    scene: [{ key: 'FollowPlugin', plugin: PhaserFollowPlugin, mapping: 'follow' }]\n  }\n});\n```\n\n`PhaserFollowPlugin` is a global reference to the plugin class. The package module exports the same value.\n\nIn a scene:\n\n```javascript\nthis.follow.add(follower, {\n  target: target, // Required.\n  offsetX: 0,\n  offsetY: 0,\n  rotate: false,\n  rotateOffset: false\n});\n\nthis.follow.pause(follower);\n\nthis.follow.resume(follower);\n\nthis.follow.remove(follower);\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamme%2Fphaser-plugin-follow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamme%2Fphaser-plugin-follow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamme%2Fphaser-plugin-follow/lists"}