Giter VIP home page Giter VIP logo

devcamera's Introduction

DevCamera

DevCamera can be used as a Photo Mode for your game made in Unity. DevCamera allows you to take screenshots, free roam in the game world in FPS mode and freeze time.

Get Started with DevCamera

  1. First create a new camera object in the game environment and attach the DevCamera script to it.
  2. Set the Main UI to the User Interface that you'd want to hide when the player enters the Photo Mode.
  3. Set the Game Camera to the camera that is actively rendering the game (or the FPS Camera of the player)
  4. And done!

Controls

Key Task Description
F3 Toggle Photo Mode Enables or disables the Photo Mode camera and freezes the time in the game engine
W A S D FPS Movement Use WASD to move, forward, left, backwards, and right in the game environment
Left Shift Run Increase the speed of the FPS Movements in Photo Mode.
Mouse Look FPS Look Use the mouse to Look at things in the game environment
X Take Screenshots Take screenshots and save them on Screenshots directory, which is created (if doesn't exist) in the project directory
Scroll Wheel Change FOV Change the Field of View of the Photo Mode Camera. Use scroll up to increase and scroll down to decrease the Field of View.
R Reset FOV Resets Field of View back to 60 (default value)
C Toggle Projection Mode Toggle the projection mode of the Photo Mode camera between Orthographic Projection and Perspective Projection.

Screenshots

Screenshots are saved in as PNG files in the Screenshots directory of the project root directory.

Contributions

This is a very simple project. Feel free to change anything and make your own versions and User Interface Integrations to the project. :D

devcamera's People

Contributors

chamuth avatar

Stargazers

 avatar Manuja-Dilakshitha avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.