Created
March 2, 2019 14:54
-
-
Save digitsensitive/53239946dfb92823d20aa959a15bb508 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({ | |
| width: this.game.canvas.width, | |
| height: this.game.canvas.height, | |
| tileSize: 8, | |
| leafSize: { min: 10, max: 20 } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment