xjxxjx1017 / Destructible-Terrain-With-Phaser

A phaser implementation of destructible terrain helper library for 2D games. Using quad-tree algorithm, typescript and Phaser 3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How would you procedurally generate an initial quad tree?

eguneys opened this issue · comments

I guess this simulation starts with one big rectangle, how would you make it so that you start with bunch of rectangles looking like a terrain?