How do I slice a sprite?

Get help using Construct 2

Post » Sat Oct 10, 2015 6:18 pm

I am working on a game, and the main concept there is to cut/chop a sprite using finger touch, like in fruit ninja, but do that in a way that I can select each sliced part of my sprite separately.
B
3
Posts: 6
Reputation: 187

Post » Sat Oct 10, 2015 6:42 pm

Sombody made a trim effect:
nearly-daily-effects-by-somebody-neat-things-big-gifs_t123401

You will need to spawn 2 sprites. Will only work horizontal or vertical iirc.

The only other way I know to do it is with Unity and middle-ware that does real time boolean subtracts on the meshes.

Maybe someone else knows a good way. I would like to learn this new trick too :)
B
29
S
8
G
4
Posts: 767
Reputation: 5,985

Post » Sat Oct 10, 2015 7:00 pm

Hrmmm, there are Draw modes too i forgot about. Maybe you can hack something to together using the spurce in, source out ...Etc...

Just use another sprite to occlude the subtracted part of the original fruit sprite. Can be whatever angle the occlude sprite is set at.

in C2 just start a new project, and search for "DRAW" to find the draw mode example.
B
29
S
8
G
4
Posts: 767
Reputation: 5,985


Return to How do I....?

Who is online

Users browsing this forum: blissfulwizard, DevinMurray, RobertMKD and 15 guests