SlideShare a Scribd company logo
1 of 19
Everything About Unity
Unity 3D
ibjects.com
Presented to
Bilal Shahzad
http://docs.unity3d.com/Documentation/Manual/index.html
• Introduction
• Installing
• Unity Basics
• Scripting
• Assets
• Scenes
• Game Objects
• Prefabs
• Build
ibjects.com
ibjects.com
A screen shot of the game created using Unity 3D Engine for PC.
As you can see in the screen shot that the graphics are realistic. See how the shadow
of tree is accordingly to the sun light and the rest of graphics are also giving it a
realistic view. You also play these type of games now a days in your PC’s. Ever
wonder how they are created? Well now you can do it using Unity Engine.
Introduction
ibjects.com
The extension of a unity file is .unity. You can make games on unity for different
platforms that include Android and iOS.
• This screen shot is showing the
platforms on which you can export
your .unity file.
• So now you see the unity is a huge
tool if you are interested in game
development.
• However, in these slides we will only
cover Unity for PC games.
• Unity is a freeware software. Bur it is
now freeware if you want to use it for
commercial purpose. (Selling your
games in market)
Introduction
ibjects.com
Unity is a multi-platform, integrated IDE for scripting
games, and working with 3D virtual worlds Including:
• Game engine
3D objects / lighting / physics / animation / scripting
• Accompanying script editor
MonoDevelop (win/mac) << RECOMMENDED TO USE
Can also use Visual Studio (Windows)
• 3D terrain editor
• 3D object animation manager
• GUI system
• Executable exporter many platforms:
Native application / web player / iPhone / Android / Wii
Introduction
ibjects.com
System Requirements
Windows: XP SP2 or later;
Mac OS X: Intel CPU & "Snow Leopard" 10.6 or later.
Note that Unity was not tested on server versions of Windows and OS X.
Graphics card with DirectX 9 level (shader model 2.0) capabilities. Any card made since
2004 should work.
Using Occlusion Culling requires GPU (Graphics Processing Unit) with Occlusion Query
support (some Intel GPUs do not support that).
Installation
Installing Unity 3D is simple.
• Download the latest Unity distribution from http://unity3d.com/unity/download/
• Run the installer with default settings.
• Run Unity for the first time. It may open the demo project, or it will ask you to create a
project. Open the demo or create a new project without changing any settings.
• Follow the instructions to register online, fill out your email address and just use the
free/indie license.
• Go to File > Open Project
• When your project will be loaded, it will open in unity. More on next slide
Installing
ibjects.comUnity Basics
Screen Shot of Unity Main Interface with a Project Opened
1 – Scene
Scene is same as Hierarchy(2) = same, just diff. views
Editable (design-time) 3D game objects in the current scene
2 – Hierarchy
Text list of game objects and sub-objects in the current scene
3 – Inspector
Properties for currently selected
4 – Game
Preview how game will look when executing
5 – Project
Contents of Project ‘assets’ folder (i.e. files in that folder)
– library of scripts, digital media files, and scenes
ibjects.comUnity Basics
ibjects.comUnity Basics
This is the top most bar below Menu Bar in Unity Main Interface Window.
Click-drag to drag the camera around
Hold Alt and click-drag to orbit the camera around the current pivot point.
Hold Control and click-drag to zoom the camera.
Above the Inspector panel, you'll see the Layers and Layout dropdowns. Game Objects can
be grouped into layers, much like in Photoshop or Flash. Unity stores a few commonly used
layouts in the Layout dropdown. You can also save and load your own custom layouts.
These three buttons help you test your game and control playback. As you've seen, the Play
button starts and stops your game. The Pause button works as expected—it pauses your
game so that you can make changes to it on the fly. The third button is a Step-Through
control; use it to advance frame-by-frame through your game so that you can more tightly
control what's going on.
ibjects.comUnity Basics
The Scene window is where you can position your Game Objects and move things
around. This window has various controls to change its level of detail. Use these
controls to toggle lighing on and off, and to display the window contents with textures,
wireframes, or a combination of both. You can use the colorful gizmo in the top-right
corner to constrain the window to the X, Y, and Z axes to view the top and sides of your
scene. Click on the white box in the middle to return to perspective view. This is what
the Scene window looks like when you start a new project or create a new Scene.
You can think of scenes as levels or stages in your
game.
A unity “scene” is essentially a “level” or “screen”
Typical game
Welcome / main menu screen
Buttons: play game / see high scores / read
instructions / change input settings
Level 1 / Level complete / Level 2 etc…
Game Over / Enter details for new High Score …
All the above would be separate “scenes” in unity
Some scenes may be entirely based around the Unity
GUI scripts / components – i.e. be text / buttons on
screen
ibjects.comUnity Basics
The Game window shows you what your players will see. When you click on the Play
button to test your game (as you just did with the Island Demo), the results of your
efforts play out in this window. Toggle the Maximize on Play button to test your game
in full-screen mode.
ibjects.comUnity Basics
The Hierarchy panel lists all of the Game Objects in your
Scene. Game Objects - cameras, lights, models, and
prefabs—are the things that make up your game.
They can be "tangible" things like the birds and the bridge in
the Island Demo. They can also include intangible things,
which only you as the game developer get to see and play
with, such as the cameras, the lights, and colliders, which are
special invisible shapes that tell the game engine when two
Game Objects are touching.
So, Game Objects can include touchy-feely "physical" objects
like birds and bridges, as well as behind-the-scenes
intangible things like lights, cameras, and actions (scripts).
Click on a Game Object in the Hierarchy panel, and then
hover your mouse over the Scene window. Press the F key on
your keyboard, and the Scene window will automatically pan
and zoom directly to that object. Alternatively, you can go to
Edit | Frame Selected, which can be more reliable than using
the keyboard shortcut. (I like to think of the F as standing for
Focus to help me remember what this shortcut does).
ibjects.comUnity Basics
It lists all of the elements that you'll use to create Game
Objects in your project.
The Project panel contains many of the elements, or
ingredients, that go into making our Game Objects.
The Project panel displays the contents of a special folder
called Assets. Unity automatically creates the Assets folder
for you when you create a new project. If you drag a
compatible file, like a 3D model, a sound effect, or an image
into the Project panel, Unity copies it to the Assets folder
behind the scenes, and displays it in the Project panel.
Don't mess with the Assets folder!
Unity stores metadata about the folder, and by moving stuff
around or deleting things through your operating system,
you may break your project. If you need to make changes,
make them right inside Unity in the Project panel.
ibjects.comUnity Basics
The Inspector is a context-sensitive panel, which means that
it changes depending on what you select elsewhere in Unity.
This is where you can adjust the position, rotation, and scale
of Game Objects listed in the Hierarchy panel.
The Inspector can also display controls to configure
components that add functionality to Game Objects.
Between the three main panels in Unity (Hierarchy, Project,
and Inspector), the Inspector is where you'll likely spend
most of your time because that's where you'll be tweaking
and fiddling with every aspect of the elements that comprise
your game projects.
ibjects.comScripting
• Unity implements a MONO compiler
• Scripts can be written in
JavaScript
Note – most introductory tutorials are written in Javascript – for those learning
programming its fine
C#
Very similar to Java, Unity can be integrated with the Microsoft Visual Studio editor, to
get full benefits of code completion, source version control etc.
Serious developers work in C#
• In Unity, select from the menu Assets->Sync VisualStudio Project
• Find the newly created .sln file in your Unity project (one folder up from your Assets folder)
• Open that file with Visual Studio Express.
• In Unity, go to Edit->Preferences, and make sure that Visual Studio is selected as your preferred
external editor.
• Doubleclick a C# file in your project. Visual Studio should automatically open that file for you.
• You can edit the file, save, and switch back to Unity.
• You can now edit all your script files, and switch back to Unity to use them.
ibjects.comGame Objects & Prefabs
• Everything in a scene is either a Game Object or a component inside a Game Object
• Every Game Object has at least 1 COMPONENT
Its TRANSFORM – an object’s position, scale, rotation
Other components depend on object type (audio, mesh, material, script etc.)
• Game objects can be in a HIERARHCY – so an object can be a sub-object of another object
E.g. an “arm” object can be a sub-object of a “body” object etc.
Since object-oriented (although this is partially hidden when scripting in JavaScript)
instances can be INSTANTIATED at run time.
Unity uses the term PREFAB for a pre-fabricated object template (i.e. a class combining 3D
objects and scripts)
At DESIGN TIME (in editor) a prefab can be dragged from Project window into the Scene
window and added the scene’s hierarchy of game objects. The object can then be edited
(i.e. customised from the prefab default settings) if desired
At RUN TIME a script can cause a new object instance to be created (instantiated) at a given
location / with a given transform set of properties
ibjects.comAsset
Unity will automatically detect files as they are added to your Project folder's Assets folder.
When you put any asset into your Assets folder, you will see the asset appear in your
Project View.
• Asset Store
Unity's Asset Store is home to a growing library of free and commercial assets created both by
Unity Technologies and also members of the community.
A wide variety of assets is available, covering everything from textures, models and
animations to whole project examples, tutorials and Editor extensions. The assets are accessed
from a simple interface built into the Unity Editor and are downloaded and imported directly
into your project.
You can open the Asset Store window by selecting Window->AssetStore from the
main menu. On your first visit, you will be prompted to create a free user account which you
will use to access the Store subsequently.
• Location of Downloaded Asset Files
You will rarely, if ever, need to access the files downloaded from the Asset Store directly.
However, if you do need to, you can find them in
~/Library/Unity/Asset Store ...on the Mac and in
C:UsersaccountNameAppDataRoamingUnityAsset Store ...on Windows. These folders
contain subfolders that correspond to particular Asset Store vendors - the actual asset files are
contained in the appropriate subfolder
ibjects.comBuild
From the menu bar select File -> Build Settings
Select Scenes to Build
Select Platform
Click Build And Run
Group Members
Ayaz Khalid(BCSF13A008)
Umair Qayyum(BCSF13A015)
Saim Sohail(BCSF13A047)
Taimoor Raza(BCSF13A049)

More Related Content

What's hot

Introduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First GameIntroduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First GameSarah Sexton
 
Casual and Social Games with Unity
Casual and Social Games with UnityCasual and Social Games with Unity
Casual and Social Games with UnityTadej Gregorcic
 
Presentasi Seminar Unity (AMIKOM Game Dev)
Presentasi Seminar Unity (AMIKOM Game Dev)Presentasi Seminar Unity (AMIKOM Game Dev)
Presentasi Seminar Unity (AMIKOM Game Dev)Mas Bram
 
Unity 3D game engine seminar
Unity 3D game engine  seminarUnity 3D game engine  seminar
Unity 3D game engine seminarNikhilThorat15
 
Game Development with Unity
Game Development with UnityGame Development with Unity
Game Development with Unitydavidluzgouveia
 
Unity Introduction
Unity IntroductionUnity Introduction
Unity IntroductionJuwal Bose
 
Introduction to Unity3D Game Engine
Introduction to Unity3D Game EngineIntroduction to Unity3D Game Engine
Introduction to Unity3D Game EngineMohsen Mirhoseini
 
Unity introduction for programmers
Unity introduction for programmersUnity introduction for programmers
Unity introduction for programmersNoam Gat
 
Game development -session on unity 3d
Game development -session on unity 3d Game development -session on unity 3d
Game development -session on unity 3d Muhammad Maaz Irfan
 
Unity Programming
Unity Programming Unity Programming
Unity Programming Sperasoft
 
Game Engine Overview
Game Engine OverviewGame Engine Overview
Game Engine OverviewSharad Mitra
 
Academy PRO: Unity 3D. Environment
Academy PRO: Unity 3D. EnvironmentAcademy PRO: Unity 3D. Environment
Academy PRO: Unity 3D. EnvironmentBinary Studio
 
The Basics of Unity - The Game Engine
The Basics of Unity - The Game EngineThe Basics of Unity - The Game Engine
The Basics of Unity - The Game EngineOrisysIndia
 
Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)noorcon
 

What's hot (20)

Introduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First GameIntroduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First Game
 
Unity 3D, A game engine
Unity 3D, A game engineUnity 3D, A game engine
Unity 3D, A game engine
 
Casual and Social Games with Unity
Casual and Social Games with UnityCasual and Social Games with Unity
Casual and Social Games with Unity
 
Unity 3d
Unity 3dUnity 3d
Unity 3d
 
Presentasi Seminar Unity (AMIKOM Game Dev)
Presentasi Seminar Unity (AMIKOM Game Dev)Presentasi Seminar Unity (AMIKOM Game Dev)
Presentasi Seminar Unity (AMIKOM Game Dev)
 
Unity 3D game engine seminar
Unity 3D game engine  seminarUnity 3D game engine  seminar
Unity 3D game engine seminar
 
Game Development with Unity
Game Development with UnityGame Development with Unity
Game Development with Unity
 
Unity Introduction
Unity IntroductionUnity Introduction
Unity Introduction
 
Introduction to Unity3D Game Engine
Introduction to Unity3D Game EngineIntroduction to Unity3D Game Engine
Introduction to Unity3D Game Engine
 
Unity introduction for programmers
Unity introduction for programmersUnity introduction for programmers
Unity introduction for programmers
 
Game development -session on unity 3d
Game development -session on unity 3d Game development -session on unity 3d
Game development -session on unity 3d
 
Unity Programming
Unity Programming Unity Programming
Unity Programming
 
Game Engine Overview
Game Engine OverviewGame Engine Overview
Game Engine Overview
 
Academy PRO: Unity 3D. Environment
Academy PRO: Unity 3D. EnvironmentAcademy PRO: Unity 3D. Environment
Academy PRO: Unity 3D. Environment
 
The Basics of Unity - The Game Engine
The Basics of Unity - The Game EngineThe Basics of Unity - The Game Engine
The Basics of Unity - The Game Engine
 
Unity3D Programming
Unity3D ProgrammingUnity3D Programming
Unity3D Programming
 
Game development unity
Game development unityGame development unity
Game development unity
 
Game Development with Unity - by Mickey MacDonald
Game Development with Unity - by Mickey MacDonaldGame Development with Unity - by Mickey MacDonald
Game Development with Unity - by Mickey MacDonald
 
Unity - Game Engine
Unity - Game EngineUnity - Game Engine
Unity - Game Engine
 
Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)
 

Viewers also liked

Professional Learning Plan
Professional Learning PlanProfessional Learning Plan
Professional Learning PlanMisseT88
 
Digital graphics evaluation pro forma
Digital graphics evaluation pro formaDigital graphics evaluation pro forma
Digital graphics evaluation pro formaKiran Crampton
 
'Resume-Agrata Chakraborty_Current
'Resume-Agrata Chakraborty_Current'Resume-Agrata Chakraborty_Current
'Resume-Agrata Chakraborty_CurrentAgrata Chakraborty
 
Colloquium presentation (Yang)
Colloquium presentation (Yang)Colloquium presentation (Yang)
Colloquium presentation (Yang)Yang Jiang
 
Barefoot Guide to Writing for Publication
Barefoot Guide to Writing for PublicationBarefoot Guide to Writing for Publication
Barefoot Guide to Writing for PublicationTansy Jessop
 
The Good, The Bad, and the Ugly: A Language of Critique for Information Archi...
The Good, The Bad, and the Ugly: A Language of Critique for Information Archi...The Good, The Bad, and the Ugly: A Language of Critique for Information Archi...
The Good, The Bad, and the Ugly: A Language of Critique for Information Archi...Stacy Surla
 
Полтевский Кирилл Георгиевич
Полтевский Кирилл ГеоргиевичПолтевский Кирилл Георгиевич
Полтевский Кирилл ГеоргиевичKirill Poltevsky
 

Viewers also liked (13)

Professional Learning Plan
Professional Learning PlanProfessional Learning Plan
Professional Learning Plan
 
SuplementoAlTituloEuropeo
SuplementoAlTituloEuropeoSuplementoAlTituloEuropeo
SuplementoAlTituloEuropeo
 
Planning booklet
Planning bookletPlanning booklet
Planning booklet
 
Digital graphics evaluation pro forma
Digital graphics evaluation pro formaDigital graphics evaluation pro forma
Digital graphics evaluation pro forma
 
Revista royalty
Revista royalty Revista royalty
Revista royalty
 
'Resume-Agrata Chakraborty_Current
'Resume-Agrata Chakraborty_Current'Resume-Agrata Chakraborty_Current
'Resume-Agrata Chakraborty_Current
 
Colloquium presentation (Yang)
Colloquium presentation (Yang)Colloquium presentation (Yang)
Colloquium presentation (Yang)
 
Barefoot Guide to Writing for Publication
Barefoot Guide to Writing for PublicationBarefoot Guide to Writing for Publication
Barefoot Guide to Writing for Publication
 
The Good, The Bad, and the Ugly: A Language of Critique for Information Archi...
The Good, The Bad, and the Ugly: A Language of Critique for Information Archi...The Good, The Bad, and the Ugly: A Language of Critique for Information Archi...
The Good, The Bad, and the Ugly: A Language of Critique for Information Archi...
 
Полтевский Кирилл Георгиевич
Полтевский Кирилл ГеоргиевичПолтевский Кирилл Георгиевич
Полтевский Кирилл Георгиевич
 
Starting with why
Starting with whyStarting with why
Starting with why
 
HSEAudit
HSEAuditHSEAudit
HSEAudit
 
El instruction clil
El instruction clilEl instruction clil
El instruction clil
 

Similar to Cmd unity withc

unity gaming programing basics for students ppt
unity gaming programing basics for students pptunity gaming programing basics for students ppt
unity gaming programing basics for students pptKathiriyaParthiv
 
Unity Game Engine - Basics
Unity Game Engine - BasicsUnity Game Engine - Basics
Unity Game Engine - BasicsFirosK2
 
Let's make a game unity
Let's make a game   unityLet's make a game   unity
Let's make a game unitySaija Ketola
 
Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)noorcon
 
DSC RNGPIT - Getting Started with Game Development Day 1
DSC RNGPIT - Getting Started with Game Development Day 1DSC RNGPIT - Getting Started with Game Development Day 1
DSC RNGPIT - Getting Started with Game Development Day 1DeepMevada1
 
Game salad creator for windows manual 2012 11-01
Game salad creator for windows manual 2012 11-01Game salad creator for windows manual 2012 11-01
Game salad creator for windows manual 2012 11-01gabikovacs10
 
An Introduction to Unity
An Introduction to UnityAn Introduction to Unity
An Introduction to Unityfesuffolk
 
Chapt 1 (part 2) installing the sdk and exploring the workspace
Chapt 1 (part 2)   installing the sdk and exploring the workspaceChapt 1 (part 2)   installing the sdk and exploring the workspace
Chapt 1 (part 2) installing the sdk and exploring the workspaceMuhd Basheer
 
Lecture 1 Introduction to VR Programming
Lecture 1 Introduction to VR ProgrammingLecture 1 Introduction to VR Programming
Lecture 1 Introduction to VR ProgrammingKobkrit Viriyayudhakorn
 
Easy coding a multi device game with FireMonkey
Easy coding a multi device game with FireMonkeyEasy coding a multi device game with FireMonkey
Easy coding a multi device game with FireMonkeypprem
 
Unity - Building Your First Real-Time 3D Project - All Slides
Unity - Building Your First Real-Time 3D Project - All SlidesUnity - Building Your First Real-Time 3D Project - All Slides
Unity - Building Your First Real-Time 3D Project - All SlidesNexusEdgesupport
 
How tomakea gameinunity3d
How tomakea gameinunity3dHow tomakea gameinunity3d
How tomakea gameinunity3dDao Tung
 
Chapt 6 game testing and publishing
Chapt 6   game testing and publishingChapt 6   game testing and publishing
Chapt 6 game testing and publishingMuhd Basheer
 
Workingwithunity 110519054824-phpapp01
Workingwithunity 110519054824-phpapp01Workingwithunity 110519054824-phpapp01
Workingwithunity 110519054824-phpapp01Srijib Roy
 
Getting started with Verold and Three.js
Getting started with Verold and Three.jsGetting started with Verold and Three.js
Getting started with Verold and Three.jsVerold
 
Unity - Building your first real-time 3D project
Unity - Building your first real-time 3D projectUnity - Building your first real-time 3D project
Unity - Building your first real-time 3D projectNexusEdgesupport
 

Similar to Cmd unity withc (20)

unity gaming programing basics for students ppt
unity gaming programing basics for students pptunity gaming programing basics for students ppt
unity gaming programing basics for students ppt
 
Unity Game Engine - Basics
Unity Game Engine - BasicsUnity Game Engine - Basics
Unity Game Engine - Basics
 
Unity 3 d
Unity 3 dUnity 3 d
Unity 3 d
 
Let's make a game unity
Let's make a game   unityLet's make a game   unity
Let's make a game unity
 
Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)
 
DSC RNGPIT - Getting Started with Game Development Day 1
DSC RNGPIT - Getting Started with Game Development Day 1DSC RNGPIT - Getting Started with Game Development Day 1
DSC RNGPIT - Getting Started with Game Development Day 1
 
Game salad creator for windows manual 2012 11-01
Game salad creator for windows manual 2012 11-01Game salad creator for windows manual 2012 11-01
Game salad creator for windows manual 2012 11-01
 
An Introduction to Unity
An Introduction to UnityAn Introduction to Unity
An Introduction to Unity
 
Unity 3 d
Unity 3 dUnity 3 d
Unity 3 d
 
Chapt 1 (part 2) installing the sdk and exploring the workspace
Chapt 1 (part 2)   installing the sdk and exploring the workspaceChapt 1 (part 2)   installing the sdk and exploring the workspace
Chapt 1 (part 2) installing the sdk and exploring the workspace
 
Lecture 1 Introduction to VR Programming
Lecture 1 Introduction to VR ProgrammingLecture 1 Introduction to VR Programming
Lecture 1 Introduction to VR Programming
 
Easy coding a multi device game with FireMonkey
Easy coding a multi device game with FireMonkeyEasy coding a multi device game with FireMonkey
Easy coding a multi device game with FireMonkey
 
Unity - Building Your First Real-Time 3D Project - All Slides
Unity - Building Your First Real-Time 3D Project - All SlidesUnity - Building Your First Real-Time 3D Project - All Slides
Unity - Building Your First Real-Time 3D Project - All Slides
 
How tomakea gameinunity3d
How tomakea gameinunity3dHow tomakea gameinunity3d
How tomakea gameinunity3d
 
Presentation on window 7
Presentation on window 7Presentation on window 7
Presentation on window 7
 
Unity tutorial
Unity tutorialUnity tutorial
Unity tutorial
 
Chapt 6 game testing and publishing
Chapt 6   game testing and publishingChapt 6   game testing and publishing
Chapt 6 game testing and publishing
 
Workingwithunity 110519054824-phpapp01
Workingwithunity 110519054824-phpapp01Workingwithunity 110519054824-phpapp01
Workingwithunity 110519054824-phpapp01
 
Getting started with Verold and Three.js
Getting started with Verold and Three.jsGetting started with Verold and Three.js
Getting started with Verold and Three.js
 
Unity - Building your first real-time 3D project
Unity - Building your first real-time 3D projectUnity - Building your first real-time 3D project
Unity - Building your first real-time 3D project
 

Recently uploaded

Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 

Recently uploaded (20)

Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 

Cmd unity withc

  • 1. Everything About Unity Unity 3D ibjects.com Presented to Bilal Shahzad
  • 2. http://docs.unity3d.com/Documentation/Manual/index.html • Introduction • Installing • Unity Basics • Scripting • Assets • Scenes • Game Objects • Prefabs • Build ibjects.com
  • 3. ibjects.com A screen shot of the game created using Unity 3D Engine for PC. As you can see in the screen shot that the graphics are realistic. See how the shadow of tree is accordingly to the sun light and the rest of graphics are also giving it a realistic view. You also play these type of games now a days in your PC’s. Ever wonder how they are created? Well now you can do it using Unity Engine. Introduction
  • 4. ibjects.com The extension of a unity file is .unity. You can make games on unity for different platforms that include Android and iOS. • This screen shot is showing the platforms on which you can export your .unity file. • So now you see the unity is a huge tool if you are interested in game development. • However, in these slides we will only cover Unity for PC games. • Unity is a freeware software. Bur it is now freeware if you want to use it for commercial purpose. (Selling your games in market) Introduction
  • 5. ibjects.com Unity is a multi-platform, integrated IDE for scripting games, and working with 3D virtual worlds Including: • Game engine 3D objects / lighting / physics / animation / scripting • Accompanying script editor MonoDevelop (win/mac) << RECOMMENDED TO USE Can also use Visual Studio (Windows) • 3D terrain editor • 3D object animation manager • GUI system • Executable exporter many platforms: Native application / web player / iPhone / Android / Wii Introduction
  • 6. ibjects.com System Requirements Windows: XP SP2 or later; Mac OS X: Intel CPU & "Snow Leopard" 10.6 or later. Note that Unity was not tested on server versions of Windows and OS X. Graphics card with DirectX 9 level (shader model 2.0) capabilities. Any card made since 2004 should work. Using Occlusion Culling requires GPU (Graphics Processing Unit) with Occlusion Query support (some Intel GPUs do not support that). Installation Installing Unity 3D is simple. • Download the latest Unity distribution from http://unity3d.com/unity/download/ • Run the installer with default settings. • Run Unity for the first time. It may open the demo project, or it will ask you to create a project. Open the demo or create a new project without changing any settings. • Follow the instructions to register online, fill out your email address and just use the free/indie license. • Go to File > Open Project • When your project will be loaded, it will open in unity. More on next slide Installing
  • 7. ibjects.comUnity Basics Screen Shot of Unity Main Interface with a Project Opened
  • 8. 1 – Scene Scene is same as Hierarchy(2) = same, just diff. views Editable (design-time) 3D game objects in the current scene 2 – Hierarchy Text list of game objects and sub-objects in the current scene 3 – Inspector Properties for currently selected 4 – Game Preview how game will look when executing 5 – Project Contents of Project ‘assets’ folder (i.e. files in that folder) – library of scripts, digital media files, and scenes ibjects.comUnity Basics
  • 9. ibjects.comUnity Basics This is the top most bar below Menu Bar in Unity Main Interface Window. Click-drag to drag the camera around Hold Alt and click-drag to orbit the camera around the current pivot point. Hold Control and click-drag to zoom the camera. Above the Inspector panel, you'll see the Layers and Layout dropdowns. Game Objects can be grouped into layers, much like in Photoshop or Flash. Unity stores a few commonly used layouts in the Layout dropdown. You can also save and load your own custom layouts. These three buttons help you test your game and control playback. As you've seen, the Play button starts and stops your game. The Pause button works as expected—it pauses your game so that you can make changes to it on the fly. The third button is a Step-Through control; use it to advance frame-by-frame through your game so that you can more tightly control what's going on.
  • 10. ibjects.comUnity Basics The Scene window is where you can position your Game Objects and move things around. This window has various controls to change its level of detail. Use these controls to toggle lighing on and off, and to display the window contents with textures, wireframes, or a combination of both. You can use the colorful gizmo in the top-right corner to constrain the window to the X, Y, and Z axes to view the top and sides of your scene. Click on the white box in the middle to return to perspective view. This is what the Scene window looks like when you start a new project or create a new Scene. You can think of scenes as levels or stages in your game. A unity “scene” is essentially a “level” or “screen” Typical game Welcome / main menu screen Buttons: play game / see high scores / read instructions / change input settings Level 1 / Level complete / Level 2 etc… Game Over / Enter details for new High Score … All the above would be separate “scenes” in unity Some scenes may be entirely based around the Unity GUI scripts / components – i.e. be text / buttons on screen
  • 11. ibjects.comUnity Basics The Game window shows you what your players will see. When you click on the Play button to test your game (as you just did with the Island Demo), the results of your efforts play out in this window. Toggle the Maximize on Play button to test your game in full-screen mode.
  • 12. ibjects.comUnity Basics The Hierarchy panel lists all of the Game Objects in your Scene. Game Objects - cameras, lights, models, and prefabs—are the things that make up your game. They can be "tangible" things like the birds and the bridge in the Island Demo. They can also include intangible things, which only you as the game developer get to see and play with, such as the cameras, the lights, and colliders, which are special invisible shapes that tell the game engine when two Game Objects are touching. So, Game Objects can include touchy-feely "physical" objects like birds and bridges, as well as behind-the-scenes intangible things like lights, cameras, and actions (scripts). Click on a Game Object in the Hierarchy panel, and then hover your mouse over the Scene window. Press the F key on your keyboard, and the Scene window will automatically pan and zoom directly to that object. Alternatively, you can go to Edit | Frame Selected, which can be more reliable than using the keyboard shortcut. (I like to think of the F as standing for Focus to help me remember what this shortcut does).
  • 13. ibjects.comUnity Basics It lists all of the elements that you'll use to create Game Objects in your project. The Project panel contains many of the elements, or ingredients, that go into making our Game Objects. The Project panel displays the contents of a special folder called Assets. Unity automatically creates the Assets folder for you when you create a new project. If you drag a compatible file, like a 3D model, a sound effect, or an image into the Project panel, Unity copies it to the Assets folder behind the scenes, and displays it in the Project panel. Don't mess with the Assets folder! Unity stores metadata about the folder, and by moving stuff around or deleting things through your operating system, you may break your project. If you need to make changes, make them right inside Unity in the Project panel.
  • 14. ibjects.comUnity Basics The Inspector is a context-sensitive panel, which means that it changes depending on what you select elsewhere in Unity. This is where you can adjust the position, rotation, and scale of Game Objects listed in the Hierarchy panel. The Inspector can also display controls to configure components that add functionality to Game Objects. Between the three main panels in Unity (Hierarchy, Project, and Inspector), the Inspector is where you'll likely spend most of your time because that's where you'll be tweaking and fiddling with every aspect of the elements that comprise your game projects.
  • 15. ibjects.comScripting • Unity implements a MONO compiler • Scripts can be written in JavaScript Note – most introductory tutorials are written in Javascript – for those learning programming its fine C# Very similar to Java, Unity can be integrated with the Microsoft Visual Studio editor, to get full benefits of code completion, source version control etc. Serious developers work in C# • In Unity, select from the menu Assets->Sync VisualStudio Project • Find the newly created .sln file in your Unity project (one folder up from your Assets folder) • Open that file with Visual Studio Express. • In Unity, go to Edit->Preferences, and make sure that Visual Studio is selected as your preferred external editor. • Doubleclick a C# file in your project. Visual Studio should automatically open that file for you. • You can edit the file, save, and switch back to Unity. • You can now edit all your script files, and switch back to Unity to use them.
  • 16. ibjects.comGame Objects & Prefabs • Everything in a scene is either a Game Object or a component inside a Game Object • Every Game Object has at least 1 COMPONENT Its TRANSFORM – an object’s position, scale, rotation Other components depend on object type (audio, mesh, material, script etc.) • Game objects can be in a HIERARHCY – so an object can be a sub-object of another object E.g. an “arm” object can be a sub-object of a “body” object etc. Since object-oriented (although this is partially hidden when scripting in JavaScript) instances can be INSTANTIATED at run time. Unity uses the term PREFAB for a pre-fabricated object template (i.e. a class combining 3D objects and scripts) At DESIGN TIME (in editor) a prefab can be dragged from Project window into the Scene window and added the scene’s hierarchy of game objects. The object can then be edited (i.e. customised from the prefab default settings) if desired At RUN TIME a script can cause a new object instance to be created (instantiated) at a given location / with a given transform set of properties
  • 17. ibjects.comAsset Unity will automatically detect files as they are added to your Project folder's Assets folder. When you put any asset into your Assets folder, you will see the asset appear in your Project View. • Asset Store Unity's Asset Store is home to a growing library of free and commercial assets created both by Unity Technologies and also members of the community. A wide variety of assets is available, covering everything from textures, models and animations to whole project examples, tutorials and Editor extensions. The assets are accessed from a simple interface built into the Unity Editor and are downloaded and imported directly into your project. You can open the Asset Store window by selecting Window->AssetStore from the main menu. On your first visit, you will be prompted to create a free user account which you will use to access the Store subsequently. • Location of Downloaded Asset Files You will rarely, if ever, need to access the files downloaded from the Asset Store directly. However, if you do need to, you can find them in ~/Library/Unity/Asset Store ...on the Mac and in C:UsersaccountNameAppDataRoamingUnityAsset Store ...on Windows. These folders contain subfolders that correspond to particular Asset Store vendors - the actual asset files are contained in the appropriate subfolder
  • 18. ibjects.comBuild From the menu bar select File -> Build Settings Select Scenes to Build Select Platform Click Build And Run
  • 19. Group Members Ayaz Khalid(BCSF13A008) Umair Qayyum(BCSF13A015) Saim Sohail(BCSF13A047) Taimoor Raza(BCSF13A049)