GameCamp! and Game Davis Introduction to Unity®

Slides:



Advertisements
Similar presentations
Where to get Blender for Free! Download from Blender.org and run the installer.
Advertisements

Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
The GIMP Simple features tutorial By Mary A White.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
GameCamp! and Game Davis Creating a 2D Platformer in Unity.
GameCamp! and Game Davis Introduction to Scripting in Unity®
Yingcai Xiao Game Development with Unity3D Inside/Outside Unity3D.
HELLO WORLD: YOUR FIRST PROGRAM CHAPTER Topics  Hello World?  Creating a Unity Project –The Unity Project Folder  MonoDevelop: Unity's Code Editor.
Based on Roll-a-ball video tutorial from Unity Technologies Part 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 ▪
Mr. Potato Head The objective of this tutorial is to cut an image and assemble Mr. Potato Head using various tools in Adobe Photoshop Elements 2.0.
SE 320 – Introduction to Game Development Lecture 11: Animations and GoKit Lecturer: Gazihan Alankuş Please look at the last slides for assignments (marked.
Modeling and Animation with 3DS MAX R 3.1 Graphics Lab. Korea Univ. Reference URL :
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Windows Web Xbox Mobile … and WakeUpAndCode.com.
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 1: Introduction Lecturer: Gazihan Alankuş Please look at the last two slides for assignments (marked with TODO) 2/10/20121.
Scalable Game Development William Roberts Senior Game Engineer
Creating a Logo – Lesson 3 1 Creating a Logo Lesson 3.
 Definition  Components  Advantages  Limitations Contents  Introduction Introduction  Inserting a Table Inserting a Table  Drawing a Table Drawing.
Web Games Programming An Introduction to Unity 3D.
UFCFS D Technologies for the Web Unity 3D: Review of Topics and Related Concepts.
Unity 5 Visual Studio Code * Asset Store * FPS * Terrain.
Learning Unity. Getting Unity
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.
UFCFS D Technologies for the Web Unity Interface Features.
Presented By: Weidong WU, Ph.D. Date: Part I Creating a Revolved Part 1. Start Pro/E wildfire. 2. File  set working directory…  Your directory.
Yingcai Xiao Game Development with Unity3D. Outline IDE Engine Assets Tutorial Examples Inside.
Design Studies 20 ‘Show Off’ Project How to make a computer monitor In Google Sketchup By: Liam Jack.
UFCEK-20-3Web Games Programming Unity 3D: Review of Topics Publishing for the Web.
Build-It-Yourself.com BLENDER 3D LESSON 3 BLENDER 3D LESSON 3.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
PREZI PRESENTATION The Prezi Interface. In this tutorial you will learn:  About the different parts of a Prezi interface: 1. The Prezi space/canvas 2.
Video in Macromedia Flash (Optional) – Lesson 121 Video in Macromedia Flash (Optional) Lesson 12.
CIS 205—Web Design & Development Flash Chapter 3 Appendix on Using Buttons.
 SCRATCH is a new programming language that lets you create your own interactive stories, animations, games, music, and art.
1 CSC 221: Computer Programming I Fall 2009 Introduction to programming in Scratch  animation sprites  motion, control & sensing  costume changes 
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.
Cosc 5/4735 Unity 3D Getting Started Guide for Android.
INTRO TO UNITY Building your first 3D game. DISCLAIMER  “This website is not affiliated with, maintained, endorsed or sponsored by Unity Technologies.
Yingcai Xiao Game Development with Unity3D Inside/Outside Unity3D.
Angry Teapots– using the physics engine in Unity Peter Passmore.
Building Games for the Humanities with Unity3D Rudy McDaniel University of Central Florida Orlando, FL USA.
Digital Game Design ACST 3710 Your First Unity Program 1.
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
3GB3 Game Design Unity 3D Basics.
More (C#) Scripting Day 2, Lesson 1.
Unity 2D: Step by Step, Part 4
EEC-693/793 Applied Computer Vision with Depth Cameras
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
A Prime Example of HCI Application
Create a Simple UI Game in 10 Steps
A beginner’s tutorial for Unity and VR
ICT Department- Scratch
ROOM 2+ FEATURES A-CREEPIN’ BEFORE WE START: LANYARDS RECAP ALL HERE?
Unity Terrain Design Tutorial
Fundaments of Game Design
EEC-693/793 Applied Computer Vision with Depth Cameras
Cosc 5/4735 Unity and Cardboard VR.
Unity Game Development
Presentation transcript:

GameCamp! and Game Davis Introduction to Unity®

Launch Unity®

Create New 3D Project

Unity® Interface

Empty Scene Delete main camera and directional light in the Hierarchy View so that there is nothing in the object hierarchy.

Create Terrain ▼Game Object ►Create ► 3D Object ►Terrain

Center the Terrain ▼Terrain Inspector ►Transform ►Position x = y = 0 z = -1000

Navigate to Terrain Using the navigation tools, navigate to find the terrain in Scene View

Add a Light Add directional light ▼Hierarchy ►Create ► Light ►Directional Light

Make the Terrain Pretty Import terrain assets ▼Assets ►Right Click - Import Package ►Environment ►Import All

Make the Terrain Pretty Click on terrain In the inspector click the paintbrush in the middle ▼ Edit Textures ► Add Texture Choose any texture Set X & Y size = 1

Create Character Controller Import character controller assets ▼Assets ►Import package ►Characters ►Import all In your project view, drag a first person controller from Assets/Standard Assets/Character/FPS Character/Prefabs/FPSController to the Scene View (shown on next slide)

Character Controller

Test Run the game to see what happens

Add Features to Terrain Add topology ▼Terrain Inspector ►Raise/Lower Terrain button (Leftmost button) ►Choose any brush Draw on terrain to make mountains ►Smooth height button (3rd from left) ►Choose any brush Draw on terrain to smooth mountains

Move Character Controller Move Character Controller above terrain ▼Select First Person Controller (either in Hierarchy or Scene view) ►Press “W” to allow object to be translated ►Drag yellow/green arrow upwards in Scene View to make sure First Person Controller is above the terrain.

Test Run the game to see what happens

Create a Tree Prefab In Project View, go to Assets/Standard Assets/Environment/Speed Tree/Palm and drag “Palm_Desktop” into the hierarchy

Create a Tree Prefab Add a capsule collider to palm tree ▼Palm Tree Inspector ►Add Component ►Physics ►Capsule Collider

Create a Tree Prefab Modify capsule collider ▼Palm Tree Inspector ►Capsule Collider ►Center X = 0, Z = 0 ►Radius 0.4

Create a Tree Prefab Rename your palm to “Palm 2” Drag Palm 2 from the Hierarchy View to the Project View’s main directory (“Assets”)

Palm Tree

Add Features to Terrain Use the Tree tool in the Terrain’s terrain component ▼ Trees button (3rd from right) ►Edit trees ►Add Tree ►Tree ►Choose “Palm 2” ►Add ►Mass Place Trees ►Place

Trees!

Test Run the game to see what happens

Prepare External Script Editor Unity® Menu/File Menu -> Preference -> External Tools -> External Script Editor: Make sure it is set to MonoDevelop

Rocket Launcher Create a new script for Controller (RocketLauncher) and add as component to FPSController Replace the void update function call with:

Finished Scene

Play! Hit the “Play” button ●WASD to move ●Right Click to “load” rocket launcher” ●Left Click to fire

Gameplay

Extra ●Switch values in the FPSController ●Make changes to the terrain and the terrain/tree colliders