Hello!
I create simple “worms” game. How do i crop an image,subtract one image to another?
Example - rocket destroys a part of static wall:
before:

after:

[import]uid: 122928 topic_id: 22474 reply_id: 322474[/import]
Hello!
I create simple “worms” game. How do i crop an image,subtract one image to another?
Example - rocket destroys a part of static wall:
before:

after:

[import]uid: 122928 topic_id: 22474 reply_id: 322474[/import]
When the wall gets hit, you could remove the first image and immediately replace it with the second.
The first image you would give the default physics body as it’s a regular rectange, the second image would have a custom body so that objects can fall into the hole.
[import]uid: 93133 topic_id: 22474 reply_id: 89628[/import]