Fundaments of Game Design

Slides:



Advertisements
Similar presentations
Introduction to Macromedia Director 8.5 – Lingo
Advertisements

Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
UFCFSU-30-13D Technologies for the Web Creating and Updating a Graphical Heads-Up Display (HUD)
GameCamp! and Game Davis Introduction to Scripting in Unity®
MIS Chapter 91 Ch. 9 – Implement and Use Group Policy MIS 431 – created Spring 2006.
HELLO WORLD: YOUR FIRST PROGRAM CHAPTER Topics  Hello World?  Creating a Unity Project –The Unity Project Folder  MonoDevelop: Unity's Code Editor.
7.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 7: Introducing Group Accounts.
Chapter 3.4 Programming Fundamentals. 2 Data Structures Arrays – Elements are adjacent in memory (great cache consistency) – They never grow or get reallocated.
Unity 3D game IDE 1.  Unity is a multi-platform, integrated IDE for scripting games, and working with 3D virtual worlds  Including:  Game engine ▪
SWE 4743 Abstract Data Types Richard Gesick. SWE Abstraction Classification, generalization, and aggregation are the basic ways we have of structuring.
SE 320 – Introduction to Game Development Lecture 11: Animations and GoKit Lecturer: Gazihan Alankuş Please look at the last slides for assignments (marked.
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
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.
Learning Unity. Getting Unity
LISTS AND ARRAYS CHAPTER Topics  C# Collections  List –Flexible collection of variable length  Array –Standard arrays  Multidimensional Arrays.
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.
UNIT – III DESIGN OF PRODUCT, SERVICE AND WORK SYSTEMS.
Lab 5 CPIT 250 System Analysis and Design.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
CLASSES CHAPTER Topics  Understanding Classes –The Anatomy of a Class  Class Inheritance –Superclasses and Subclasses –Virtual and Override 2.
Inheritance in C++ Bryce Boe 2012/08/28 CS32, Summer 2012 B.
PLUS FACTORIES ENTITY COMPONENT SYSTEMS. ECS OVERVIEW My Inspiration is Unity's GameObject architecture.
XS Software Andromeda 5 Jungle Jack Rage War. Andromeda 5 Entirely in 3D Custom UI system based on core unity UI Client - Server – DB architecture.
UFCEKU-20-3Web Games Programming Instantiating World Objects.
UFCFSU-30-13D Technologies for the Web An Introduction to Unity 3D.
Expressive Intelligence Studio // Center for Games and Playable Media // Unity Pro John Murray Expressive.
Félegyházi Tamás 3D Technologies for Web Student Workshop.
Yingcai Xiao Game Development with Unity3D Inside/Outside Unity3D.
Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their.
UFCEKU-20-3Web Games Programming Creating and Updating a Graphical Heads-Up Display (HUD)
Digital Game Design ACST 3710 Your First Unity Program 1.
Game Development with Unity3D
EEC-693/793 Applied Computer Vision with Depth Cameras
Quick Intro to Unity Lecture 2.
Game Development with Unity3D Inside/Outside Unity3D
3GB3 Game Design Unity 3D Basics.
CHAPTER 22 LISTS AND ARRAYS 1.
2D Graphics and Animations in Unity 3D
EEC-693/793 Applied Computer Vision with Depth Cameras
Looking at our “Getting Started” application
Enemy and Friendly AIs Richard Gesick.
Character Selection from a lobby in Unity
EEC-693/793 Applied Computer Vision with Depth Cameras
Unity 2D: Step by Step, Part 2
lecture 8 Our First Project
Child Actor Component Templates
CISC124 Assignment 4 on Inheritance due next Monday, the 12th at 7pm.
Chapter 8 Collection Types.
Object-Oriented Programming: Inheritance and Polymorphism
lecture 9 Our First Project
Getting Started with Unity
Positioning.
Fundaments of Game Design
Fundaments of Game Design
Fundaments of Game Design
Fundaments of Game Design
Fundaments of Game Design
Fundaments of Game Design
Fundaments of Game Design
Fundaments of Game Design
Fundaments of Game Design
EEC-693/793 Applied Computer Vision with Depth Cameras
Unity Game Development
Unity Game Development
Priority Queues Binary Heaps
A Gentle Introduction to Unity 2D Game Programming
Presentation transcript:

Fundaments of Game Design Unity Components Richard Gesick

Objectives Unity components Unity inheritance relationships Casting and assignments

Unity components Components are the nuts & bolts of objects and behaviors in a game. They are the functional pieces of every GameObject. GameObject is a container for many different Components. By default, all GameObjects automatically have a Transform Component. use the Inspector to see which Components are attached to the selected GameObject. As Components are added and removed, the Inspector will always show you which ones are currently attached.

Components (2) One of the great aspects of Components is flexibility. When you attach a Component to a GameObject, there are different values or Properties in the Component that can be adjusted in the editor while building a game, or by scripts when running the game. Components can include references to any other type of Component, GameObjects, or Assets

Unity components A child object inherits the transform of the parent game object. As such, its position is now a local coordinate or an offset from the parent, rather than a world coordinate. When using an empty game object as a “grouping object”, set its transform position to (0,0,0). Then the child objects local and world coordinates will be the same.

Unity components (2) Unity treats the components as a bucket of elements. A game object can be treated as any of its individual components. Thus game objects that have a rigidbody component could be cast as rigidbodies and stored in a collection of rigidbodies. This will be handy when we want to use polymorphism. A script that is added to a game object is also a component.