{"id":16252980,"url":"https://github.com/hexus/phaser-slopes","last_synced_at":"2025-03-19T20:31:48.829Z","repository":{"id":32922236,"uuid":"144861943","full_name":"hexus/phaser-slopes","owner":"hexus","description":":triangular_ruler: A Phaser 3 Plugin that smooths out MatterJS Tilemap Layer collisions","archived":false,"fork":false,"pushed_at":"2023-03-07T15:12:12.000Z","size":1074,"stargazers_count":34,"open_issues_count":13,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-28T21:02:55.952Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hexus.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}},"created_at":"2018-08-15T14:14:48.000Z","updated_at":"2024-07-15T08:09:16.000Z","dependencies_parsed_at":"2024-10-27T21:32:03.503Z","dependency_job_id":"b4d2c598-b4ba-430a-8e5a-b0a821c63b33","html_url":"https://github.com/hexus/phaser-slopes","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexus%2Fphaser-slopes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexus%2Fphaser-slopes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexus%2Fphaser-slopes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexus%2Fphaser-slopes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexus","download_url":"https://codeload.github.com/hexus/phaser-slopes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244019332,"owners_count":20384732,"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-10-10T15:15:35.020Z","updated_at":"2025-03-19T20:31:44.006Z","avatar_url":"https://github.com/hexus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phaser 3 Slopes Plugin\n\nA [Phaser 3](https://github.com/photonstorm/phaser) Plugin that smooths out MatterJS Tilemap Layer collisions.\n\n\u003cimg width=\"49%\" src=\"screenshots/before.gif\"/\u003e \u003cimg width=\"49%\" src=\"screenshots/after.gif\"/\u003e\n\n:hammer_and_wrench: This plugin is under development. Feel free to\n[report any issues](https://github.com/hexus/phaser-slopes/issues/new) that you find.\n\n---\n\nLooking for a [Phaser CE](https://github.com/photonstorm/phaser-ce) plugin?\nCheck out [Phaser Arcade Slopes](https://github.com/hexus/phaser-arcade-slopes).\n\n## Compatibility\n\n| Phaser               | Phaser Slopes |\n|----------------------|---------------|\n| 3.12.0-beta - 3.55.x | ^0.1.0        |\n| 3.60.0-beta.4+       | ^0.2.0-beta   |\n\n## Usage\n\nInstall the plugin as a dependency of your project using [npm](https://www.npmjs.com/).\n\n```bash\nnpm install phaser-slopes\n```\n\nLoad the plugin into your Scene.\n\n```js\nimport Slopes from 'phaser-slopes';\n\nclass GameScene extends Phaser.Scene\n{\n    preload() {\n        this.load.scenePlugin('Slopes', Slopes);\n    }\n}\n```\n\nYou can use Phaser to load the plugin as a script if you're not using [npm](https://www.npmjs.com/) for dependency\nmanagement.\n\n```js\nclass GameScene extends Phaser.Scene\n{\n    preload() {\n        this.load.scenePlugin('Slopes', 'phaser-slopes.min.js');\n    }\n}\n```\n\nAny MatterJS Tilemap Layers you create within the Scene will automatically collide smoothly with other physics bodies.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexus%2Fphaser-slopes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexus%2Fphaser-slopes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexus%2Fphaser-slopes/lists"}