Is there way to transfer snapshot to sprite ?
Sprite Load Image from URL -> UserMedia.SnapshotURL
Image will be loaded into the current frame. You can resize it in "On image loaded" event if needed.
nothing happen.
Problem solved !
before take snapshot do the TakeSnapshot from UserMedia
thanks all
Develop games in your browser. Powerful, performant & highly capable.
In C2 start a New Project and in the list of templates select "Example: Webcam". There is a button that snaps an image from the camera and loads it into a sprite.