determine the colour of an area of a usermedia snapshot?

Get help using Construct 2

Post » Wed Jun 18, 2014 8:12 am

Hi,

I made a flash webcam game in which a black and white screen capture(bitmap) was analysed to see if it had changed when compared to another. The most difference cause a hit.

How do I determine the colour of an area of either usermedia or a changeable background image that is loaded from the net?

is it SDK time ? :) I've really been enjoying throwing things together with C2, it's made me a bit code lazy
B
9
S
3
G
1
Posts: 12
Reputation: 1,194

Post » Wed Jun 18, 2014 1:06 pm

I've been playing with this again https://github.com/ReallyGood/js-motion-detection which has allowed me to do one application outside of C2 but I'd still like to incorporate it.

I've also had a quick look at CallJS which will help me loads THANKS Joe

However, I'm stuck as far as determining the colour of the background, ideally as a grid over the whole screen or by pixel all though I think I'll kill my machine :)
B
9
S
3
G
1
Posts: 12
Reputation: 1,194


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests