Capture photo to use in the game

Get help using Construct 2

Post » Sun Mar 31, 2013 9:54 pm

Hi, I would like to know how do I capture the user image on the fly (by webcam/mobile camera) then import it to the game and use it as a character's face for example?

Thank you!
B
3
Posts: 3
Reputation: 406

Post » Sun Mar 31, 2013 10:15 pm

This section of the manual may be of use.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,844
Reputation: 48,289

Post » Mon Apr 01, 2013 1:25 am

Thanks for the link, but I still can not get the SnapshotURI. Here's the problem: http://www.mediafire.com/?o7vtttcd8a7x8pa
Did I miss something?
B
3
Posts: 3
Reputation: 406

Post » Mon Apr 01, 2013 1:59 pm

Ok, I should have used UserMedia.SnapshotURI instead of just SnapshotURI as a URI parameter of the Load Image URL, but it still doesnt work?
B
3
Posts: 3
Reputation: 406

Post » Mon Apr 01, 2013 2:51 pm

Event line 3-

System - on canvas snapshot

I think this is used when capturing a snapshot of the whole canvas?

I haven't got a webcam, so i cant test it, but I'm sure this is

why it fails.
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Sun Jun 16, 2013 7:44 pm

@nscirra did you make it work? I'm stuck with the same problem
B
5
Posts: 48
Reputation: 346


Return to How do I....?

Who is online

Users browsing this forum: flemmig, Matthew de, semaso, Skebab, Virpoja and 25 guests