Game Development with Unity

6,524 views

Published on

SEGAN Conference 2013 - Tallinn, Estonia

1 Comment
14 Likes
Statistics
Notes
No Downloads
Views
Total views
6,524
On SlideShare
0
From Embeds
0
Number of Embeds
42
Actions
Shares
0
Downloads
761
Comments
1
Likes
14
Embeds 0
No embeds

No notes for slide

Game Development with Unity

  1. 1. Game Development with Unity David Gouveia Virtual Campus Lda, Porto
  2. 2. Table of Contents 1. Introduction to Unity 2. Concepts and workflow 3. Live demo
  3. 3. INTRODUCTION TO UNITY Part 1
  4. 4. What is Unity?  Game engine – system designed to help create video games o Easier & Faster  Visual editor – see changes in real-time o Interactive & Rapid prototyping  Component-based – functionality built out of smaller pieces o Modular & Extensible
  5. 5. What can Unity do for you? Rendering Animation Audio Physics InputResources Scripting Artificial Intelligence Networking
  6. 6. What does Unity look like? View Organize Tweak
  7. 7. What does Unity look like? View Organize Tweak Extend
  8. 8. Unity games run everywhere
  9. 9. Unity understands you
  10. 10. Multiple programming languages var explosion : Transform; function OnCollisionEnter() { Destroy(gameObject); Instantiate(explosion, transform.position, transform.rotation); } JavaScript using UnityEngine; using System.Collections; public class Example : MonoBehaviour { public Transform explosion; void OnCollisionEnter() { Destroy(gameObject); Instantiate(explosion, transform.position, transform.rotation); } } C# import UnityEngine import System.Collections class Example(MonoBehaviour): public explosion as Transform def OnCollisionEnter(): Destroy(gameObject) Instantiate(explosion, transform.position, transform.rotation) Boo
  11. 11. What about 2D games? http://www.therealmgame.com/
  12. 12. What about 2D games? http://www.therealmgame.com/
  13. 13. Games created with Unity Bad Piggies Thomas was Alone Scrolls Beat Sneak Bandit Temple Run 2 The Room Rochard Dead Trigger 2CSR Racing
  14. 14. How to get Unity? Unity Basic  Has every essential features such as graphics, audio, physics, animation, networking, input, and scripting  Free (with splashscreen) Unity Pro  Advanced graphics, audio, animation, and artificial Intelligence  $1.500+ Download from http://unity3d.com
  15. 15. CONCEPTS AND WORKFLOW Part 2
  16. 16. Architecture Game Assets Scenes Game Objects Components
  17. 17. Editor Interface Game Assets Scenes Game Objects Components
  18. 18. Assets Assets Images 3D Models Video AnimationsFonts Sounds Scripts
  19. 19. Scene • Unity games are divided into scenes • Scenes are empty spaces... • ...that can be filled with game objects
  20. 20. Game Object • Everything inside a scene is a game object • Game objects also start out empty and do nothing... ?
  21. 21. Game Object • ...but by adding components to them they can become anything!
  22. 22. Component  Each component adds a piece of functionality to the game object  The combination of all components defines what the game object is Let’s see some examples!
  23. 23. The Transform Component  Where?  Which direction?  How large?
  24. 24. Rendering Components  What to draw? (mesh filter)  How to draw? (mesh renderer)
  25. 25. Physics Components  Is solid? (collider)  Moves? (rigid body)
  26. 26. The Script Component  Adds custom behavior
  27. 27. Other Components  Light  Camera  Text mesh  Audio listener & source  Particle system  Skybox  …and many more.
  28. 28. How to create Game Objects  Create an empty game object and manually add components to it  Choose one of the default game objects
  29. 29. Game Prepare the scene Hit play See the result
  30. 30. LIVE DEMO Part 3

×