Game Development With: Unity
Game Development With: Unity
Unity
David Gouveia
Virtual Campus Lda, Porto
Table of Contents
1. Introduction to Unity
2. Concepts and workflow
3. Live demo
Part 1
INTRODUCTION TO UNITY
What is Unity?
Game engine – system designed to help
create video games
o Easier & Faster
Rendering
Networking Animation
Artificial
Audio
Intelligence
Scripting Physics
Resources Input
What does Unity look like?
Extend
Unity games run everywhere
Unity understands you
Multiple programming languages
var explosion : Transform;
function OnCollisionEnter() {
JavaScript Destroy(gameObject);
Instantiate(explosion, transform.position, transform.rotation);
}
using UnityEngine;
using System.Collections;
import UnityEngine
import System.Collections
class Example(MonoBehaviour):
def OnCollisionEnter():
Destroy(gameObject)
Instantiate(explosion, transform.position, transform.rotation)
What about 2D games?
http://www.therealmgame.com/
What about 2D games?
http://www.therealmgame.com/
Games created with Unity
Temple
Beat Sneak Run 2
Bandit
Scrolls Rochard
Game
Assets Scenes
Game Objects
Components
Editor Interface
Assets
Game
Assets
Images
Scripts 3D Models
Assets
Sounds Video
Fonts Animations
Scene
• Unity games are divided into scenes
• Scenes are empty spaces...
• ...that can be filled with game objects
Game Object
• Everything inside a scene is a game object
• Game objects also start out empty and do
nothing...
?
Game Object
• ...but by adding components to them they can
become anything!
Component
Each component adds a piece of
functionality to the game object
LIVE DEMO