An open source Phaser implementation of a destructible terrain helper library for 2D games. Using a quad-tree algorithm, TypeScript and Phaser 3. Download from GitHub to see in action.
Features:
- Support draw / erase with circles, triangles, rectangles, lines.
- Destructible objects base class, allow extends, support draw / erase with another destructible object.
- Support collision check with static or moving points, lines.
- Examples.