Game Design From Concepts To Implementation

Size: px
Start display at page:

Download "Game Design From Concepts To Implementation"

Transcription

1 Game Design From Concepts To Implementation Giacomo Cappellini - g.cappellini@mixelweb.it

2

3 Why Unity - Scheme Unity Editor + Scripting API (C#)! Unity API (C/C++)! Unity Core! Drivers / O.S. API! O.S.! Hardware!

4 Unity Licenses Pro Unity Editor + Scripting API (C#)! Unity API (C/C++)! Unity Core! Drivers / O.S. API! O.S.! Hardware!

5 Unity Licenses Free Main limitations: No custom splash screen No video playback No native plugins (call platform functions from Unity scripts) No realtime shadows No fullscreen post-processing effects No navigation meshes (path finding) Complete list at:

6 Unity Licenses Free Unity Editor + Scripting API (C#)! Unity API (C/C++)! Unity Core! Drivers / O.S. API! O.S.! Hardware!

7 Why Unity Cross Platform When working on top of Unity Unity Editor + Scripting API (C#)! Unity Core will take care of every cross-platform issue Unity Core! Here is where black magic happens - We don t have any access to it - You can just try to guess what s going on under the hood

8 Unity physical dissection Unity Editor PhysX engine Collection of asset importers Customized Mono environment Per-Platform Mono compiler MonoDevelop IDE Documentation + Scripting reference

9 Project script = Mono libraries Mono is an open source implementation of Microsoft's.NET Framework based on the standards for C#. In other words, it s a system that you can use to compile C# code and run it on different platforms. You may compile your code as an executable (.exe) or a library (.dll) Unity compiles your code into a.dll and calls the functions inside the Unity core

10 Components and Scripting

11 Unity logical dissection Scene = A holds zero or more of B GameObject Script (Component) Assets Material Shader Mesh Sound Texture Binary

12 Component A component is a Unity Script that has been attached to a GameObject There s no limit to the number of components you can assign to a GameObject The code that you write in your Unity Script should describe a single Behaviour The sum of the behaviours describes the real nature of the GameObject itself

13 Component Components are the most important part of your logic Unity comes with a limited number of built-in components You can use b.i.c. to send instructions to: Render system Physics system Audio system and others You can think of built-in Components as special scripts that are able to use private API functions that you cannot use inside custom scripts.

14 Component By using custom components you are able to call functions on different components on the same GameObject, or on a different GameObject, or use external resources and even modify the behaviour of the whole Engine. Assets Material Shader Mesh Sound Texture Binary We will expose later some of the power features of the Unity Scripting Engine

15 Component FlyBehaviour.cs Eagle It wanders around It flies WandererBehaviour.cs Wolf It wanders around It howls HowlingBehaviour.cs You can save a lot of coding by using behaviour combination

16 Component -- AVOID THIS WHENEVER POSSIBLE -- EagleBehaviour.cs Eagle Wolf WolfBehaviour.cs

17 Unity Editor - Working with Components -

18 Creating a new project You are given a form to select the project destination path and a checkbox list of packages. Packages are compressed bundles of Scripts and Assets that you can import on project initialization or at a later time.

19 GameObject Create Other Empty An Empty GameObject has no graphics and no behaviour, it has noting but a Transform. It is a point in space ready to be configured. It s like the steam cell of any game element.

20 GameObject Naming and tagging You can rename any GameObject by slowly double-click on it inside Hierarchy window or by using the Inspector s name field You can also assign a tag to the GameObject Tags can be used by scripts to search throughout the hierarchy tree.

21 Editor Components If you take a look inside the Hierarchy Create menu or GameObject Create Other menu you find a set of predefined GameObjects The differences between a predefined GameObject and an Empty GameObject are the Components that it comes with when created Now create end select a Cube

22 Editor Components You can think of a Cube like an Empty with: 1. A Mesh Filter Component 2. A Mesh Renderer Component 3. A Box Collider Component WARNING: Transform is not a Component. You cannot remove the Transform from the GameObject that owns it

23 Editor Components 1. Component Mesh Mesh Filter 2. Component Mesh Mesh Renderer 3. Component Physics Box Collider

24 Editor Attributes Components have attributes and options Mesh Filter: has a Mesh attribute of type Mesh Mesh Renderer: Has 3 Booleans (Cast/Receive Shadows + Light Probes ) and an Array of Material Box Collider: Has 1 Boolean, a Physics Material, and 2 Vector3 fields ( Center and Size )

25 Custom Objects 1. Create an Empty GameObject 2. Name it Custom Cube 3. Add these two components on Custom Cube 1. Mesh -> Mesh Filter 2. Mesh -> Mesh Renderer 3. Physics -> Sphere Collider 4. Set the mesh attribute of the Mesh Filter component to Cube 5. Set the Materials -> Element 0 attribute to Default-Diffuse Now compare your Custom Cube and the Cube object we have previously created

26 Editor Custom Components Custom Component = Unity Script Assets Create C# Script using UnityEngine; using System.Collections; public class MyFirstScript : MonoBehaviour { // Use this for initialization void Start () { Name it MyFirstScript and double click on it: MonoDevelop will start } } // Update is called once per frame void Update () { }

27 Editor MonoDevelop

28 Editor MonoDevelop MonoDevelop is an Integrated Development Environment originally made for working with the Mono Framework and later adapted for being Unity s default script editor Note: MonoDevelop is not the COMPILER of your executable code. You can use the Build function to check the correctness of your code, but Unity will re-compile your files internally and without asking after any code modification. You can also edit your files using your preferred text editor.

29 Editor Custom Components Now drag the Script you ve just created from the Project window on any GameObject in your Hierarchy window. Ta-Dah! You ve just turned a Script into a Component! This is the starting point of any custom logic of your game. Inside the C# Script you re expected to describe the Behaviour of every GameObject with the same script attached.

30 Editor MonoBehaviour Every Script is a new C# new class that extends MonoBehaviour

31 Editor Script Attributes using UnityEngine; using System.Collections; public class MyFirstScript : MonoBehaviour { public bool mycustombool; public float mycustomfloat; public int mycustomint; public Vector3 mycustomvector3; public AudioClip mycustomaudioclip; public Mesh mycustommesh; public Material mycustommaterial; // Use this for initialization void Start () { } // Update is called once per frame void Update () { Now some magic: public attributes = Component options! } }

32 Editor Script Attributes

33 Editor Script Attributes Every Component is sharing the same C# code but the attributes/options are different on each GameObject

34 Start() function and Update() function When you create a new Script, you are given this template // Use this for initialization void Start () { } // Update is called once per frame void Update () { } You are expected to write your code into those functions but, how to use them? Do you know what a frame is?

35 What is a frame? A frame is an unique image, just like in movies The frame rate (aka frames per second or fps) are: how many frames your hardware is able to compute in 1 second Depending on: the capabilities of your hardware the complexity of your scene the available resources the fps of your running project won t be constant, and you shouldn t assume that.

36 Frame -> Update() Frames are being calculated by your hardware fast as possible To achieve game that doesn t look and feel bad you need, at least, to have 30fps. Otherwise your game will just feel stuttering all the time. The Update() function is getting called, on each script, every time Unity computes a new Frame 30fps =~ s per frame 60fps =~ s per frame So, you should do (very) small changes on each Update call

37 Frame -> Update() + transform Or just search Unity Transform on the Internet You see a number of variables and functions available on the Transform object. You can type something like: transform.translate( 1, 0, 0 ); Inside your Update() function, just between the braces. Save the.cs modification (ctrl+s) and switch back to Unity What s going to happen?

38 Frame -> Update() + transform transform.translate( 1, 0, 0 ); Is like adding 1 on the X value of the position of the object s transform, every frame. It means that the object is going to move on the X axis by frames per second units every second So IF your hardware is able to perform 200 fps, the object would move 200 units every second. And it would go slower on different hardware or just when your computer gets busy doing calculating else. You don t want that, you want your game to work in a framerate independent way.

39 Time.deltaTime Your workstations are probably able to compute more than 200 fps inside our simple scene. Inside your Update() function you can use a float value named Time.deltaTime to make the modifications in your scene frames per second independent. Time.deltaTime contains the time (in seconds) that Unity has spent while calculating the previous frame. How about: transform.translate( 1 * Time.deltaTime, 0, 0 );

40 Feedback from your script While writing your script you have 2 ways to get feedback from your logic. 1. Run the script and check if it s behaving like expected. 2. Use Debug.Log( Some text ) and ask for a value: Debug.Log( The local X is + transform.localposition.x ); Debug.Log( The global X is + transform.position.x ); Debug output will be printed inside Unity Console. Open it using Window -> Console

41 Scripting Playground Download the Unity Project here: Goals: 1. Fix Translate script using deltatime 2. Fix Rotate script using deltatime 3. Make Rotate use one or more variables as input instead of constants, just like TranslateWithVariable 4. Fix TranslateWithVariable using deltatime Brave enough? Make a script that moves that moves on the right (+X), but after 5 seconds it starts going the other way (-X). HINT: create a float variable and add Time.deltaTime to it each frame, then use it to calculate how much time has passed.

Terrain. Unity s Terrain editor islands topographical landscapes Mountains And more

Terrain. Unity s Terrain editor islands topographical landscapes Mountains And more Terrain Unity s Terrain editor islands topographical landscapes Mountains And more 12. Create a new Scene terrain and save it 13. GameObject > 3D Object > Terrain Textures Textures should be in the following

More information

Google SketchUp/Unity Tutorial Basics

Google SketchUp/Unity Tutorial Basics Software used: Google SketchUp Unity Visual Studio Google SketchUp/Unity Tutorial Basics 1) In Google SketchUp, select and delete the man to create a blank scene. 2) Select the Lines tool and draw a square

More information

Adding a Trigger to a Unity Animation Method #2

Adding a Trigger to a Unity Animation Method #2 Adding a Trigger to a Unity Animation Method #2 Unity Version: 5.0 Adding the GameObjects In this example we will create two animation states for a single object in Unity with the Animation panel. Our

More information

Terrain. Unity s Terrain editor islands topographical landscapes Mountains And more

Terrain. Unity s Terrain editor islands topographical landscapes Mountains And more Terrain Unity s Terrain editor islands topographical landscapes Mountains And more 12. Create a new Scene terrain and save it 13. GameObject > 3D Object > Terrain Textures Textures should be in the following

More information

IAT 445 Lab 10. Special Topics in Unity. Lanz Singbeil

IAT 445 Lab 10. Special Topics in Unity. Lanz Singbeil IAT 445 Lab 10 Special Topics in Unity Special Topics in Unity We ll be briefly going over the following concepts. They are covered in more detail in your Watkins textbook: Setting up Fog Effects and a

More information

This allows you to choose convex or mesh colliders for you assets. Convex Collider true = Convex Collider. Convex Collider False = Mesh Collider.

This allows you to choose convex or mesh colliders for you assets. Convex Collider true = Convex Collider. Convex Collider False = Mesh Collider. AGF Asset Packager v. 0.4 (c) Axis Game Factory LLC Last Updated: 6/04/2014, By Matt McDonald. Compiled with: Unity 4.3.4. Download This tool may not work with Unity 4.5.0f6 ADDED: Convex Collider Toggle:

More information

Unity Software (Shanghai) Co. Ltd.

Unity Software (Shanghai) Co. Ltd. Unity Software (Shanghai) Co. Ltd. Main Topics Unity Runtime System Architecture Workflow How to consider optimization Graphics Physics Memory Usage Scripting Where to compare to other engine Unity Editor

More information

Introduction to Unity. What is Unity? Games Made with Unity /666 Computer Game Programming Fall 2013 Evan Shimizu

Introduction to Unity. What is Unity? Games Made with Unity /666 Computer Game Programming Fall 2013 Evan Shimizu Introduction to Unity 15-466/666 Computer Game Programming Fall 2013 Evan Shimizu What is Unity? Game Engine and Editor With nice extra features: physics engine, animation engine, custom shaders, etc.

More information

8iUnityPlugin Documentation

8iUnityPlugin Documentation 8iUnityPlugin Documentation Release 0.4.0 8i Jun 08, 2017 Contents 1 What is the 8i Plugin? 3 2 Why are we doing it? 5 3 Supported Unity Versions and Platforms 7 i ii Welcome to the 8i Unity Alpha programme!

More information

Unity Scripting 4. CS 491 / DES 400 Crea.ve Coding. Computer Science

Unity Scripting 4. CS 491 / DES 400 Crea.ve Coding. Computer Science Unity Scripting 4 Unity Components overview Particle components Interaction Key and Button input Parenting CAVE2 Interaction Wand / Wanda VR Input Devices Project Organization Prefabs Instantiate Unity

More information

Transforms Transform

Transforms Transform Transforms The Transform is used to store a GameObject s position, rotation, scale and parenting state and is thus very important. A GameObject will always have a Transform component attached - it is not

More information

if(input.getkey(keycode.rightarrow)) { this.transform.rotate(vector3.forward * 1);

if(input.getkey(keycode.rightarrow)) { this.transform.rotate(vector3.forward * 1); 1 Super Rubber Ball Step 1. Download and open the SuperRubberBall project from the website. Open the main scene. In it you will find a game track and a sphere as shown in Figure 1.1. The sphere has a Rigidbody

More information

Merging Physical and Virtual:

Merging Physical and Virtual: Merging Physical and Virtual: A Workshop about connecting Unity with Arduino v1.0 R. Yagiz Mungan yagiz@purdue.edu Purdue University - AD41700 Variable Topics in ETB: Computer Games Fall 2013 September

More information

Tutorial Physics: Unity Car

Tutorial Physics: Unity Car Tutorial Physics: Unity Car This activity will show you how to create a free-driving car game using Unity from scratch. You will learn how to import models using FBX file and set texture. You will learn

More information

User Manual. Contact the team: Contact support:

User Manual.     Contact the team: Contact support: User Manual http://dreamteck.io https://www.facebook.com/dreamteckstudio Contact the team: team@dreamteck.io Contact support: support@dreamteck.io Discord Server: https://discord.gg/bkydq8v 1 Contents

More information

NOTTORUS. Getting Started V1.00

NOTTORUS. Getting Started V1.00 NOTTORUS Getting Started V1.00 2016 1. Introduction Nottorus Script Editor is a visual plugin for generating and debugging C# Unity scripts. This plugin allows designers, artists or programmers without

More information

Unity Tutorial. Fall /15-666

Unity Tutorial. Fall /15-666 Unity Tutorial Fall 2014 15-466/15-666 Game World model, video, audio, interaction Often like Model-View-Controller Art, mechanics, levels, items, etc. Game Engine World model, video, audio, interaction

More information

UFO. Prof Alexiei Dingli

UFO. Prof Alexiei Dingli UFO Prof Alexiei Dingli Setting the background Import all the Assets Drag and Drop the background Center it from the Inspector Change size of Main Camera to 1.6 Position the Ship Place the Barn Add a

More information

ANIMATOR TIMELINE EDITOR FOR UNITY

ANIMATOR TIMELINE EDITOR FOR UNITY ANIMATOR Thanks for purchasing! This document contains a how-to guide and general information to help you get the most out of this product. Look here first for answers and to get started. What s New? v1.53

More information

8iUnityPlugin Documentation

8iUnityPlugin Documentation 8iUnityPlugin Documentation Release 0.4.0 8i Jul 18, 2017 Contents 1 What is the 8i Plugin? 3 2 Why are we doing it? 5 3 Supported Unity Versions and Platforms 7 4 Supported Unity Versions and Platforms

More information

Game Design Unity Workshop

Game Design Unity Workshop Game Design Unity Workshop Activity 2 Goals: - Creation of small world - Creation of character - Scripting of player movement and camera following Load up unity Build Object: Mini World and basic Chase

More information

Tutorial: Using the UUCS Crowd Simulation Plug-in for Unity

Tutorial: Using the UUCS Crowd Simulation Plug-in for Unity Tutorial: Using the UUCS Crowd Simulation Plug-in for Unity Introduction Version 1.1 - November 15, 2017 Authors: Dionysi Alexandridis, Simon Dirks, Wouter van Toll In this assignment, you will use the

More information

is.centraldispatch Documentation

is.centraldispatch Documentation SPINACH is.centraldispatch Documentation July 27, 2016 Last Edit : July 27, 2016 Page I! of XII! IS.CENTRALDISPATCH DOCUMENTATION Getting Start Write Your First Multi-Threaded Script Using SPINACH.iSCentralDispatch

More information

Workshop BOND UNIVERSITY. Bachelor of Interactive Multimedia and Design. Asteroids

Workshop BOND UNIVERSITY. Bachelor of Interactive Multimedia and Design. Asteroids Workshop BOND UNIVERSITY Bachelor of Interactive Multimedia and Design Asteroids FACULTY OF SOCIETY AND DESIGN Building an Asteroid Dodging Game Penny de Byl Faculty of Society and Design Bond University

More information

Unity3D. Unity3D is a powerful cross-platform 3D engine and a user friendly development environment.

Unity3D. Unity3D is a powerful cross-platform 3D engine and a user friendly development environment. Unity3D Unity3D is a powerful cross-platform 3D engine and a user friendly development environment. If you didn t like OpenGL, hopefully you ll like this. Remember the Rotating Earth? Look how it s done

More information

Planet Saturn and its Moons Asset V0.2. Documentation

Planet Saturn and its Moons Asset V0.2. Documentation Planet Saturn and its Moons Asset V0.2 Documentation Charles Pérois - 2015 Introduction 2 Table des matières 1. Introduction...3 2. Release Notes...4 3. How to Use...5 1. Set the scene...5 1. Set a scene

More information

Bonus Chapter 10: Working with External Resource Files and Devices

Bonus Chapter 10: Working with External Resource Files and Devices 1 Bonus Chapter 10: Working with External Resource Files and Devices In this chapter, we will cover the following topics: Loading external resource files using Unity default resources Loading external

More information

Setting up A Basic Scene in Unity

Setting up A Basic Scene in Unity Setting up A Basic Scene in Unity So begins the first of this series of tutorials aimed at helping you gain the basic understanding of skills needed in Unity to develop a 3D game. As this is a programming

More information

Auto Texture Tiling Tool

Auto Texture Tiling Tool Table of Contents Auto Texture Tiling Tool Version 1.80 Read Me 1. Basic Functionality...2 1.1 Usage...2 1.1.1 Dynamic Texture Tiling...2 1.1.2 Basic Texture Tiling...3 1.1.3 GameObject menu item...3 1.2

More information

Previously, on Lesson Night... From Intermediate Programming, Part 1

Previously, on Lesson Night... From Intermediate Programming, Part 1 Previously, on Lesson Night... From Intermediate Programming, Part 1 Struct A way to define a new variable type. Structs contains a list of member variables and functions, referenced by their name. public

More information

Game Design Unity Workshop

Game Design Unity Workshop Game Design Unity Workshop Activity 4 Goals: - Creation of small world - Creation of character - Scripting of player movement and camera following Load up unity Build Object: Collisions in Unity Aim: Build

More information

COMS W4172 : 3D User Interfaces Spring 2017 Prof. Steven Feiner Date out: January 26, 2017 Date due: January 31, 2017

COMS W4172 : 3D User Interfaces Spring 2017 Prof. Steven Feiner Date out: January 26, 2017 Date due: January 31, 2017 COMS W4172 : 3D User Interfaces Spring 2017 Prof. Steven Feiner Date out: January 26, 2017 Date due: January 31, 2017 Assignment 0.5: Installing and Testing Your Android or ios Development Environment

More information

Cláudia Ribeiro PHYSICS

Cláudia Ribeiro PHYSICS Cláudia Ribeiro PHYSICS Cláudia Ribeiro Goals: - Colliders - Rigidbodies - AddForce and AddTorque Cláudia Ribeiro AVT 2012 Colliders Colliders components define the shape of an object for the purpose of

More information

Workshop BOND UNIVERSITY Bachelor of Interactive Multimedia and Design Beginner Game Dev Character Control Building a character animation controller.

Workshop BOND UNIVERSITY Bachelor of Interactive Multimedia and Design Beginner Game Dev Character Control Building a character animation controller. Workshop BOND UNIVERSITY Bachelor of Interactive Multimedia and Design Beginner Game Dev Character Control Building a character animation controller. FACULTY OF SOCIETY AND DESIGN Building a character

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Unity

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Unity i About the Tutorial Unity is a cross-platform game engine initially released by Unity Technologies, in 2005. The focus of Unity lies in the development of both 2D and 3D games and interactive content.

More information

Auto Texture Tiling Tool

Auto Texture Tiling Tool Table of Contents Auto Texture Tiling Tool Version 1.77 Read Me 1. Basic Functionality...2 1.1 Usage...2 1.2 Unwrap Method...3 1.3 Mesh Baking...4 1.4 Prefabs...5 2. Gizmos and Editor Window...6 1.1 Offset...6

More information

Game Design Unity Workshop

Game Design Unity Workshop Game Design Unity Workshop Activity 1 Unity Overview Unity is a game engine with the ability to create 3d and 2d environments. Unity s prime focus is to allow for the quick creation of a game from freelance

More information

UNITY WORKSHOP. Unity Editor. Programming(Unity Script)

UNITY WORKSHOP. Unity Editor. Programming(Unity Script) July, 2018 Hayashi UNITY WORKSHOP Unity Editor Project: Name your project. A folder is created with the same name of the project. Everything is in the folder. Four windows (Scene, Project, Hierarchy, Inspector),

More information

User Manual. Version 2.0

User Manual. Version 2.0 User Manual Version 2.0 Table of Contents Introduction Quick Start Inspector Explained FAQ Documentation Introduction Map ity allows you to use any real world locations by providing access to OpenStreetMap

More information

OculusUnityMatlab Documentation

OculusUnityMatlab Documentation OculusUnityMatlab Documentation Release 0.0.1 Luca Donini December 31, 2016 Contents 1 Another Simple Header 1 1.1 Table of contents:............................................. 1 1.1.1 Installation...........................................

More information

Pacman. you want to see how the maze was created, open the file named unity_pacman_create_maze.

Pacman. you want to see how the maze was created, open the file named unity_pacman_create_maze. Pacman Note: I have started this exercise for you so you do not have to make all of the box colliders. If you want to see how the maze was created, open the file named unity_pacman_create_maze. Adding

More information

8K Earth, Moon and Mars Shaders Asset V Documentation

8K Earth, Moon and Mars Shaders Asset V Documentation 8K Earth, Moon and Mars Shaders Asset V0.3.3 Documentation Charles Pérois - 2015 Introduction 2 Table des matières 1. Introduction...3 2. Release Note...4 3. How to Use...5 1. Set the scene...5 1. Set

More information

About the FBX Exporter package

About the FBX Exporter package About the FBX Exporter package Version : 1.3.0f1 The FBX Exporter package provides round-trip workflows between Unity and 3D modeling software. Use this workflow to send geometry, Lights, Cameras, and

More information

Introduction to Unreal Engine Blueprints for Beginners. By Chaven R Yenketswamy

Introduction to Unreal Engine Blueprints for Beginners. By Chaven R Yenketswamy Introduction to Unreal Engine Blueprints for Beginners By Chaven R Yenketswamy Introduction My first two tutorials covered creating and painting 3D objects for inclusion in your Unreal Project. In this

More information

Mechanic Animations. Mecanim is Unity's animation state machine system.

Mechanic Animations. Mecanim is Unity's animation state machine system. Mechanic Animations Mecanim is Unity's animation state machine system. It essentially allows you to create 'states' that play animations and define transition logic. Create new project Animation demo.

More information

How to add new 3D Models to Machines Simulator 3 & Machines Simulator VR

How to add new 3D Models to Machines Simulator 3 & Machines Simulator VR How to add new 3D Models to Machines Simulator 3 & Machines Simulator VR In order to add you own 3D models to Machines Simulator 3 and MS VR software, you must follow the following steps: Download the

More information

Pong in Unity a basic Intro

Pong in Unity a basic Intro This tutorial recreates the classic game Pong, for those unfamiliar with the game, shame on you what have you been doing, living under a rock?! Go google it. Go on. For those that now know the game, this

More information

Progress Bar Pack. Manual

Progress Bar Pack. Manual Progress Bar Pack Manual 1 Overview The Progress Bar Pack contains a selection of textures, shaders and scripts for creating different ways to visualize linear data, such as health, level load progress,

More information

Easy Decal Version Easy Decal. Operation Manual. &u - Assets

Easy Decal Version Easy Decal. Operation Manual. &u - Assets Easy Decal Operation Manual 1 All information provided in this document is subject to change without notice and does not represent a commitment on the part of &U ASSETS. The software described by this

More information

Tutorial: Importing static mesh (FBX)

Tutorial: Importing static mesh (FBX) Tutorial: Importing static mesh (FBX) This tutorial walks you through the steps needed to import a static mesh and its materials from an FBX file. At the end of the tutorial you will have new mesh and

More information

Section 28: 2D Gaming: Continuing with Unity 2D

Section 28: 2D Gaming: Continuing with Unity 2D Section 28: 2D Gaming: Continuing with Unity 2D 1. Open > Assets > Scenes > Game 2. Configuring the Layer Collision Matrix 1. Edit > Project Settings > Tags and Layers 2. Create two new layers: 1. User

More information

Dice Making in Unity

Dice Making in Unity Dice Making in Unity Part 2: A Beginner's Tutorial Continued Overview This is part 2 of a tutorial to create a six sided die that rolls across a surface in Unity. If you haven't looked at part 1, you should

More information

Creating a 3D Characters Movement

Creating a 3D Characters Movement Creating a 3D Characters Movement Getting Characters and Animations Introduction to Mixamo Before we can start to work with a 3D characters we have to get them first. A great place to get 3D characters

More information

Contents Interior Mapping & Transistions... 1

Contents Interior Mapping & Transistions... 1 Nightmare Island Going Inside Interior Mapping & Transitions Contents Interior Mapping & Transistions... 1 New Scene Setup Editor... 3 Snap Settings... 6 Empty Grouping Objects... 6 Corridors Laying out

More information

Underwater Manager (Optional)

Underwater Manager (Optional) Underwater Shaders - Version 1.5 Thank you for purchasing Underwater Shaders! Underwater Manager (Optional) The Underwater Manager prefab can be dragged into your scene. It is a simple game object with

More information

Optimizing and Profiling Unity Games for Mobile Platforms. Angelo Theodorou Senior Software Engineer, MPG Gamelab 2014, 25 th -27 th June

Optimizing and Profiling Unity Games for Mobile Platforms. Angelo Theodorou Senior Software Engineer, MPG Gamelab 2014, 25 th -27 th June Optimizing and Profiling Unity Games for Mobile Platforms Angelo Theodorou Senior Software Engineer, MPG Gamelab 2014, 25 th -27 th June 1 Agenda Introduction ARM and the presenter Preliminary knowledge

More information

Introduction This TP requires Windows and UNITY 5.

Introduction This TP requires Windows and UNITY 5. TP - Desktop VR: Head tracking and asymmetric frustum with OpenCVSharp and Unity This tutorial has been printed from http://henriquedebarba.com/index.php/0/0/0//, use that website if possible as copy-pasting

More information

IAP Manager. Easy IAP Workflow. Copyright all rights reserved. Digicrafts 2018 Document version Support

IAP Manager. Easy IAP Workflow. Copyright all rights reserved. Digicrafts 2018 Document version Support IAP Manager Easy IAP Workflow Copyright all rights reserved. Digicrafts 2018 Document version 1.7.0 Support email: support@digicrafts.com.hk A. Before Start In order to use the IAPManager, the following

More information

PROTOTYPE 1: APPLE PICKER FOR UNITY 5.X

PROTOTYPE 1: APPLE PICKER FOR UNITY 5.X CHAPTER 28 PROTOTYPE 1: APPLE PICKER FOR UNITY 5.X In the pages below, I've replaced the sections of Chapter 28 that used GUIText with new pages that take advantage of the UGUI (Unity Graphical User Interface)

More information

PERFORMANCE. Rene Damm Kim Steen Riber COPYRIGHT UNITY TECHNOLOGIES

PERFORMANCE. Rene Damm Kim Steen Riber COPYRIGHT UNITY TECHNOLOGIES PERFORMANCE Rene Damm Kim Steen Riber WHO WE ARE René Damm Core engine developer @ Unity Kim Steen Riber Core engine lead developer @ Unity OPTIMIZING YOUR GAME FPS CPU (Gamecode, Physics, Skinning, Particles,

More information

Damaging, Attacking and Interaction

Damaging, Attacking and Interaction Damaging, Attacking and Interaction In this tutorial we ll go through some ways to add damage, health and interaction to our scene, as always this isn t the only way, but it s the way I will show you.

More information

Distributed Programming

Distributed Programming Distributed Programming Lecture 04 - Introduction to Unreal Engine and C++ Programming Edirlei Soares de Lima Editor Unity vs. Unreal Recommended reading: Unreal

More information

Mobile Speech Recognizer

Mobile Speech Recognizer Mobile Speech Recognizer by Piotr Zmudzinski ptr.zmudzinski@gmail.com!1 About Wouldn't your prefer to let your users speak instead of making them type? This plugin uses OS components for speech recognition

More information

User Manual v 1.0. Copyright 2018 Ghere Games

User Manual v 1.0. Copyright 2018 Ghere Games + User Manual v 1.0 Copyright 2018 Ghere Games HUD Status Bars+ for Realistic FPS Prefab Copyright Ghere Games. All rights reserved Realistic FPS Prefab Azuline Studios. Thank you for using HUD Status

More information

VEGETATION STUDIO FEATURES

VEGETATION STUDIO FEATURES VEGETATION STUDIO FEATURES We are happy to introduce Vegetation Studio, coming to Unity Asset Store this fall. Vegetation Studio is a vegetation placement and rendering system designed to replace the standard

More information

OSC. Simplification. Asset Store Description 2 Underlying Concepts 3 Getting started 4

OSC. Simplification. Asset Store Description 2 Underlying Concepts 3 Getting started 4 OSC Simplification Manual Version 1.2 Asset Store Description 2 Underlying Concepts 3 Getting started 4 How to receive without scripting 4 How to send almost without scripting 5 How to receive using scripting

More information

CSCI 1100L: Topics in Computing Lab Lab 11: Programming with Scratch

CSCI 1100L: Topics in Computing Lab Lab 11: Programming with Scratch CSCI 1100L: Topics in Computing Lab Lab 11: Programming with Scratch Purpose: We will take a look at programming this week using a language called Scratch. Scratch is a programming language that was developed

More information

Dungeons+ Pack PBR VISIT FOR THE LATEST UPDATES, FORUMS, SCRIPT SAMPLES & MORE ASSETS.

Dungeons+ Pack PBR VISIT   FOR THE LATEST UPDATES, FORUMS, SCRIPT SAMPLES & MORE ASSETS. Dungeons+ Pack PBR VISIT WWW.INFINTYPBR.COM FOR THE LATEST UPDATES, FORUMS, SCRIPT SAMPLES & MORE ASSETS. 1. INTRODUCTION 2. QUICK SET UP 3. PROCEDURAL VALUES 4. SCRIPTING 5. ANIMATIONS 6. LEVEL OF DETAIL

More information

THE LAUNCHER. Patcher, updater, launcher for Unity. Documentation file. - assetstore.unity.com/publishers/19358

THE LAUNCHER. Patcher, updater, launcher for Unity. Documentation file. - assetstore.unity.com/publishers/19358 THE LAUNCHER Patcher, updater, launcher for Unity. Documentation file Index: 1.What does the Launcher do? 2.Workflow 3.How to upload a build? 4.How to configure the launcher client? 1.What does the Launcher

More information

Spell Casting Motion Pack 5/5/2017

Spell Casting Motion Pack 5/5/2017 The Spell Casting Motion pack requires the following: Motion Controller v2.49 or higher Mixamo s free Pro Magic Pack (using Y Bot) Importing and running without these assets will generate errors! Overview

More information

Table of Contents. Questions or problems?

Table of Contents. Questions or problems? 1 Introduction Overview Setting Up Occluders Shadows and Occlusion LODs Creating LODs LOD Selection Optimization Basics Controlling the Hierarchy MultiThreading Multiple Active Culling Cameras Umbra Comparison

More information

Tutorial: Working with Lighting through Components

Tutorial: Working with Lighting through Components Tutorial: Working with Lighting through Components With a populated scene we can begin layering in light sources to add realism and light to our level. For this we will need to use an environmental probe

More information

CS248 Lecture 2 I NTRODUCTION TO U NITY. January 11 th, 2017

CS248 Lecture 2 I NTRODUCTION TO U NITY. January 11 th, 2017 CS248 Lecture 2 I NTRODUCTION TO U NITY January 11 th, 2017 Course Logistics Piazza Staff Email: cs248-win1617-staff@lists.stanford.edu SCPD Grading via Google Hangouts: cs248.winter2017@gmail.com Homework

More information

Fundamentals. 5.1 What Will Be Covered in This Chapter. 5.2 Review

Fundamentals. 5.1 What Will Be Covered in This Chapter. 5.2 Review 5 Fundamentals Now that we ve covered most of the basic concepts and terms that are commonly taught to new programmers, it s time to learn some of the fundamental concepts that are required to write functioning

More information

Intel RealSense SDK Gesture Sequences Implemented in Unity* 3D

Intel RealSense SDK Gesture Sequences Implemented in Unity* 3D Intel RealSense SDK Gesture Sequences Implemented in Unity* 3D By Lynn Thompson When configuring gestures to control assets in a scene, it s important to minimize the complexity of the gestures and the

More information

3D Starfields for Unity

3D Starfields for Unity 3D Starfields for Unity Overview Getting started Quick-start prefab Examples Proper use Tweaking Starfield Scripts Random Starfield Object Starfield Infinite Starfield Effect Making your own Material Tweaks

More information

Extract from NCTech Application Notes & Case Studies Download the complete booklet from nctechimaging.com/technotes

Extract from NCTech Application Notes & Case Studies Download the complete booklet from nctechimaging.com/technotes Extract from NCTech Application Notes & Case Studies Download the complete booklet from nctechimaging.com/technotes Application Note Using Vuforia to Display Point Clouds and Meshes in Augmented Reality

More information

MaxstAR SDK 2.0 for Unity3D Manual. Ver 1.2

MaxstAR SDK 2.0 for Unity3D Manual. Ver 1.2 MaxstAR SDK 2.0 for Unity3D Manual Ver 1.2 Written as of 14 May 2015 Contents 1. Requirement and Restriction 1 2. Creating Trackable Data 2 (1) Connecting Website and Registering An Account 2 (2) Creating,

More information

Copyright All Rights Reserved

Copyright All Rights Reserved www.kronnect.com Copyright 2016-2018 All Rights Reserved Contents What s X-Frame FPS Accelerator?... 3 Algorithms included in X-Frame... 3 Quick Start... 5 Description of X-Frame parameters... 7 General

More information

Add in a new balloon sprite, and a suitable stage backdrop.

Add in a new balloon sprite, and a suitable stage backdrop. Balloons Introduction You are going to make a balloon-popping game! Step 1: Animating a balloon Activity Checklist Start a new Scratch project, and delete the cat sprite so that your project is empty.

More information

Creating and Triggering Animations

Creating and Triggering Animations Creating and Triggering Animations 1. Download the zip file containing BraidGraphics and unzip. 2. Create a new Unity project names TestAnimation and set the 2D option. 3. Create the following folders

More information

Tutorial: Creating a Gem with code

Tutorial: Creating a Gem with code Tutorial: Creating a Gem with code This tutorial walks you through the steps to create a simple Gem with code, including using the Project Configurator to create an empty Gem, building the Gem, and drawing

More information

JACK4U Manual. vers. 1.1

JACK4U Manual. vers. 1.1 JACK4U Manual vers. 1.1 Contents 1 Introduction 1 2 System Requirements 3 3 System Overview 5 3.1 JACK Audio Components....................................... 5 3.2 ASIO Driver..............................................

More information

C# for UNITY3d: Sem 1 a.k.a. The Gospel of Mark Part 1

C# for UNITY3d: Sem 1 a.k.a. The Gospel of Mark Part 1 C# for UNITY3d: Sem 1 a.k.a. The Gospel of Mark Part 1 Special Thanks to Mark Hoey, whose lectures this booklet is based on Move and Rotate an Object (using Transform.Translate & Transform.Rotate)...1

More information

UI Elements. If you are not working in 2D mode, you need to change the texture type to Sprite (2D and UI)

UI Elements. If you are not working in 2D mode, you need to change the texture type to Sprite (2D and UI) UI Elements 1 2D Sprites If you are not working in 2D mode, you need to change the texture type to Sprite (2D and UI) Change Sprite Mode based on how many images are contained in your texture If you are

More information

Introduction into Game Programming (CSC329)

Introduction into Game Programming (CSC329) Introduction into Game Programming (CSC329) Sound Ubbo Visser Department of Computer Science University of Miami Content taken from http://docs.unity3d.com/manual/ March 7, 2018 Outline 1 Audio overview

More information

Unity introduction & Leap Motion Controller

Unity introduction & Leap Motion Controller Unity introduction & Leap Motion Controller Renato Mainetti Jacopo Essenziale renato.mainetti@unimi.it jacopo.essenziale@unimi.it Lab 04 Unity 3D Game Engine 2 Official Unity 3D Tutorials https://unity3d.com/learn/tutorials/

More information

Creating the Tilt Game with Blender 2.49b

Creating the Tilt Game with Blender 2.49b Creating the Tilt Game with Blender 2.49b Create a tilting platform. Start a new blend. Delete the default cube right click to select then press X and choose Erase Selected Object. Switch to Top view (NUM

More information

Coin Pusher Pro Asset - README

Coin Pusher Pro Asset - README Coin Pusher Pro Asset - README Created by DreamTapp Studios LLC This README document includes helpful hints, tutorials, and a description of how the scripts work together. If you have any questions or

More information

Intermediate. 6.1 What Will Be Covered in This Chapter. 6.2 Review

Intermediate. 6.1 What Will Be Covered in This Chapter. 6.2 Review 6 Intermediate Chapters 7 and 8 are big and dense. In many ways, they re exciting as well. Getting into a programming language means discovering many cool tricks. The basics of any programming language

More information

INTRODUCTION 3 SYSTEM REQUIREMENTS 4 PACKAGE CONTENT 4 CHANGELOG 4 FAST GUIDE 8 PSD2UGUI IN DEPTH 12 PSD LAYERS STRUCTURES 14

INTRODUCTION 3 SYSTEM REQUIREMENTS 4 PACKAGE CONTENT 4 CHANGELOG 4 FAST GUIDE 8 PSD2UGUI IN DEPTH 12 PSD LAYERS STRUCTURES 14 PSD2uGUI USER GUIDE INTRODUCTION 3 SYSTEM REQUIREMENTS 4 PACKAGE CONTENT 4 CHANGELOG 4 FAST GUIDE 8 PSD2UGUI IN DEPTH 12 Commands 12 Variables 13 PSD LAYERS STRUCTURES 14 Toggle Photoshop structure 14

More information

Planets Earth, Mars and Moon Shaders Asset V Documentation (Unity 5 version)

Planets Earth, Mars and Moon Shaders Asset V Documentation (Unity 5 version) Planets Earth, Mars and Moon Shaders Asset V0.4.4 Documentation (Unity 5 version) Charles Pérois - 2015 Introduction 2 Table des matières 1. Introduction...3 2. Release Notes...4 3. How to Use...6 1. Set

More information

Pong. Prof Alexiei Dingli

Pong. Prof Alexiei Dingli Pong Prof Alexiei Dingli Background Drag and Drop a background image Size 1024 x 576 X = 0, Y = 0 Rename it to BG Sorting objects Go to Sorting Layer Add a new Sorting Layer called Background Drag the

More information

Physically Based Shading in Unity. Aras Pranckevičius Rendering Dude

Physically Based Shading in Unity. Aras Pranckevičius Rendering Dude Physically Based Shading in Unity Aras Pranckevičius Rendering Dude Outline New built-in shaders in Unity 5 What, how and why And all related things Shaders in Unity 4.x A lot of good things are available

More information

Pick up a book! 2. Is a reader on screen right now?! 3. Embedding Images! 3. As a Text Mesh! 4. Code Interfaces! 6. Creating a Skin! 7. Sources!

Pick up a book! 2. Is a reader on screen right now?! 3. Embedding Images! 3. As a Text Mesh! 4. Code Interfaces! 6. Creating a Skin! 7. Sources! Noble Reader Guide Noble Reader version 1.1 Hi, Toby here from Noble Muffins. This here is a paginating text kit. You give it a text; it ll lay it out on a skin. You can also use it as a fancy text mesh

More information

Better UI Makes ugui Better!

Better UI Makes ugui Better! Better UI Makes ugui Better! version 1.1.2 2017 Thera Bytes UG Developed by Salomon Zwecker TABLE OF CONTENTS Better UI... 1 Better UI Elements... 4 1 Workflow: Make Better... 4 2 UI and Layout Elements

More information

Dialog XML Importer. Index. User s Guide

Dialog XML Importer. Index. User s Guide Dialog XML Importer User s Guide Index 1. What is the Dialog XML Importer? 2. Setup Instructions 3. Creating Your Own Dialogs Using articy:draft a. Conditions b. Effects c. Text Tokens 4. Importing Your

More information

Chart And Graph. Features. Features. Quick Start Folders of interest Bar Chart Pie Chart Graph Chart Legend

Chart And Graph. Features. Features. Quick Start Folders of interest Bar Chart Pie Chart Graph Chart Legend Chart And Graph Features Quick Start Folders of interest Bar Chart Pie Chart Graph Chart Legend Overview Bar Chart Canvas World Space Category settings Pie Chart canvas World Space Pie Category Graph Chart

More information

Assignment 4: Flight Simulator

Assignment 4: Flight Simulator VR Assignment 4: Flight Simulator Released : Feb 19 Due : March 26th @ 4:00 PM Please start early as this is long assignment with a lot of details. We simply want to make sure that you have started the

More information

PixelSurface a dynamic world of pixels for Unity

PixelSurface a dynamic world of pixels for Unity PixelSurface a dynamic world of pixels for Unity Oct 19, 2015 Joe Strout joe@luminaryapps.com Overview PixelSurface is a small class library for Unity that lets you manipulate 2D graphics on the level

More information