Webcam, canvas plugin and difference effect

Get help using Construct 2

Post » Sat Sep 22, 2012 1:03 pm

Hi!

I was trying to make a simple webcam motion detection app by loading sprites with usermedia snapshots at set intervals, and then calculating the difference between them with a "difference" effect.

My idea was to load the resulting image into a canvas object (using the canvas plugin by R0J0hound), so I can do pixel-color based collision detection.

But when I paste sprites into the canvas object, effects are lost.

I don't want to use the "Snapshot canvas" System action, because it saves the image from all layers. Any Idea?
Might I use two different canvas objects and manually calculate the difference?
B
39
S
11
G
5
Posts: 132
Reputation: 8,228

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 19 guests