Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.

Slides:



Advertisements
Similar presentations
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Advertisements

XP Tutorial 4 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Personalizing Your Windows Environment Tutorial 4.
COMPREHENSIVE Windows Tutorial 3 Personalizing Your Windows Environment.
GameCamp! and Game Davis Introduction to Unity®
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.
Based on Roll-a-ball video tutorial from Unity Technologies Part WakeUpAndCode.com.
Windows 8 Windows Phone 8 Web Mobile … and 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 ▪
®® Microsoft Windows 7 for Power Users Tutorial 2p1 Customizing Microsoft Windows 7.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Microsoft Visual Basic 2012 CHAPTER TWELVE (ENRICHMENT CHAPTER) Windows Store Apps.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Game Maker Day 2 Making a Maze Game.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 4 1 Microsoft Office FrontPage 2003 Tutorial 4 – Using Shared Borders and Themes.
Adobe Flash Professional CS5 Provides a comprehensive authoring environment for creating digital animation and interactive Web sites. Used to create engaging.
Windows Web Xbox Mobile … and WakeUpAndCode.com.
EEC-693/793 Applied Computer Vision with Depth Cameras Lecture 13 Wenbing Zhao
Project 2 Adding Web Pages, Links, and Images Dreamweaver MX 2004 Concepts and Techniques.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
Computing Fundamentals Module Lesson 3 — Changing Settings and Customizing the Desktop Computer Literacy BASICS.
Dreamweaver CS4 Concepts and Techniques Chapter 2 Adding Web Pages, Links, and Images.
Creating Buttons – Lesson 71 Creating Buttons Lesson 7.
1 NORMA Lab. 7 Generating Reports More Display Options File: NORMA_Lab6.ppt. Author: T. Halpin. Last updated: 2009 June 9.
Unity 5 Visual Studio Code * Asset Store * FPS * Terrain.
GAME:IT Helicopter Objectives: Review skills in making directional sprites Create objects that shoot and destroy for points Create random enemies on the.
Learning Unity. Getting Unity
Layers, Image Maps, and Navigation Bars
Yingcai Xiao Game Development with Unity3D. Outline IDE Engine Assets Tutorial Examples Inside.
Building the Events Components– Lesson 111 Building the Events Components Lesson 11.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Game Maker Tutorial.
Copyright 2007, Information Builders. Slide 1 Flex your Dashboard Muscle with WebFOCUS Flex Enable John Gogoly Senior Systems Engineer June, 2008.
CIS 205—Web Design & Development Flash Chapter 3 Appendix on Using Buttons.
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
Construct 2 Game Development for Kids Platformer Tutorial: Part 1 Shahed Chowdhuri.
If you don’t have Google Earth downloaded already, you can go to to get it.
CIS 205—Web Design & Development Flash Chapter 3 Working with Symbols and Interactivity.
INTRO TO UNITY Building your first 3D game. DISCLAIMER  “This website is not affiliated with, maintained, endorsed or sponsored by Unity Technologies.
Build a Virtual Field Trip Beth Breiner Coordinator of Educational Technology Parkland School District.
Yingcai Xiao Game Development with Unity3D Inside/Outside Unity3D.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Digital Game Design ACST 3710 Your First Unity Program 1.
Game Development with Unity3D
Welcome! Day1, Lesson 1.
Dive Into® Visual Basic 2010 Express
Windows Tutorial 3 Personalizing Your Windows Environment
EEC-693/793 Applied Computer Vision with Depth Cameras
Quick Intro to Unity Lecture 2.
Game Development with Unity3D Inside/Outside Unity3D
Chapter 2: The Visual Studio .NET Development Environment
Scratch for Interactivity
More (C#) Scripting Day 2, Lesson 1.
Unity 2D: Step by Step, Part 4
Game Maker Intro to Programming Game Maker Pop Quiz (Both Groups)
EEC-693/793 Applied Computer Vision with Depth Cameras
EEC-693/793 Applied Computer Vision with Depth Cameras
Introduction to Object-Oriented Programming
Chapter 2 Adding Web Pages, Links, and Images
Unity 2D: Step by Step, Part 2
lecture 8 Our First Project
DIRECTIONS: 1. Click Enable Editing in the yellow bar above.
Creating & Using Sprites Adding Colliders
Cell Simulation.
Game Development with Unity and C#
Intro to Construct 2 Game Development
EEC-693/793 Applied Computer Vision with Depth Cameras
Unity Game Development
A Gentle Introduction to Unity 2D Game Programming
Presentation transcript:

Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com

Getting Started > Adding the Player > Adding Code > Ups & Downs Effects & Objects

… then, click “Create” Enter project location (empty folder) … Select 2D…

Verify 2D in Inspector Click Edit  Project Settings  Editor

Select “Main Camera” in hierarchy Verify Transform Position (0, 0, -10) Verify “Orthographic” Projection

In Project panel, right-click “Assets” folder Click Create, then Folder Name it “Scenes”

Click File  Save Scene Name your scene, click Save Inside “Scenes” subfolder…

1.In the Game panel… 2.Click the list of dimensions 3.Click [+] to “Add New Item” Label it “Landscape” 2.Width & Height = 1136 x Click OK.

Select Main Camera in Hierarchy Update Size to 3.2

Drag to Assets

Audio and Sprites subfolders

Drag into Scene

Right-click “Fly” then click Rename Name it “Cat”

Select “Cat” in the Hierarchy In the Inspector panel, update Position: X = 0 Y = 0 Z = 0

Click “Add Component”  Physics 2D  Circle Collider 2D

In the Inspector panel, update Radius for Circle Collider 2D Radius = 0.5

Click “Add Component”  Physics 2D  Rigidbody 2D

In the Inspector panel, check “Fixed Angle”

The cat falls down! Run

Right-click Assets, click Create  FolderName it “Scripts”

Right-click Scripts, click Create  C# Script Name it “CatController”

Drag Script to Cat Verify Script Component

Click Edit  Preferences Under External Tools, select your Script Editor e.g. MonoDevelop or Visual Studio Tip: Browse for devenv.exe in your Program Files folder if you don’t see Visual Studio

Double-Click Script Name

Script should launch in MonoDevelop or Visual Studio

Class Begins { } Class Ends

From top menu, click File  Save Or, click Ctrl S on your keyboard.

Make the cat jump up as it falls! Run

Update Gravity X = 0 Y = -15 Click Edit  Project Settings  Physics 2D

Does the cat stay down with more force? Run

Click “Game Object”  Create Empty Verify Game Object in Hierarchy

In Hierarchy tab, right-click empty Game Object click Rename name it “Floor”

With Floor selected in Hierarchy: Update Transform properties: Position: X = 0 Y = -3.5 Z = 0 Scale: X = 14.4 Y = 1 Z = 1

Click “Add Component”  Physics 2D  Box Collider 2D

Green Box Collider for Floor Floor is selected in Hierarchy

Click “Game Object”  Create Empty Verify Game Object in Hierarchy

In Hierarchy tab, right-click empty Game Object click Rename name it “Ceiling”

With Floor selected in Hierarchy: Update Transform properties: Position: X = 0 Y = 3.7 Z = 0 Scale: X = 14.4 Y = 1 Z = 1

Click “Add Component”  Physics 2D  Box Collider 2D

Green Box Collider for Floor Both are selected in Hierarchy Green Box Collider for Ceiling

The cat should stop at the ceiling and floor! Run

Click “Game Object”  Create Other  Particle System

Verify Particle System in Hierarchy Verify Particle System in Scene

Verify Particle System is a child of Cat Drag Particle System to Cat in Hierarchy

Right-click “Particle System” then click Rename Name it “jetpackFlames”

In the Inspector panel for jetpackFlames, update: Transform: Position: X = Y = Z = 0 Rotation: X = 50 Y = 270 Z = 270 Particle System Start Lifetime = 0.5 Start Size = 0.3 Start Color: RGB = 255, 135, 40 Emission Rate = 300 Shape Shape = Cone Angle = 12 Radius = 0.1 Random Direction 

1. Scroll down, then check “Color over Lifetime” 2. Click the color box 3. Select top-right slider 4. Set value to 0 (zero)

Drag Mountains into Scene

Drag Mountains into Scene Set Transform Position: X = 0 Y = 0 Z = 0

Click to Add Sorting Layer… Select Cat in Hierarchy

Add Layers for 1.Background 2.Decorations 3.Objects 4.Player Click + icon to add each new layer

Assign Sorting Layer Select Player

Assign Sorting Layer Select Background

Right-click Scripts, click Create  C# Script Name it “ParticleSortingLayerFix”

Drag Script to jetpackFlames Verify Script Component

Double-Click Script Name

Start() Begins { } Start() Ends

Run