Defold Debris - Click anywhere to explode


This project was created for the Defold Community Challenge #2: Explosions!

It's an example on how to utilise Defold built-in components to create:

  • explostion particlefx out of a single image
  • utilise combination of collision object, sprite and script to create debris-like object
  • factory to spawn multiple debris objects at once

Functionality of debris instantiation is separated into debris.lua module. You can import it to any of your game and use it!

Project is open source: https://github.com/paweljarosz/defold-debris

Happy Defolding!

StatusReleased
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
Authorpaweljarosz
Made withDefold

Leave a comment

Log in with itch.io to leave a comment.