How do make a sprite collide with an element in a video?

Get help using Construct 2

Post » Wed Oct 28, 2015 10:37 am

Hi guys! I'm bit new to construct and can't figure out how to work with the canvas plugin. I cant find the past function and where to add the expression? could you post bit more detailed explanation? or a sample file?
many thanks!
B
3
Posts: 7
Reputation: 189

Post » Wed Oct 28, 2015 10:54 am

Drag the sprite to the top left where the canvas frame is. Right click to paste. Then drag again the sprite to move it out of the way.
Now if you place the mouse cursor over the canvas, the rgba values will be displayed. If you want just the alpha value replace "rgbaAt" with "alphaAt"

https://dl.dropboxusercontent.com/u/14855413/c2/canvas.capx
B
13
S
5
G
1
Posts: 116
Reputation: 1,805

Post » Wed Oct 28, 2015 11:44 am

Brilliant! this works great! many thanks!
B
3
Posts: 7
Reputation: 189

Post » Wed Oct 28, 2015 12:10 pm

The only thing is when I paste the UserMedia object into the canvas it drops all the effects applied, and pastes the source video as is. which is not a big deal for my current project but still would be nice if the effects could be also transferred to the canvas object.
B
3
Posts: 7
Reputation: 189

Previous

Return to How do I....?

Who is online

Users browsing this forum: Artcadev and 23 guests