SlideShare ist ein Scribd-Unternehmen logo
1 von 24
WindowsGame
Development withUnity 5
Jiri Danihelka
• Full 2D & 3D support
• Terrain building & SpeedTree support
• Physics
– Nvidia Physx3 & Box2D
• Over 22 platforms supported
• Real time GI & Physically based shaders
• Mechanim Animation system
• Asset Store
Major Components
• Use Visual Studio to edit & debug code
• Integrates VS with Unity
• Provides
– Shader syntax highlighting
– Code templates
– Intellisense
– Full debugging support
– Better debug visualization
Visual Studio Tools for Unity
VSTU
• Start with one
• Blueprint of your game
• Living document, provides reference point
• Some prefer a single page
• Describes game play, mechanics, story line, and more
• Easy to get lost without one
Game Design Document
Standard Shader
• Why another shader?
• Two types – default (metallic), specular is other
• You can customize the shader
– Source available
• All new materials use it by default
• Caution when importing models
– Legacy textures may be set
New Skybox
• Skybox is a material, with a skybox shader
– 6-Sided
– Cube Map
– Procedural
• HDRI Support (High Dynamic Range Image)
• Can dynamically control properties
Lighting
• 4 types of lights
– Directional, point, spot, area
• Lighting is expensive
• What’s baking?
Global Illumination
• Real time system powered by Enlighten
• Cache can grow large, note size
Reflection Probes
• A tool for creating high-quality, localized reflections.
• Captures surround environment on sphere, reprojects as
cubemap on relflective objects.
• Place as needed through scene, smaller high-detailed objects up
close.
• Blend Probes and Box projection for hallways type
environments.
• Lightmap static
Animation
• Unity supports two animation systems
– Legacy
– Mechanim – Uses .ani file and animation controllers
• New features targeted at Mechanim
– AnimationStateBehaviors
– No more:
• animator.GetCurrentAnimatorStateInfo(0).isName(“Attack")
• 2D Root Motion
• Can use API to create animation controllers
Zombie Animations
• New AnimationStateBehaviors
• New Any State & Exit State
Entry
Idle
Any State Exit
Walk
Died
Audio
• Previously, all audio played through single AudioSource
• No control over various levels, mixing, controlling groups
• New mixer allows precise control, signal routing, effects
• Can edit in play mode
• Unity supports custom plugins
– http://docs.unity3d.com/Manual/AudioMixerNativeAudioPlugin.html
• Profiler supports audio
Coin pickup
• Typical process is check trigger, increment score
• A PlayerScore component tracks score
• Simply a variable to track inventory
• Challenges of UI / Rotation
Zombie Score
• Get references to player score
• If we hit the player, tell someone about it.
– Some will check on the player for a hit
Enabling Mobile Input
• Input system reads values (button, keys, controller, arrows)
• Input.GetButtonDown(“Fire1”)
– Works on Mobile for touch only!
• Input.GetAxis(“Horizontal”) works with keyboard
– Doesn’t work on mobile (no keyboard)
• Solution – track image position on screen and read virtual values
• Third party assets like EasyTouch
• Code exists in CrossPlatformInput
Perspective
• Default Camera Mode
• Viewing area defined by field of view
• Clipping planes define min and max viewing distance
Orthographic
• Common for 2D
• Further away objects = same size
• orthographicSize is how many units = ½ height
• Fixed height, width variable by aspect ratio
Unity UI
• Allows placement of one or more Canvas game objects
• Can overlay or project from other areas onto screen
• Allows for scaling, pixel perfect, even measurement based
drawing
• Text & Image components + script form bulk of UI components
• Based off NGUI initially, completely separate though
Canvas
• Various canvas modes
• UI Elements MUST be in a canvas
• Event system detects actions to send to components in canvas
• Three modes
The RectTransform
• Critical portion of Unity UI, used instead of Transform for UI
• Defines
– location, rotation
– Defines anchors for positioning, pivot for rotation, and size
Enhancing the game
• Pickup text
• Other effects
• Particles
– Optimized system
– Can include animations and physics
Phone Small
Tablet
2-in-1s
(Tablet or Laptop)
Desktops
& All-in-Ones
Phablet Large
Tablet
Classic
Laptop
Xbox IoTSurface Hub
Windows 10 powers a huge range of hardware…
Holographic
• Windows 10 supports device families
• Will ship with Mobile and Desktop families
• Additional will come
– Xbox, HoloLens, etc.
• Multiple builds still work
• Can use Asset Bundles to dynamically load assets
• Requires Unity 5.2 (currently in private beta)
The Build

Weitere ähnliche Inhalte

Was ist angesagt?

PRESENTATION ON Game Engine
PRESENTATION ON Game EnginePRESENTATION ON Game Engine
PRESENTATION ON Game Engine
Diksha Bhargava
 
Game engines and Their Influence in Game Design
Game engines and Their Influence in Game DesignGame engines and Their Influence in Game Design
Game engines and Their Influence in Game Design
Prashant Warrier
 
Game Engine Overview
Game Engine OverviewGame Engine Overview
Game Engine Overview
Sharad Mitra
 

Was ist angesagt? (20)

PRESENTATION ON Game Engine
PRESENTATION ON Game EnginePRESENTATION ON Game Engine
PRESENTATION ON Game Engine
 
A Brief Guide to Game Engines
A Brief Guide to Game EnginesA Brief Guide to Game Engines
A Brief Guide to Game Engines
 
Albion Online - A Cross-Platform MMO (Unite Europe 2016, Amsterdam)
Albion Online - A Cross-Platform MMO (Unite Europe 2016, Amsterdam)Albion Online - A Cross-Platform MMO (Unite Europe 2016, Amsterdam)
Albion Online - A Cross-Platform MMO (Unite Europe 2016, Amsterdam)
 
Game development with Cocos2d
Game development with Cocos2dGame development with Cocos2d
Game development with Cocos2d
 
Unity scene file collaboration
Unity scene file collaborationUnity scene file collaboration
Unity scene file collaboration
 
West Coast DevCon 2014: Build Automation - Epic’s Build Tools & Infrastructure
West Coast DevCon 2014: Build Automation - Epic’s Build Tools & InfrastructureWest Coast DevCon 2014: Build Automation - Epic’s Build Tools & Infrastructure
West Coast DevCon 2014: Build Automation - Epic’s Build Tools & Infrastructure
 
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
 
Game engines and Their Influence in Game Design
Game engines and Their Influence in Game DesignGame engines and Their Influence in Game Design
Game engines and Their Influence in Game Design
 
West Coast DevCon 2014: The Slate UI Framework (Part 1) - Introduction
West Coast DevCon 2014: The Slate UI Framework (Part 1) - IntroductionWest Coast DevCon 2014: The Slate UI Framework (Part 1) - Introduction
West Coast DevCon 2014: The Slate UI Framework (Part 1) - Introduction
 
iOS Game Development With UIKit
iOS Game Development With UIKitiOS Game Development With UIKit
iOS Game Development With UIKit
 
What Is A Game Engine
What Is A Game EngineWhat Is A Game Engine
What Is A Game Engine
 
[UniteKorea2013] Memory profiling in Unity
[UniteKorea2013] Memory profiling in Unity[UniteKorea2013] Memory profiling in Unity
[UniteKorea2013] Memory profiling in Unity
 
【Unite 2017 Tokyo】Anima2Dについて語るで!2Dアニメーションの未来
【Unite 2017 Tokyo】Anima2Dについて語るで!2Dアニメーションの未来【Unite 2017 Tokyo】Anima2Dについて語るで!2Dアニメーションの未来
【Unite 2017 Tokyo】Anima2Dについて語るで!2Dアニメーションの未来
 
XNA in a Day
XNA in a DayXNA in a Day
XNA in a Day
 
Game Engine Overview
Game Engine OverviewGame Engine Overview
Game Engine Overview
 
Game Engine for Serious Games
Game Engine for Serious GamesGame Engine for Serious Games
Game Engine for Serious Games
 
Making an independend MMO - The Albion Online Story
Making an independend MMO - The Albion Online StoryMaking an independend MMO - The Albion Online Story
Making an independend MMO - The Albion Online Story
 
Unity 3d Basics
Unity 3d BasicsUnity 3d Basics
Unity 3d Basics
 
Deterministic Simulation - What modern online games can learn from the Game B...
Deterministic Simulation - What modern online games can learn from the Game B...Deterministic Simulation - What modern online games can learn from the Game B...
Deterministic Simulation - What modern online games can learn from the Game B...
 

Ähnlich wie Windows game development with Unity 5

Visug: Say Hello to my little friend: a session on Kinect
Visug: Say Hello to my little friend: a session on KinectVisug: Say Hello to my little friend: a session on Kinect
Visug: Say Hello to my little friend: a session on Kinect
Visug
 
Usergroup 02 Berlin Windows7
Usergroup 02 Berlin Windows7Usergroup 02 Berlin Windows7
Usergroup 02 Berlin Windows7
mspgermany
 
High resolution animated scenes from stills
High resolution animated scenes from stillsHigh resolution animated scenes from stills
High resolution animated scenes from stills
Carolyn Rose
 

Ähnlich wie Windows game development with Unity 5 (20)

Developing applications and games in Unity engine - Matej Jariabka, Rudolf Ka...
Developing applications and games in Unity engine - Matej Jariabka, Rudolf Ka...Developing applications and games in Unity engine - Matej Jariabka, Rudolf Ka...
Developing applications and games in Unity engine - Matej Jariabka, Rudolf Ka...
 
Developing and optimizing a procedural game: The Elder Scrolls Blades- Unite ...
Developing and optimizing a procedural game: The Elder Scrolls Blades- Unite ...Developing and optimizing a procedural game: The Elder Scrolls Blades- Unite ...
Developing and optimizing a procedural game: The Elder Scrolls Blades- Unite ...
 
GDC Europe 2014: Unreal Engine 4 for Programmers - Lessons Learned & Things t...
GDC Europe 2014: Unreal Engine 4 for Programmers - Lessons Learned & Things t...GDC Europe 2014: Unreal Engine 4 for Programmers - Lessons Learned & Things t...
GDC Europe 2014: Unreal Engine 4 for Programmers - Lessons Learned & Things t...
 
East Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...
East Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...East Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...
East Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...
 
Creating great Unity games for Windows 10 - Part 1
Creating great Unity games for Windows 10 - Part 1Creating great Unity games for Windows 10 - Part 1
Creating great Unity games for Windows 10 - Part 1
 
Cocos2d programming
Cocos2d programmingCocos2d programming
Cocos2d programming
 
1-Introduction (Game Design and Development)
1-Introduction (Game Design and Development)1-Introduction (Game Design and Development)
1-Introduction (Game Design and Development)
 
Cocos2d game programming 2
Cocos2d game programming 2Cocos2d game programming 2
Cocos2d game programming 2
 
Cardboard VR: Building Low Cost VR Experiences
Cardboard VR: Building Low Cost VR ExperiencesCardboard VR: Building Low Cost VR Experiences
Cardboard VR: Building Low Cost VR Experiences
 
Visug: Say Hello to my little friend: a session on Kinect
Visug: Say Hello to my little friend: a session on KinectVisug: Say Hello to my little friend: a session on Kinect
Visug: Say Hello to my little friend: a session on Kinect
 
West Coast DevCon 2014: The Slate UI Framework (Part 2) - Game UI & Unreal Mo...
West Coast DevCon 2014: The Slate UI Framework (Part 2) - Game UI & Unreal Mo...West Coast DevCon 2014: The Slate UI Framework (Part 2) - Game UI & Unreal Mo...
West Coast DevCon 2014: The Slate UI Framework (Part 2) - Game UI & Unreal Mo...
 
De Re PlayStation Vita
De Re PlayStation VitaDe Re PlayStation Vita
De Re PlayStation Vita
 
Gamemaker - Intro and Core Objects
Gamemaker - Intro and Core ObjectsGamemaker - Intro and Core Objects
Gamemaker - Intro and Core Objects
 
Hybrid Game Development with GameSalad
Hybrid Game Development with GameSaladHybrid Game Development with GameSalad
Hybrid Game Development with GameSalad
 
Usergroup 02 Berlin Windows7
Usergroup 02 Berlin Windows7Usergroup 02 Berlin Windows7
Usergroup 02 Berlin Windows7
 
Unity - Internals: memory and performance
Unity - Internals: memory and performanceUnity - Internals: memory and performance
Unity - Internals: memory and performance
 
High resolution animated scenes from stills
High resolution animated scenes from stillsHigh resolution animated scenes from stills
High resolution animated scenes from stills
 
InfectNet Technical
InfectNet TechnicalInfectNet Technical
InfectNet Technical
 
Building VR Applications For Google Cardboard
Building VR Applications For Google CardboardBuilding VR Applications For Google Cardboard
Building VR Applications For Google Cardboard
 
Virtual mouse
Virtual mouseVirtual mouse
Virtual mouse
 

Mehr von Jiri Danihelka

Mehr von Jiri Danihelka (20)

Distributed Mobile Graphics
Distributed Mobile GraphicsDistributed Mobile Graphics
Distributed Mobile Graphics
 
Mixed reality for Windows 10
Mixed reality for Windows 10Mixed reality for Windows 10
Mixed reality for Windows 10
 
New Xaml components for Windows developers
New Xaml components for Windows developersNew Xaml components for Windows developers
New Xaml components for Windows developers
 
MVVM Windows UWP apps with Template 10
MVVM Windows UWP apps with Template 10MVVM Windows UWP apps with Template 10
MVVM Windows UWP apps with Template 10
 
An introduction to development of universal applications
An introduction to development of universal applicationsAn introduction to development of universal applications
An introduction to development of universal applications
 
Creating great Unity games for Windows 10 - Part 2
Creating great Unity games for Windows 10 - Part 2Creating great Unity games for Windows 10 - Part 2
Creating great Unity games for Windows 10 - Part 2
 
Prism library and MVVM
Prism library and MVVMPrism library and MVVM
Prism library and MVVM
 
UWP apps development - Part 3
UWP apps development - Part 3UWP apps development - Part 3
UWP apps development - Part 3
 
UWP apps development - Part 2
UWP apps development - Part 2UWP apps development - Part 2
UWP apps development - Part 2
 
UWP apps development - Part 1
UWP apps development - Part 1UWP apps development - Part 1
UWP apps development - Part 1
 
Designing Windows apps with Xaml
Designing Windows apps with XamlDesigning Windows apps with Xaml
Designing Windows apps with Xaml
 
Advanced MVVM Windows UWP apps with Template 10
Advanced MVVM Windows UWP apps with Template 10Advanced MVVM Windows UWP apps with Template 10
Advanced MVVM Windows UWP apps with Template 10
 
Windows UX
Windows UXWindows UX
Windows UX
 
Blend for Visual Studio 2015
Blend for Visual Studio 2015Blend for Visual Studio 2015
Blend for Visual Studio 2015
 
Security misconfiguration
Security misconfigurationSecurity misconfiguration
Security misconfiguration
 
Windows 10 Mobile and Distributed Graphics
Windows 10 Mobile and Distributed GraphicsWindows 10 Mobile and Distributed Graphics
Windows 10 Mobile and Distributed Graphics
 
Security hardening and drown attack prevention for mobile backend developers
Security hardening and drown attack prevention for mobile backend developersSecurity hardening and drown attack prevention for mobile backend developers
Security hardening and drown attack prevention for mobile backend developers
 
Top 10 security risks for mobile backend developers
Top 10 security risks for mobile backend developersTop 10 security risks for mobile backend developers
Top 10 security risks for mobile backend developers
 
Programování Windows 8
Programování Windows 8Programování Windows 8
Programování Windows 8
 
Vývoj pro Microsoft Surface a HoloLens
Vývoj pro Microsoft Surface a HoloLensVývoj pro Microsoft Surface a HoloLens
Vývoj pro Microsoft Surface a HoloLens
 

Kürzlich hochgeladen

The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 

Kürzlich hochgeladen (20)

The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 

Windows game development with Unity 5

  • 2. • Full 2D & 3D support • Terrain building & SpeedTree support • Physics – Nvidia Physx3 & Box2D • Over 22 platforms supported • Real time GI & Physically based shaders • Mechanim Animation system • Asset Store Major Components
  • 3. • Use Visual Studio to edit & debug code • Integrates VS with Unity • Provides – Shader syntax highlighting – Code templates – Intellisense – Full debugging support – Better debug visualization Visual Studio Tools for Unity VSTU
  • 4. • Start with one • Blueprint of your game • Living document, provides reference point • Some prefer a single page • Describes game play, mechanics, story line, and more • Easy to get lost without one Game Design Document
  • 5. Standard Shader • Why another shader? • Two types – default (metallic), specular is other • You can customize the shader – Source available • All new materials use it by default • Caution when importing models – Legacy textures may be set
  • 6.
  • 7. New Skybox • Skybox is a material, with a skybox shader – 6-Sided – Cube Map – Procedural • HDRI Support (High Dynamic Range Image) • Can dynamically control properties
  • 8. Lighting • 4 types of lights – Directional, point, spot, area • Lighting is expensive • What’s baking?
  • 9. Global Illumination • Real time system powered by Enlighten • Cache can grow large, note size
  • 10. Reflection Probes • A tool for creating high-quality, localized reflections. • Captures surround environment on sphere, reprojects as cubemap on relflective objects. • Place as needed through scene, smaller high-detailed objects up close. • Blend Probes and Box projection for hallways type environments. • Lightmap static
  • 11. Animation • Unity supports two animation systems – Legacy – Mechanim – Uses .ani file and animation controllers • New features targeted at Mechanim – AnimationStateBehaviors – No more: • animator.GetCurrentAnimatorStateInfo(0).isName(“Attack") • 2D Root Motion • Can use API to create animation controllers
  • 12. Zombie Animations • New AnimationStateBehaviors • New Any State & Exit State Entry Idle Any State Exit Walk Died
  • 13. Audio • Previously, all audio played through single AudioSource • No control over various levels, mixing, controlling groups • New mixer allows precise control, signal routing, effects • Can edit in play mode • Unity supports custom plugins – http://docs.unity3d.com/Manual/AudioMixerNativeAudioPlugin.html • Profiler supports audio
  • 14. Coin pickup • Typical process is check trigger, increment score • A PlayerScore component tracks score • Simply a variable to track inventory • Challenges of UI / Rotation
  • 15. Zombie Score • Get references to player score • If we hit the player, tell someone about it. – Some will check on the player for a hit
  • 16. Enabling Mobile Input • Input system reads values (button, keys, controller, arrows) • Input.GetButtonDown(“Fire1”) – Works on Mobile for touch only! • Input.GetAxis(“Horizontal”) works with keyboard – Doesn’t work on mobile (no keyboard) • Solution – track image position on screen and read virtual values • Third party assets like EasyTouch • Code exists in CrossPlatformInput
  • 17. Perspective • Default Camera Mode • Viewing area defined by field of view • Clipping planes define min and max viewing distance
  • 18. Orthographic • Common for 2D • Further away objects = same size • orthographicSize is how many units = ½ height • Fixed height, width variable by aspect ratio
  • 19. Unity UI • Allows placement of one or more Canvas game objects • Can overlay or project from other areas onto screen • Allows for scaling, pixel perfect, even measurement based drawing • Text & Image components + script form bulk of UI components • Based off NGUI initially, completely separate though
  • 20. Canvas • Various canvas modes • UI Elements MUST be in a canvas • Event system detects actions to send to components in canvas • Three modes
  • 21. The RectTransform • Critical portion of Unity UI, used instead of Transform for UI • Defines – location, rotation – Defines anchors for positioning, pivot for rotation, and size
  • 22. Enhancing the game • Pickup text • Other effects • Particles – Optimized system – Can include animations and physics
  • 23. Phone Small Tablet 2-in-1s (Tablet or Laptop) Desktops & All-in-Ones Phablet Large Tablet Classic Laptop Xbox IoTSurface Hub Windows 10 powers a huge range of hardware… Holographic
  • 24. • Windows 10 supports device families • Will ship with Mobile and Desktop families • Additional will come – Xbox, HoloLens, etc. • Multiple builds still work • Can use Asset Bundles to dynamically load assets • Requires Unity 5.2 (currently in private beta) The Build