{"id":14964061,"url":"https://github.com/anthony-mills/procedural_dungeon","last_synced_at":"2025-10-25T03:31:25.698Z","repository":{"id":141494696,"uuid":"92057104","full_name":"anthony-mills/procedural_dungeon","owner":"anthony-mills","description":"PhaserJS plugin for the procedural generation of dungeon layouts for games.","archived":false,"fork":false,"pushed_at":"2019-06-06T10:07:20.000Z","size":477,"stargazers_count":40,"open_issues_count":0,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-31T05:33:45.652Z","etag":null,"topics":["dungeon","game","gamedev","html5","maze","phaser","phaserjs","plugin","procedural-generation"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anthony-mills.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}},"created_at":"2017-05-22T13:32:10.000Z","updated_at":"2024-08-05T08:10:52.000Z","dependencies_parsed_at":"2023-07-03T15:31:10.083Z","dependency_job_id":null,"html_url":"https://github.com/anthony-mills/procedural_dungeon","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthony-mills%2Fprocedural_dungeon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthony-mills%2Fprocedural_dungeon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthony-mills%2Fprocedural_dungeon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthony-mills%2Fprocedural_dungeon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthony-mills","download_url":"https://codeload.github.com/anthony-mills/procedural_dungeon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238075293,"owners_count":19412308,"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":["dungeon","game","gamedev","html5","maze","phaser","phaserjs","plugin","procedural-generation"],"created_at":"2024-09-24T13:32:31.898Z","updated_at":"2025-10-25T03:31:20.314Z","avatar_url":"https://github.com/anthony-mills.png","language":"JavaScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Dungeon Generator PhaserJS Plugin\n\nA PhaserJS plugin to make the procedural generation of mazes and dungeons easy. You can see a [live demo of the plugin working here](https://www.bigsoutherly.com/games/dungeon-generator/).\n\n## Usage \n\nUsage of the plugin for the generation of a dungeon is fairly straight forward:\n\n* Load the script into your [PhaserJS](https://phaser.io/) project\n* Initialise the plugin i.e dungeonCreator = game.plugins.addPhaser.Plugin.DungeonCreator);\n* Set up any required parameters for your dungeon by passing parameters the setupDungeon method.\n* Call the createMap method to generate your dungeon e.g dungeonCreator.createMap();\n\nTake a look at demo in the examples/ folder for a basic working implementation.\nydney/new/\n## Parameters\n\nTo configure the layout of your dungeon. Pass an object with your required parameters to the setupDungeon method.\n\n* wall - The sprite cache key to use for the dungeon walls\n* floor -  The sprite cache key to use for the dungeon floor\n* max_rooms - The maximum number or rooms in the Dungeon\n* room_max_size - The maximum size of a room in tiles\n* room_min_size - The minimum size of a room in tiles\n* map_size_x - The horizontal size of the map in pixels\n* map_size_y - The vertical size of the map in pixels\n\n## Example Usage\n\nA working example of the plugin is included in the /examples folder of the repo.\n\n![Example use of plugin](/screenshots/example_screenshot.png?raw=true \"Plugin Demonstration\")\n\n## Licence\n\nCopyright (C) 2017 [Anthony Mills](http://www.anthony-mills.com)\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthony-mills%2Fprocedural_dungeon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthony-mills%2Fprocedural_dungeon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthony-mills%2Fprocedural_dungeon/lists"}