Based on Roll-a-ball video tutorial from Unity Technologies Part WakeUpAndCode.com.

Slides:



Advertisements
Similar presentations
Create a Simple Game in Scratch
Advertisements

How to Use Topics Topics Navigation. 9/14/2013 How to Use Topics 2 Starter Find the file Menu in the Menu folder, or alternatively the Table of Contents.
Create a Simple Game in Scratch
Digital Art and Creativity  3D Image and Animation Software  Used to make Movies  Pixar  Dreamworks  Large and Complicated Program.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Scene changes By Deborah Nelson Duke University Under the direction of Professor Susan Rodger July 2008.
GameCamp! and Game Davis Creating a 2D Platformer in Unity.
HELLO WORLD: YOUR FIRST PROGRAM CHAPTER Topics  Hello World?  Creating a Unity Project –The Unity Project Folder  MonoDevelop: Unity's Code Editor.
Windows 8 Windows Phone 8 Web Mobile … and WakeUpAndCode.com.
Google SketchUp Castle
Using Draw Tools C 2012jkc. Click File on the menu bar and select Page Setup on the drop- down menu to get the Page Setup dialog box. Under the Margins.
SE 320 – Introduction to Game Development Lecture 11: Animations and GoKit Lecturer: Gazihan Alankuş Please look at the last slides for assignments (marked.
Mastering Your Word Processing Skills
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Flash MX II. Flash MX – Tweened Animation There are two methods for creating an animation sequence in Flash –Frame-by-frame animation –Tweened animation.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 4 1 Microsoft Office FrontPage 2003 Tutorial 4 – Using Shared Borders and Themes.
Flash Lesson 1 Simple Animation. Get Acquainted With The Software.
EEC-693/793 Applied Computer Vision with Depth Cameras Lecture 13 Wenbing Zhao
TUTORIAL. Windows Movie Maker Tools  Tasks pane  Menu bar  Contents pane  Storyboard/ Timeline  Preview monitor.
Moviemaker Tutorial: Titles Adding Video & Pics Transitions MenuNextPrevious Video Effects Sounds Labels & Captions.
Distributed Multimedia Programming Week - 1. Document Window  The Document Window is divided in to six main components Timeline – The Timeline is where.
Scene changes By Deborah Nelson Duke University Under the direction of Professor Susan Rodger June
Unity 5 Visual Studio Code * Asset Store * FPS * Terrain.
Learning Unity. Getting Unity
User Guide for Kinovea CREATED BY: KEVIN THOMAS CHRISTINA BOWEN RONDA WHYTE.
ADAMS Assignment 1 ME451:Kinematics and Dynamics of Machine Systems (Fall 2013) Assigned: September 18, 2013 Due: September 25, 2013.
UFCFS D Technologies for the Web Unity Interface Features.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
Build-It-Yourself.com BLENDER 3D LESSON 3 BLENDER 3D LESSON 3.
Macromedia Flash 8 Revealed WORKING WITH SYMBOLS AND INTERACTIVITY.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
Adding Text and Navigation to the Home Page – Lesson 51 Adding Text and Navigation to the Home Page Lesson 5.
Tutorial 3 Creating Animations. XP Objectives Learn the different elements of animation Create frames and layers Organize frames and layers using the.
Learning to Program: Part 1 Scene Setup and Starting Animation by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke University,
Chapter 2 Using Selection Tools and Shortcut Keys
CIS 205—Web Design & Development Flash Chapter 3 Appendix on Using Buttons.
XP Tutorial 3 Creating Animations. XP New Perspectives on Macromedia Flash MX Elements of Animation Layers are used to organize the content of.
ADAMS Assignment 1 ME451:Kinematics and Dynamics of Machine Systems (Spring 09)
 The terms LMB, MMB, RMB, and mouse wheel (MW).
This is what we want to produce Import sketch dimensions Label angles Set the scale Add linear dimensions.
CIS 205—Web Design & Development Flash Chapter 3 Working with Symbols and Interactivity.
Expressive Intelligence Studio // Center for Games and Playable Media // Unity Pro John Murray Expressive.
INTRO TO UNITY Building your first 3D game. DISCLAIMER  “This website is not affiliated with, maintained, endorsed or sponsored by Unity Technologies.
Introduction to PowerPoint 2003 Professional Development Training for Classroom Teachers.
Yingcai Xiao Game Development with Unity3D Inside/Outside Unity3D.
Adobe ® Photoshop ® CS6 Chapter 1 Editing a Photo.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Angry Teapots– using the physics engine in Unity Peter Passmore.
Game Development with Unity3D
Welcome! Day1, Lesson 1.
EEC-693/793 Applied Computer Vision with Depth Cameras
Quick Intro to Unity Lecture 2.
Game Development with Unity3D Inside/Outside Unity3D
Create a Halloween Computer Game in Scratch
Scratch for Interactivity
Unity 2D: Step by Step, Part 4
EEC-693/793 Applied Computer Vision with Depth Cameras
EEC-693/793 Applied Computer Vision with Depth Cameras
The mouse controls the movement of the pointer on your screen.
Unity 2D: Step by Step, Part 2
Assignment 1 Creating a Heart.
Cell Simulation.
EEC-693/793 Applied Computer Vision with Depth Cameras
Illustrator Patterns Info
Creating a Simple Game in Scratch
Unity Game Development
Skills Sheet: ‘Using the 3D viewer’
Presentation transcript:

Based on Roll-a-ball video tutorial from Unity Technologies Part WakeUpAndCode.com

Getting Started > Creating the Ground > Creating the Player > Materials, Colors & Lighting > 3D Physics & Movement Controlling the Camera

Select 3D (not 2D)Click [Create project]

Click Layout dropdown to select or save

Click File  Save Scene

Create New folder below Assets folder Name it “Scenes”

, then click [Save] … Name your scene “PlayingField.unity” Inside “Scenes” Subfolder…

Verify Saved Scene in Project panel Verify Scene Name in Title Bar

Click GameObject  3D Object  Plane Click Create  3D Object  Plane In the top menu…In the Hierarchy panel…- OR -

Right-click to rename Enter “Ground”

Select “Ground” in Hierarchy Click gear icon next to Transform then click “Reset”

With “Ground” selected in hierarchy… … press ‘F’ on your keyboard to focus on it … move your cursor to the Scene

Scroll the mouse wheel over your scene to zoom in/out

In the Scene panel, click the Gizmos dropdown to toggle “Show Grid”

Click on the Scale tool, while the Ground is selected… … then, drag the handles to resize the ground

Manually enter Scale values in the Ground’s Transform component Scale: X = 2, Y = 1, Z = 2

Click GameObject  3D Object  Sphere Click Create  3D Object  Sphere In the top menu…In the Hierarchy panel…- OR -

Position Sphere at X = 0, Y = 0.5, Z = 0

In the Project panel, click Create dropdown then, select “Folder”

In Project panel, click Create then, select “Folder” Rename it “Materials”

In Project panel, click Create then, select “Material” Rename it “GroundMaterial” Repeat for “BallMaterial”

For each material... Update color in Inspector window (click white square)

Red Green Blue Alpha (Transparency)

Verify that GroundMaterial and BallMaterial have different colors.

Drag each material from Project panel to the Scene panel

Update Direction Light in Inspector Rotation: X = 50, Y = 60, Z = 0

With “Ball” selected in the Hierarchy panel… Click Component  Physics  RigidBody

With “Ball” selected in the Hierarchy panel, click Add Component  Physics  Rigidbody

Verify RigidBody Component

In the Project panel, click Create dropdown Then select “Folder”, name it “Scripts”

In the Project panel, click Create dropdown Then select “C# Script”, name it PlayerController

With “Ball” selected... … Drag script into Ball Verify Script Component!

Add FixedUpdate() method … just before last curly brace

Inside FixedUpdate() method… Calculate 3D movement

Define rb just before Start() Initialize inside Start() method Add Force inside FixedUpdate()

Click Play button, move around with arrow keys!

Define public speed variable Multiply speed with movement

With “Ball” selected... Set Speed = 10 What happens if you set it to 100?

Click Play button, move around with arrow keys!

Set Camera Position and Rotation Position: X = 0, Y = 10, Z = -10 Rotation: X = 45, Y = 0, Z = 0

Camera should appear higher with a better view

In the Project panel, click Create dropdown Then select “C# Script”, name it CameraController

Define instance variables just before Start()

Initialize offset in Start() method

Add LateUpdate() method Then, set camera position

With “Main Camera” selected... … Drag script into camera Verify Script Component!

With “Main Camera” selected... … Drag Ball into Camera’s Player object

Click Play, move around!