Webcam, canvas plugin and difference effect

Get help using Construct 2

Post » Sat Sep 22, 2012 1:03 pm


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?
Posts: 136
Reputation: 9,225

Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 5 guests