A helper library for creating destructible 2D terrain complete with collision checks and examples.

Posted on 26th Apr 2019. Follow @phaser_ and get the Phaser World newsletter.

image

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.

Read More

Learn to code and lead your intrepid crew on a mission to save The Cloud in TwilioQuest, a PC role-playing game inspired by classics of the 16-bit era. Free forever, and available now for Windows, Mac, and Linux.

The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
  • By Emanuele Feronato
  • 155 Pages
  • 28 Source Code Examples
  • Build a complete game from start to finish
  • Cross Platform
  • Scaling for devices
Buy Now
$19