Last active
March 2, 2019 15:02
-
-
Save digitsensitive/da9bf06ba64e5360d13ec6fc7c064a10 to your computer and use it in GitHub Desktop.
Let's create a dungeon generator for Phaser 3 using Binary Space Partitioning - Create Instance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this.treeInstance = new Tree({ | |
| map: { | |
| width: this.game.canvas.width, | |
| height: this.game.canvas.height, | |
| tileSize: 8 | |
| }, | |
| nodes: { size: { min: 10, max: 20 } } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment