Skip to content

Slice a 2D object into pieces

Slice an object into smaller pieces that match the color of original object.

Authors and contributors to this community extension: VictrisGames.


Useful for creating death animations such as explosions, crumbling, dissolve, or teleportation effects. Object used for pieces should be a solid white color (otherwise the color will not match the original object color).

Tips:

  • Adjust the collision mask to control where pieces will be created,
  • Pieces are linked to the original object which can be used in other events (i.e. explode away from the original object)

This example shows how to slice objects: open the project online.

Tip

Learn how to install new extensions by following a step-by-step guide.

Actions

Slice object into smaller pieces
Slice an object into smaller pieces that match color of the original object. The new object should be a solid white color.


This page is an auto-generated reference page about the Slice a 2D object into pieces extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.