Unity 101 - Carleton
Unity 101
For Unity there are a huge variety of built in free engines. These are what are used to create 3D, 2D, VR style games, and many more. These are not only limited to just the game creation. They could also be used to design, create, and bring to life; animations, simulations of models, construction, etc.
Figure 1: the 2nd column contains the world environment with obstacles for our players Step 1 of building a game is to build the world/environment. This is the game field that our player(s) will be located, and how they will maneuver around; obstacles, enemies, etc. The world will determine the rest of the game, best part is that there can be multiple levels and scenes to this. With that we can transfer our controls' players and obstacles from level to level without any extra work.
Figure 2: the player environment
Step 2 is adding a player to our environment and providing them with maneuverability. Along with collision detection, building the score around the player and more.
Software Theory
Initial setup of Unity from home:
The program can be found on the this link. Following these steps:
1. Selecting Personal account -> Get Started 2. First-time User -> Start here 3. Agree and download 4. Launch and Agree to the license agreement 5. Install on the desired location on your hard drive 6. The setup options include:
a. The version of Unity you're installing, documentation, standard Assets, Microsoft Visual Studio Tools(optional, but recommended as it provides a very clean text editor), optional; if you are using Mac or Linux choose the build support
components.
Unity version will vary depending on the time of install 7. Click next, and the download process is done from there
Creating a project on Unity Once the setup is done we can launch the Unity Hub, the Hub holds the locations and the package of all the projects. Unity can be also be updated manually in the Installs tab, where the update can be selected. There are also several tutorials and community forums in the Hub that can be used for additional reference.
This is the layout of the Hub. Let's create our own project:
1. Click on New under the projects tab 2. A pop up will appear asking for what game design template you want to use? Enter a
name for your project and the location as to where you want to save it.
3. The initial load up make take some time but after that, we are ready to begin our first project
Unity UI tutorial
This is a default load out of Unity:
There are a bunch of tabs that can be seen, such as hierarchy, scene, game, inspector, etc. These work the same way like chrome tabs do. You can drag them around to lead the screen to your personal preference or switch between the tabs if you are on a small screen.
To focus on the main tabs, we have the following: 1) The Hierarchy:
In this tab we can add our objects in the game. These objects can be visible or non-visible paths for the game. When we want to create the environment layout we use the hierarchy to create our objects for the environment. A) Main Camera: in the hierarchy is used to show the views what the viewers perspective will be in the game. We Can add our player in the hierarchy and bridge the main camera to focus on the player only or we can code the main camera to follow our player throughout the game using vector offset(telling the camera how far away to stay from the player). B) Directional Light: we will not tamper with this to create our game, however if you wanted to adjust the angles that the light is bouncing off, we can rotate, pivot, or move the directional light around for that. This will show us different kinds of shadows, imagine it as the sun shining from a certain angle and having the shadows appear at different locations at the specific time of day. C) World/Player/Obstacles/Enemies: For the object portion of this, these can be added in the hierarchy section by clicking on the plus -> 3d object -> the desired shape you want. With
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
Related searches
- philosophy 101 lecture notes
- free marijuana 101 online course
- marijuana 101 online class
- 101 uses for baking powder
- english 101 composition syllabus
- english 101 syllabus community college
- english 101 placement test practice
- philosophy 101 study notes
- budgeting worksheets 101 for beginners
- english 101 syllabus course outline
- college english 101 worksheets
- dod fm 101 course online