Giter Site home page Giter Site logo

cspsy484-finalproject's Introduction

CSPSY484-FinalProject

Your first commit

Background

Our VR project uses Unity as the Editor/Game Engine. Our project is essentially a whole bunch of files where these files collectively make up our game. To manage the versions and existence of these files as we collectively work on the project, we'll be using Git as our source control tool.

Git manages things called repositories. A repository is just a folder with a whole bunch of files and subfolders! Therefore, we can think of our VR Project as analogous to a repository, where:

/CSPSY484-FinalProject─┐
                       │
                       ├─/484Project (Our Unity Project)
                       │
                       ├─/common     (Repository media, like the .gif you see at the top)
                       │
                       ├─/docs       (Our Canvas assignments)
                       │
                       ├─LICENSE     (A trivial but necessary software license)
                       │
                       └─README.md   (A Markdown file, or literally the file you're reading right now! Github will automatically 'render' or display these files when placed in a repository.)
                       
* the '/' character denotes a folder!

Checklist

We need to download two software applications to work on our project:

On the Unity download page, scroll to find the appropriate version for your system and select the relevant:

image

If you're on macOS, follow these steps to discover your architecture:

  1. Go to the apple logo, and click about this mac
  2. Look in the information box, it should give details like Storage, memory, and processor.
  3. If your processor is a INTEL processor, its X64
  4. If it says Apple M1 or M2, it’s arm.

Cloning the repository (Downloading the project)

Once both software applications are installed, open up Github Desktop.

  1. Select File > Options > Accounts, then sign in with your GitHub account.
  2. Select File > Clone Repository > (Under your repositories) Stehfyn/CSPSY484-FinalProject > Clone
  • Make sure you remember the path to where you cloned (downloaded) the repository! For me it was:

image

Opening the VR project

  1. Launch Unity Hub
  2. Select Open > find where you cloned the repository, then select and open 484Project

On Windows, that looks something like this:

image

  • Opening the project may take a long time to load as it builds the necessary files and binaries

Workflow

Once Unity has finished opening our project, we should see something like this:

image

First, Fetch origin in Github Desktop to retrieve the most recent version of the project:

image

Find the Project window at the bottom of the screen, and double select Assets>Scenes>MainScene to load MainScene in the Editor.

image

Our first commit will be to create a new Scene file to act as our personal workspace that we can work on or test things out without affecting MainScene. Since we are not using branches or know what kinds of prefabricated items we need just yet, we will use personal Scene files as a workaround.

To create a personal Scene that uses our MainScene as a template, we can create a copy of MainScene and rename it:

  1. With the MainScene file selected, select Edit > Duplicate, and should see a new Scene file named MainScene 1
  2. Select MainScene 1, then double-click its name and rename it to <YourName>Scene

Github Desktop should now see your updated changes, for me it looks like:

image

To commit these changes from Github Desktop:

  1. Add a summary of your changes (required)
  2. Add a description of your changes (optional)
  3. Select Commit to main
  4. Select Push origin to push these changes to our public repository

If you now refresh our Github repository webpage, you will now see your commit is now available for everyone else:

image

Additional commits

When working on the project make sure to Fetch origin before making a commit in Github Desktop to ensure your commits do not conflict with others' changes. To avoid these conflicts as best one can, it is best to Fetch origin often while working on the project.

image

cspsy484-finalproject's People

Contributors

lindseybee avatar marden-erin avatar stehfyn avatar

Watchers

 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.