Unity Game Development

Slides:



Advertisements
Similar presentations
INNER WORKINGS OF UNITY 3D. WHAT WE ARE GOING TO COVER Intro to Unity Physics & Game Objects Cameras & Lighting Textures & Materials Quaternions and Rotation.
Advertisements

GameCamp! and Game Davis Introduction to Unity®
GameCamp! and Game Davis Creating a 2D Platformer in Unity.
Based on Roll-a-ball video tutorial from Unity Technologies Part WakeUpAndCode.com.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial 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
How to make a Shooting Target game in Scratch!. WE ARE GOING TO MAKE A TARGET GAME. This game will have: A Target that will move when clicked. A Timer.
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.
SE 320 – Introduction to Game Development Lecture 7: Programming Lecturer: Gazihan Alankuş Please look at the last two slides for assignments (marked with.
UFCEK-20-3Web Games Programming Unity 3D: Review of Topics Publishing for the Web.
LESSON #10: Digital Playtesting & Introduction to Character Animation with Mecanim DGMD E-70 Principles of Game Design.
Problem Solving Methodology Rachel Gauci. Problem Solving Methodology Development Design Analysis Evaluation Solution requirements and constraints. Scope.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Games Programming in Scratch
UFCEKU-20-3Web Games Programming Instantiating World Objects.
UFCFSU-30-13D Technologies for the Web An Introduction to Unity 3D.
90 Vertical Horizontal Oblique line a b Angles a + b = 180 o Angles at a Point b = 115 o Angle a = 180 – 115 = 65 o.
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.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
Game Development with Unity3D
The Alice Scene Editor.
Welcome! Day1, Lesson 1.
Thanks to our Sponsors! Community Sponsor Yearly Sponsor
EEC-693/793 Applied Computer Vision with Depth Cameras
Quick Intro to Unity Lecture 2.
Game Development with Unity3D Inside/Outside Unity3D
First Person Shooter Project
Period 4- Video Gaming Game Salad
3GB3 Game Design Unity 3D Basics.
Website Administration
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
Aaron Camm, Jeff Huggins, Steve Moskal, Patrick Cardwell
Unity 2D: Step by Step, Part 2
lecture 8 Our First Project
LESSON FOURTEEN TOPICS: HOW TO KEEP TRACK OF AMMO, AND HOW TO RESPOND TO RUNNING OUT OF AMMO.
UNITY TEAM PROJECT TOPICS: [1]. Unity Collaborate
Oculus Rift DK2 + Leap Motion Unity Tutorial
Storing Values as Variables
A beginner’s tutorial for Unity and VR
Week 6: Time and triggers!
Myo + Oculus Rift Tutorial
Fundaments of Game Design
EEC-693/793 Applied Computer Vision with Depth Cameras
CO Games Concepts Week 12 Collision Detection
Unity Game Development
Unity Game Development
Unity Game Development
Unity Game Development
Unity Game Development
Step 1: Right click on green arrow
Unity Game Development
Unity Game Development
Unity Game Development
Unity Game Development
Unity Game Development
Unity Game Development
Unity Game Development
Presentation transcript:

Unity Game Development Creating a Top Down Shooter

Class overview Class 1 Revision Parenting objects in Hierarchy 2D Movement  3D Movement Character Rotation to Mouse Position Prefabs (Bullets, Ammo Crates) Shooting & Spawning Bullets Canvas UI Targets! Applying Textures to Materials Advanced: Weapon Equipment Advanced: New Weapons

Revision Lighting C#: Variables, Functions & Code grouping Creating & adding scripts to GameObjects Time.deltaTime Rigidbody CharacterController Input Jumping Logics Audio & Importing Assets

Parenting objects in Hierarchy Drag GameObject onto other GameObject  Creates hierarchy Moving, rotating, scaling parent object affects child objects

2D Movement  3D Movement Horizontal input used as Movement in X axis Vertical input used as Movement in Z axis

Character Rotation To Mouse Position 1. Detect Mouse Position in Screen Space 2. Convert Player’s World Position to Screen Space 3. Subtract Player Screen Space Position from Mouse Screen Space Position 4. Use Mathematics to get Angle from Vector (Atan) 5. Apply Angle Rotation to Player

Prefabs (Bullets, Ammo Crates) Dragging GameObjects from Scene to Prefabs folder creates a Prefab Prefabs are displayed in Blue in Scene Hierarchy Prefabs share attributes!

Shooting & Spawning Bullets 1. Check Ammo 2. Check Cooldown 3. Spawn Bullet 4. Update Ammo & UI

Canvas UI Use Canvas System to add UI elements on screen Display Bullet Ammo in Text

Targets! Add some Targets and Destroy them on Impact. Turn the Bullet’s Collider into a Trigger Implement OnTriggerEnter on the Target. Add a Tag to Bullet called “Bullet” Check for this Tag in OnTriggerEnter

Applying Textures to Materials Create Material Click on small circle left of Albedo Select Texture Setup Tiling X and Tiling Y if needed

Advanced: Weapon Equipment Try and make the character Equip a Weapon by Picking it up by pressing a button. Make the character able to Equip and Unequip a Weapon.

Advanced: New Weapons Add a New Weapon like a Machine Gun, Shotgun and / or Rocket Launcher?!

Q&A Do you have any questions related to the topics mentioned?