webcam in CC

New releases and general discussions.

Post » Tue Nov 20, 2012 7:17 pm

how can i launch a webcam image on project?

i dont use CC but i need create a which will display the image from the web camera and video such as mpeg delgado2012-11-20 19:28:09
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Tue Nov 20, 2012 11:56 pm

Here's some examples of using the webcam object in CC if it helps:

As a game (DirectX) - https://dl.dropbox.com/u/4714446/WebcamDirectX.cap

As an application - https://dl.dropbox.com/u/4714446/WebcamApp.cap
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
116
S
41
G
17
Posts: 2,204
Reputation: 19,545

Post » Thu Nov 22, 2012 2:56 pm

thanks @jayjay i will take a look at this
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Thu Nov 22, 2012 6:47 pm

No problem @delgado, hope it helps!
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
116
S
41
G
17
Posts: 2,204
Reputation: 19,545

Post » Thu Nov 22, 2012 10:02 pm

@Jayjay i have another question. Why window shows image from webcam only at first time when i run this app ?delgado2012-11-22 22:14:15
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Fri Nov 23, 2012 7:06 am

@delgado Hmm, you mean it doesnt work when multiple copies are open? Or just the second time you debug it? =/

Also, is it the Application or DirectX version you're trying?
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
116
S
41
G
17
Posts: 2,204
Reputation: 19,545

Post » Fri Nov 23, 2012 8:55 am

@Jayjay i dont open this two app in one time. Now when i open one of this applications i have this window before: https://dl.dropbox.com/u/44710358/DSC_0125.jpg
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Fri Nov 23, 2012 9:21 am

Ah I see, looks like it's not releasing the webcam when you close it the first time, so Windows can't access it. Not sure how to fix that since it might be a bug in the Webcam object.

Maybe have exiting only possible from a custom button and see if the webcam object has a "stop viewing webcam" event.
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
116
S
41
G
17
Posts: 2,204
Reputation: 19,545


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests