Skip to content

Tools for making photo booth games with Unity. ๐Ÿ“ท

Notifications You must be signed in to change notification settings

GimChuang/UnityPhotoBooth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

UnityPhotoBooth

Tools for making photo booth games with Unity. ๐Ÿ“ท

This project is aimed at building a photo booth game with several tools I wrote. โœจ For more information, please refer to those individual pages:

  • UnityWebcamTool - Simple scripts to control webcam.
  • UnityPhotoTool - Scripts for taking screenshots with countdown animation and chroma keying.
  • UnityFileIOUtility - Scripts to process some basic file I/O (eg. save texture as .jpg).
  • UnityWebTool - Scripts to upload pictures to your server and generate QR codes with the pictures' url.

There are 2 sample scenes in this project:

  • Test_PhotoBooth simply opens webcam, applies the WebCamTexture to a "chroma-keyable" material (press D to open the panel of chroma key settings). Countdown and flash animation will be played when you click the "Take Photo" button. The photo will be saved to your desired path.

  • Test_PhotoBooth_Web adds simple functionality of choosing background for chroma-keying, uploading photo, and getting QR codes.

Notes

git clone --recurse-submodules <URL>
  • This project is developed with Unity 2018.2.8f1 on Windows 10. NOT tested on Mac OS X.
  • Currently I don't have a green screen in my house, so keying function in the above gif is made with After Effects. It's just for demonstration. ๐Ÿ˜‰

License

MIT

Acknowledgement

This project uses ProcAmp by Keijiro and HSV Color Picker by judah4 to achieve chroma keying. Also uses PlayerPrefsX by Eric Haines to save colors with PlayerPrefs! ๐Ÿ™‡โ€โ™€๏ธ

About

Tools for making photo booth games with Unity. ๐Ÿ“ท

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published