How do I make a custom collision mask for a sprite?

Get help using Construct 2

Post » Wed Apr 16, 2014 8:07 pm

is it possible to import and use an image with alpha channel as a collision mask?

Image

object

Image

transparent collision mask

EDIT

or any other way to use more than one collision polygon with a single sprite or achieve similar result?

Image

thanks
B
3
Posts: 6
Reputation: 187

Post » Wed Apr 16, 2014 11:58 pm

I think you should separate those two sprites from the image. Why would you want them to be like that? It's a waste of memory.
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
89
S
29
G
22
Posts: 1,984
Reputation: 19,997

Post » Thu Apr 17, 2014 2:41 am

yeah i know that's a waste of memory and of course i'm asking that just for learning purposes...
I am really courious to know if its possible to make something similar without having to create two sprites.
thanks for your reply anyway
B
3
Posts: 6
Reputation: 187

Post » Thu Apr 17, 2014 9:07 am

No, it's not possible this way. You got to do two separate sprites.
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
89
S
29
G
22
Posts: 1,984
Reputation: 19,997


Return to How do I....?

Who is online

Users browsing this forum: Nicolas951, Shenkai the ssj, Yahoo [Bot] and 25 guests