Unity Game Development

Slides:



Advertisements
Similar presentations
2000 Prentice Hall, Inc. All rights reserved. 1 Outline 3.1Introduction 3.2Game Loop Components 3.3How to Implement in C# 3.4Adding Image to XNA Project.
Advertisements

Using 2D sprite with OpenGL 2003 team Koguyue. Overview Motivation and basic concepts Advantages with using OpenGL Basic requirements of implementation.
Survey of Graphics and Games. Outline Overview of computer graphics – Coursework – Research Programming using game engines Computer game and animation.
How do games work? Game Workshop July 4, Parts Sprites/pictures Map/background Music/sounds Player character Enemies Objects.
CIS Game Design I Chapter 6 and 7 Blake Farrugia 10/24/2011.
Windows 8 Windows Phone 8 Web Mobile … and WakeUpAndCode.com.
AGD: 5. Game Arch.1 Objective o to discuss some of the main game architecture elements, rendering, and the game loop Animation and Games Development.
Text. Graphics Images – photos Animation Video Audio Text Copyright issues.
Video Data Topic 4: Multimedia Technology. What is Video? A video is just a collection of bit-mapped images that when played quickly one after another.
CSE 381 – Advanced Game Programming 3D Game Architecture.
Edge Animate CreateJS is a suite of modular libraries and tools which work together to enable rich interactive content on open web technologies.
Creating A 3-D Game With Spark Engine Lauren Bissett, Dan Maguire, and Nicholas Woodfield.
Town Defenders Strategy Game prepared by: Osama N
UW EXTENSION CERTIFICATE PROGRAM IN GAME DEVELOPMENT 2 ND QUARTER: ADVANCED GRAPHICS Textures.
UE4 Quickstart IMGD 4000 Due: March 25 th, 11:59pm.
Web Games Programming An Introduction to Unity 3D.
 UDK and Unity are both game engines that offer a wide variety of options to create pretty much any type of game.  Each game engine has a built in environment.
“The perfect project plan is possible if one first documents a list of all the unknowns.” Bill Langley.
11 General Game Programming Approach. The program is event-driven The program is event-driven –Messages = events –So as all windows system (for example.
Super Pong Andrew S. Dunsmore CSC436 August 2004.
Game On! With HTML5. AUTHD on oreilly.com How a Game Works Time Passed Frame 1 Frame 2 Frame 3Frame 4.
CS F EBRUARY 9, 2016 P ARTS G AME A RCHITECTURE, M EMORY, AND I/O S YSTEMS G AME T IMING G AME T IMING G AME P ARALLELISM G AME P ARALLELISM.
UFCFSU-30-13D Technologies for the Web An Introduction to Unity 3D.
How to Harmony Using Unity and Toon Boom Harmony at Double Stallion.
UE4 Quickstart IMGD 4000 Due: March 23 rd, 11:59pm.
STARTER Which program would you use to create a large (1000 x 1000 pixels) graphic? 5 minutes – explore these tools to see which you’d use: PhotoshopFireworksPaint.
Build your own 2D Game Engine and Create Great Web Games using HTML5, JavaScript, and WebGL. Sung, Pavleas, Arnez, and Pace, Chapter 5 Examples 3.
Game Development with Unity3D
A powerful Python game engine, featuring: Custom sprites
Getting Started with Unity and Entity/Component Model
MORE Genre Specific Physics
Game Engine Architecture
3GB3 Game Design Unity 3D Basics.
2D Graphics and Animations in Unity 3D
Background Shapes & Collision Resolution (Top-down and Side-scrolling)
Enemy and Friendly AIs Richard Gesick.
Prepared by: Gina Kadri Shahd Abdulhaq Supervised by: Dr.Raed Al-Qadi.
Sinhala Language Support for Java Micro Edition
Perspective, Scene Design, and Basic Animation
Dystopia game Amjd , Iyad , Haytham.
Game Engine Architecture
Introduction to Computers
CSE 381 – Advanced Game Programming Terrain
A Prime Example of HCI Application
Computer Animation UV Mapping.
Solid Edge ST4 Training Exploding assemblies
Blender API: Part 2: Game Engine
Game Loop Update & Draw.
Lesson 3.2 Review: Identifying concepts
Week 6: Time and triggers!
Professional Environment
MTA-4201 Game Programming Chapter 8 : Scrolling Background & Font
Web programming and advanced development techniques
Fundaments of Game Design
Unity Game Development
Unity Game Development
VISUAL COMMUNICATION USING ADOBE PHOTOSHOP CREATIVE SUITE 5
Unity Game Development
Unity Game Development
Unity Game Development
ANIMATE WORKSPACE Stage Timeline Properties Panel Library Panel
Unity Game Development
Unity Game Development
Resources and interactions
Unity Game Development
Unity Game Development
Unity Game Development
Games Development 2 Tools Programming
Unity Game Development
Unity Game Development
Presentation transcript:

Unity Game Development Unity2D & Advanced Unity features

Class overview Class 14 Revision Unity2D Spritesheets 2D Movement using Rigidbody2D Animating Sprites 2D Triggers & Collisions 2D Enemy AI Advanced: Extra Features Profiler Performance Optimization Unity Services Entity Component System (ECS)

Revision UNet  Mirror Multiplayer Cameras NetworkAnimator [Command] [ClientRpc] SyncVar

Unity2D Unity2D = Intended for 2D games, different features & functionality. Several components have a 2D version such as: Rigidbody2D, BoxCollider2D, …

Spritesheets A sprite sheet is a bitmap image file that contains several smaller graphics in a tiled grid arrangement. Allows applications to use the graphics while only needing to load a single file.

2D Movement using Rigidbody2D CharacterController is not available in Unity2D, use Rigidbody2D instead. Calculating movement using input is similar, now using Vector2

Animating Sprites Name Sprites using Spritesheet Editor Setup Animator Controller for Player Sprite Open Animation window and setup Sprites in order

2D Triggers & Collisions Setup BoxCollider2D around character Mark as Trigger Activate during Attack using View Direction Deactivate after Attack

2D Enemy AI NavMesh and NavMeshAgent are unavailable in Unity2D For pathfinding a custom implementation is required (A* pathfinding?) Movement similar to player  Determine Attack Direction & Move Rigidbody2D On impact change direction

Advanced: Extra Features Add UI to display player Health Implement PlayerDeath and PlayerVictory conditions Implement Audio effects Setup Sprite Animations Add Level restart functionality Controller & Keyboard support

Profiler Profiler allows you to monitor the performance of your Unity project. Including CPU Usage, Rendering (with Frame Debug) and Memory.

Performance Optimization Determine Performance issues using Profiler Use Static Batching when possible Reduce & Reuse Textures Use Culling to reduce Rendered Objects Optimize objects using LOD Compress all assets if possible (e.g. lower resolution, lower samplerate, …) Optimize Physics calculations using LayerMasks Use simple colliders and don’t overuse Rigidbodies Cache data instead of re-calculating same results

Unity Services Use Unity Services to: Implement Ads Analyze data Build in the cloud Collaborate Setup in-app purchases Setup Multiplayer settings

Entity Component System (ECS) ECS & Job System is a new way of programming  massive performance gains

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