I have just trying the UserMedia plugin and I think its really great and could open some fun oppotunities for gamedesigning.
I got my sprite (Hero) where I want the head to be the webcam picture, but the shape of the UserMedia plugin is a square so when I upload the picture to the sprite part of my room comes on the picture aswell. So I was wonderring if it was possible to change the shape of the UserMedia photo-thing so it's more "face-like" shaped like FaceinHOLE.com - faceinhole.com/us/create/nascar-driver-holding-trophy/31c3a5f4-c224-4aa6-8976-ee900af85076
I have tryed looking for an answer in the forums but could'nt find any.
Develop games in your browser. Powerful, performant & highly capable.
hey, not sure if you're still pursuing this, but I wonder if you used the different blend modes for layers and objects you could create a mask for the User Media layer.
If you look in the tutorials that come with C2 there is one for a flashlight sort of effect. You could use this same principle to achieve an oval-shaped and even a feathered mask.
as far as I know however, usermedia is primarily only supported in Chrome Desktop. just fyi