It looks like you're new here. If you want to get involved, click one of these buttons!
Hi, I want to cut 2D sprite in runtime.I will draw a line and sprite will be cut .How can I do that ?
Example Photo:
Hmmm... I think it will be pretty triggy to create from skrach.
I found this on the Asset Store, but it does cost som money so:
You can also try to play with the Sprite.Create() function, but that only allows you to do vertical cuts.
If your looking for creating a game simular to fruit ninja, i would recommend just creating "pre-cut" sprites that you can replace the original with, when hitting it. If you use some juicy particles, you might be able to mask/hide the fake cuts
Hope this helps ;)
Hi, here's another Asset that doed the trick (and more)
Unfortunately, it's not free either
Comments
Hmmm... I think it will be pretty triggy to create from skrach.
I found this on the Asset Store, but it does cost som money so:
You can also try to play with the Sprite.Create() function, but that only allows you to do vertical cuts.
If your looking for creating a game simular to fruit ninja, i would recommend just creating "pre-cut" sprites that you can replace the original with, when hitting it. If you use some juicy particles, you might be able to mask/hide the fake cuts
Hope this helps ;)
Hi, here's another Asset that doed the trick (and more)
Unfortunately, it's not free either