Jump to content

I can manipulate the phone's camera using Phaser?

Felipe Xavier

Recommended Posts

Phaser doesn't have anything for this, but HTML5 has provisions for accessing the camera in a limited fashion.

<input type="file" accept="image/*">

The above code will create a file input that will launch the camera on mobile phones.  But this works like any other file upload, you may be able to get it to work, I'm not sure.

If you're packaging your app with something like PhoneGap, they add functionality that would let you do something like this, here's a quick example I found online.


Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...