Section 1 - Character Movement
These are the slides that accompany the Unity RPG Series.
See us develop the slides as we write the course…
Enjoy your stay!
Ben & Rick
GameDev.tv
Live Google Slides at http://bit.ly/rpgslides
Why You Should Buy This Course
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Welcome To The Course
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Find The Donkey!
Live Google Slides at http://bit.ly/rpgslides
About Character Movement
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Start Designing Your RPG
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
RPG Design Is A Battle...
Your epic imagination
Your realistic limitations
Skyrim
Live Google Slides at http://bit.ly/rpgslides
Think Big, Start Small
Start By Creating
A Gameplay Moment
Skyrim
Battleheart: Legacy
Live Google Slides at http://bit.ly/rpgslides
What’s Your Moment?
Live Google Slides at http://bit.ly/rpgslides
Set Up A Combat Sandbox
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Layout & Share Your Sandbox
Live Google Slides at http://bit.ly/rpgslides
A Simple DIY Follow Camera
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Write CameraFollow.cs
Live Google Slides at http://bit.ly/rpgslides
Further Reading
Live Google Slides at http://bit.ly/rpgslides
Pan And Tilt Camera Options
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Explore Unity’s Cameras
Live Google Slides at http://bit.ly/rpgslides
Prototyping With Placeholders
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Create A Simple Scenario
Live Google Slides at http://bit.ly/rpgslides
Raycasting And Layer Masks
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Layer Masks AND The Bit Shift
int layerMask = 1 << (int)layer;
layer = 0, layerMask = 0000 … 0001
layer = 1, layerMask = 0000 … 0010
layer = 2, layerMask = 0000 … 0100
etc.
hitLayer & layerMask // hit in mask?
0010 & 0001 == false
0010 & 0010 == true
Live Google Slides at http://bit.ly/rpgslides
Further Reading
Live Google Slides at http://bit.ly/rpgslides
Using Raycasts To Query Click
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
How We’re Using Raycasting
EndStop
Walkable
Enemy
Camera
Live Google Slides at http://bit.ly/rpgslides
Log The Layer Being Hit
Live Google Slides at http://bit.ly/rpgslides
Click Mouse To Move
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Get Click To Move Working
Live Google Slides at http://bit.ly/rpgslides
Work Breakdown Structure
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Wearing Many Hats
Live Google Slides at http://bit.ly/rpgslides
Typical Indie Pattern
Development
Design
Project Management
Content
Tuning
Feedback
Tuning
Feedback
Live Google Slides at http://bit.ly/rpgslides
What Are We Building?
Live Google Slides at http://bit.ly/rpgslides
What Are We Building?
Live Google Slides at http://bit.ly/rpgslides
Create Your WBS
Live Google Slides at http://bit.ly/rpgslides
Resources
Live Google Slides at http://bit.ly/rpgslides
Instructor Hangout 1.1
Unity 5.5
z
Common Questions
Live Google Slides at http://bit.ly/rpgslides
Organizing Project For Teamwork
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Organise Your Project
Live Google Slides at http://bit.ly/rpgslides
Using Cursor Affordances
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Further Reading
Live Google Slides at http://bit.ly/rpgslides
Finish The Script
Live Google Slides at http://bit.ly/rpgslides
Most Important Combat Feature
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Jot It Down
Live Google Slides at http://bit.ly/rpgslides
Resources
Live Google Slides at http://bit.ly/rpgslides
Gamepad Movement Mode
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Optional: Setup Controller
Live Google Slides at http://bit.ly/rpgslides
Onion Design
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Tighten Your Core
Live Google Slides at http://bit.ly/rpgslides
The Player Experience
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Define Your Player Experience
Live Google Slides at http://bit.ly/rpgslides
TODOs And Bug Fixes
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Tidy Your House
Live Google Slides at http://bit.ly/rpgslides
The Observer Pattern
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Observer Pattern
Subject
Observer 2
Observer 1
Observers register to listen to events on the subject, without the subject knowing or caring who is listening.
Live Google Slides at http://bit.ly/rpgslides
Old vs New
CameraRaycaster
CursorAffordance
PlayerMovement
Data Flow
cameraRaycaster.layerHit
OnLayerChange()
Execution Flow
Live Google Slides at http://bit.ly/rpgslides
Explain Why This Is Helpful
Live Google Slides at http://bit.ly/rpgslides
Further Reading
Live Google Slides at http://bit.ly/rpgslides
Using Delegates In C#
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
Old vs New
CameraRaycaster
CursorAffordance
PlayerMovement
Data Flow
cameraRaycaster.layerHit
OnLayerChange()
Execution Flow
Live Google Slides at http://bit.ly/rpgslides
Existing Data Flow
CameraRaycaster
CursorAffordance
Data Flow
OnLayerChange()
Execution Flow
Live Google Slides at http://bit.ly/rpgslides
Switch Cursor To Delegates
Live Google Slides at http://bit.ly/rpgslides
Further Reading
Live Google Slides at http://bit.ly/rpgslides
The event Keyword In C#
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides
With Data Flow
CameraRaycaster
CursorAffordance
Data Flow
OnLayerChange(newLayer)
Execution Flow
Live Google Slides at http://bit.ly/rpgslides
Send newLayer Via Delegates
Live Google Slides at http://bit.ly/rpgslides
Instructor Hangout 1.2
Unity 5.5
z
Section 1 Wrap Up
Unity 5.5
z
In This Video…
Live Google Slides at http://bit.ly/rpgslides