Expressive Intelligence Studio // Center for Games and Playable Media // Unity Pro John Murray Expressive.

Slides:



Advertisements
Similar presentations
ArtNotes Owen Watson Kirk Barron. This is the Navigation Bar. This a common feature of most iPhone applications This is a notebook and contains images.
Advertisements

Whats New in Office 2010?. Major Changes in Office 2010 The Office Ribbon, which first made its appearance in Office 2007, now appears in all Office 2010.
GameCamp! and Game Davis Introduction to Unity®
Survey of Graphics and Games. Outline Overview of computer graphics – Coursework – Research Programming using game engines Computer game and animation.
This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation. All.
Practical Computing by Lynn Hogan
HELLO WORLD: YOUR FIRST PROGRAM CHAPTER Topics  Hello World?  Creating a Unity Project –The Unity Project Folder  MonoDevelop: Unity's Code Editor.
Based on Roll-a-ball video tutorial from Unity Technologies Part WakeUpAndCode.com.
Unity 3D game IDE 1.  Unity is a multi-platform, integrated IDE for scripting games, and working with 3D virtual worlds  Including:  Game engine ▪
SE 320 – Introduction to Game Development Lecture 11: Animations and GoKit Lecturer: Gazihan Alankuş Please look at the last slides for assignments (marked.
Welcome! WebJunction CQ Training - Creating an Event Listing Why & How Welcome.
Lesson 15 Getting Started with PowerPoint Essentials
SE 350 – Programming Games Lecture 6: Programming with Unity Lecturer: Gazihan Alankuş Please look at the last slide for assignments (marked with TODO)
UFCEKU-20-3Web Games Programming Unity 3D Basic Concepts Using and Creating Prefabs.
EEC-693/793 Applied Computer Vision with Depth Cameras Lecture 13 Wenbing Zhao
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
SE 320 – Introduction to Game Development Lecture 8: Animations, GUIs, Debugging and IDEs Lecturer: Gazihan Alankuş Please look at the last two slides.
SE 350 – Programming Games Lecture 7: Programming with Unity Lecturer: Gazihan Alankuş Please look at the last slide for assignments (marked with TODO)
Web Games Programming An Introduction to Unity 3D.
Web Games Programming Unity Scripting Fundamentals.
UFCFS D Technologies for the Web Unity 3D: Review of Topics and Related Concepts.
Unity 5 Visual Studio Code * Asset Store * FPS * Terrain.
Ms. Laura Gottardo Grand Canyon University TEC 551 6/28/11.
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
Learning Unity. Getting Unity
SE 320 – Introduction to Game Development Lecture 3: Unity’s Interface and Concepts Lecturer: Gazihan Alankuş Please look at the last two slides for assignments.
UFCFS D Technologies for the Web Unity Interface Features.
SE 320 – Introduction to Game Development Lecture 7: Programming Lecturer: Gazihan Alankuş Please look at the last two slides for assignments (marked with.
Yingcai Xiao Game Development with Unity3D. Outline IDE Engine Assets Tutorial Examples Inside.
UFCEK-20-3Web Games Programming Unity 3D: Review of Topics Publishing for the Web.
Problem Solving Methodology Rachel Gauci. Problem Solving Methodology Development Design Analysis Evaluation Solution requirements and constraints. Scope.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Tutorial 3 Creating Animations. XP Objectives Learn the different elements of animation Create frames and layers Organize frames and layers using the.
PREZI PRESENTATION The Prezi Interface. In this tutorial you will learn:  About the different parts of a Prezi interface: 1. The Prezi space/canvas 2.
CLASSES CHAPTER Topics  Understanding Classes –The Anatomy of a Class  Class Inheritance –Superclasses and Subclasses –Virtual and Override 2.
GameDevClub CODE CHEAT SHEET NOTE: ALL OF THE CODE IS CASE-SENSITIVE AND THE SYNTAX IS STRICT SO A LOT OF YOUR ERRORS WILL PROBABLY COME FROM TYPOS If.
SE 350 – Programming Games Lecture 5: Programming with Unity Lecturer: Gazihan Alankuş Please look at the last slide for assignments (marked with TODO)
UFCEKU-20-3Web Games Programming Instantiating World Objects.
UFCFSU-30-13D Technologies for the Web An Introduction to Unity 3D.
Adobe Photoshop CS4 – Illustrated Unit A: Getting Started with Photoshop CS4.
Cosc 5/4735 Unity 3D Getting Started Guide for Android.
INTRO TO UNITY Building your first 3D game. DISCLAIMER  “This website is not affiliated with, maintained, endorsed or sponsored by Unity Technologies.
Yingcai Xiao Game Development with Unity3D Inside/Outside Unity3D.
Angry Teapots– using the physics engine in Unity Peter Passmore.
Building Games for the Humanities with Unity3D Rudy McDaniel University of Central Florida Orlando, FL USA.
Behavior trees & The C# programming language for Java programmers
Digital Game Design ACST 3710 Your First Unity Program 1.
Game Development with Unity3D
Welcome! Day1, Lesson 1.
Dive Into® Visual Basic 2010 Express
EEC-693/793 Applied Computer Vision with Depth Cameras
A Selection of Best Practices and Design Patterns for Unity
Quick Intro to Unity Lecture 2.
Using the Cyton Viewer Intro to the viewer.
Game Development with Unity3D Inside/Outside Unity3D
3GB3 Game Design Unity 3D Basics.
EEC-693/793 Applied Computer Vision with Depth Cameras
Presenting Prezi Michael Pelitera
Introducing Blender.
EEC-693/793 Applied Computer Vision with Depth Cameras
Introducing Blender.
A beginner’s tutorial for Unity and VR
Week 6: Time and triggers!
Introduction to Unity 2D Game Development
Fundaments of Game Design
Fundaments of Game Design
EEC-693/793 Applied Computer Vision with Depth Cameras
Unity Game Development
Presentation transcript:

Expressive Intelligence Studio // Center for Games and Playable Media // Unity Pro John Murray Expressive Intelligence Studio // Center for Games and Playable Media // Some slides taken wholesale from Microsoft Kinect SDK Documentation Some slides taken wholesale from Microsoft Kinect SDK Documentation Unity Pro CMPS179 Game Design Practicum Lecture 7 John Murray PhD Student Content mostly taken from Unity website and tutorials

Expressive Intelligence Studio Unity Pro – CMPS179 Unity from 10,000 feet An IDE designed to accelerate game design Composes and describes relationships between assets, scripts and “scenes” Allows rapid development cycles, live previews and tweaking while game runs Extensible (see GAK plugin)

Expressive Intelligence Studio Unity Pro – CMPS179 Why learn Unity? Can publish to a wide variety of platforms, including iPhone and Xbox 360 Useful for prototyping a design quickly, as many things (particles, collisions, and camera controls) have already been done for you Games created with unity include: Battlestar Galactica Online, Runespell, etc

Expressive Intelligence Studio Unity Pro – CMPS179 What Unity Doesn’t Do Computer Vision Really Cool Things Unthought Of ® Experimental gameplay (Not traditional first/third/etc. Basically Kinect) Depth/image information processing

Expressive Intelligence Studio Unity Pro – CMPS179 Unity Video Demo What can unity really do?

Expressive Intelligence Studio Unity Pro – CMPS179 THE UNITY INTERFACE

Expressive Intelligence Studio Unity Pro – CMPS179 Interface Layout

Expressive Intelligence Studio Unity Pro – CMPS179 Scene Navigation Edit GameObjects Scale/Rotate/Transform

Expressive Intelligence Studio Unity Pro – CMPS179 Navigation in Scene View Hold the right mouse button to enter Flythrough mode. This turns your mouse and WASD keys (plus Q and E for up and down) into quick first- person view navigation. Select any GameObject and press the F key. This will center the Scene View and pivot point on the selection. Use the arrow keys to move around on the X/Z plane. Hold Alt and click-drag to orbit the camera around the current pivot point. Hold Alt and middle click-drag to drag the Scene View camera around. Hold Alt and right click-drag to zoom the Scene View. This is the same as scrolling with your mouse wheel.

Expressive Intelligence Studio Unity Pro – CMPS179 Positioning Game Objects See Positioning GameObjects for full details on positioning GameObjects in the scene. Here's a brief overview of the essentials:Positioning GameObjects

Expressive Intelligence Studio Unity Pro – CMPS179 Inspector Used for adjusting components Relationship between GameObjects and Components shown here Can enable/disable components and adjust parameters

Expressive Intelligence Studio Unity Pro – CMPS179 Hierarchy Some of these are direct instances of asset files like 3D models, and others are instances of Prefabs -- custom objects that will make up much of your game. You can select and Parent objects in the Hierarchy. As objects are added and removed from the scene, they will appear and disappear from the Hierarchy as well.

Expressive Intelligence Studio Unity Pro – CMPS179 Transform component Don’t scale! Do scaling in Blender/Etc. Parenting When a GameObject is a Parent of another GameObject, the Child GameObject will move, rotate, and scale exactly as its Parent does. Just like your arms are attached to your body, when you turn your body, your arms move because they're attached. Any object can have multiple children, but only one parent.

Expressive Intelligence Studio Unity Pro – CMPS179 A note on Parenting and Transforms When parenting Transforms, set the parent's location to before adding the child. This will save you many headaches later. Particle Systems are not affected by the Transform's Scale. In order to scale a Particle System, you need to modify the properties in the System's Particle Emitter, Animator and Renderer.

Expressive Intelligence Studio Unity Pro – CMPS179 Game View Live preview of game

Expressive Intelligence Studio Unity Pro – CMPS179 Game View Notes Any changes won’t be baked in when game is running, need to reapply them Will reflect current position/state of objects in scene view as well

Expressive Intelligence Studio Unity Pro – CMPS179 CONCEPTS AND ELEMENTS

Expressive Intelligence Studio Unity Pro – CMPS179 GameObjects These are everything in Unity – are represented in various ways in interface and in the code Can navigate between them using scripts

Expressive Intelligence Studio Unity Pro – CMPS179 Cameras See Live Demo

Expressive Intelligence Studio Unity Pro – CMPS179 Particle Systems/Physics Collidable

Expressive Intelligence Studio Unity Pro – CMPS179 SCRIPTING

Expressive Intelligence Studio Unity Pro – CMPS179 Scripting Scripting Overview Scripting inside Unity consists of attaching custom script objects called behaviours to game objects.attaching custom script objects Different functions inside the script objects are called on certain events. Update: – This function is called before rendering a frame. – This is where most game behaviour code goes, except physics code. FixedUpdate: – This function is called once every physics time step. – This is the place to do physics-based game behaviour. Code outside any function: – Code outside functions is run when the object is loaded. – This can be used to initialise the state of the script.

Expressive Intelligence Studio Unity Pro – CMPS179 Examples of editing properties using UnityEngine; using System.Collections; public class example : MonoBehaviour { void Update() { transform.Translate(0, 0, 2); } } MonoBehaviour

Expressive Intelligence Studio Unity Pro – CMPS179 Timing public class example : MonoBehaviour { void Update() { transform.Rotate(0, 5 * Time.deltaTime, 0); } } MonoBehaviour Time.deltaTime

Expressive Intelligence Studio Unity Pro – CMPS179 Instantiation public class example : MonoBehaviour { public Transform explosion; void OnCollisionEnter() { Destroy(gameObject); Transform theClonedExplosion; theClonedExplosion = Instantiate(explosion, transform.position, transform.rotation) as Transform; } }MonoBehaviourTransform

Expressive Intelligence Studio Unity Pro – CMPS179 Yield public class example : MonoBehaviour { IEnumerator Do() { print("Do now"); yield return new WaitForSeconds(2); print("Do 2 seconds later"); } void Example() { Do(); print("This is printed immediately"); } }MonoBehaviourWaitForSeconds

Expressive Intelligence Studio Unity Pro – CMPS179 Working with Kinect Data Same data – skeleteon joints as

Expressive Intelligence Studio Unity Pro – CMPS179 LIVE DEMO

Expressive Intelligence Studio // Center for Games and Playable Media // Unity Pro John Murray