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
134
S
30
G
86
Posts: 5,422
Reputation: 59,530

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
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Sun Jun 16, 2013 7:44 pm

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


Return to How do I....?

Who is online

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