Make sprites fractured or let them break

Hello guys, I am very interested in using Defold for my next mobile game. To fully get comfortable with Defold I need to know if there is an option to cut/slice a sprice after an event.

For example I found from Godot some videos , which effect I want to produce:

Thank You in Advance!

if there is an option to cut/slice a sprite after an event

Not easy to do currently. It probably is possible currently now that we can dynamically make meshes/uv stuff, but would require a similar tool made for Defold.

How about this example:

We have an enemy sprite and on death it falls apart into 3-6 pieces. Can we split an image without an image is created by multiple sprites?

Do you need physics shapes on the fractured pieces? The fracturing can be done with a mesh component afaik, would be a fun project to test it!

2 Likes

For my idea it is not necessary to have a physics shape on the fractured pieces. Letting creatures randomly or on hit break into several sprites is my goal! In other hand to make a mesh fracture: Is there any showcase of it?

Ok well I’m that case it should be doable, but I’m not sure anyone has attempted it. But it would be a cool little demo if anyone wants to give it a go! It’s Easter now so I can’t try it myself unfortunately. There should be buffer+mesh examples available somewhere on the forum I think.

Unfortunately I can not make an example, since I am trying out the engine. Can you link me some useful resources to make it done?