Skip to content

Slice an 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. Pieces should be a solid white color or the color of the piece will not match the original 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)

Tip

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

Example
A simple example shows how to slice objects in different ways Open the project online

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 an 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.