game design and virtual reality · •untick this box under physics on the right hand side •play...

20
GAME DESIGN AND VIRTUAL REALITY Coding and building in Unreal Engine

Upload: others

Post on 24-Jan-2021

0 views

Category:

Documents


0 download

TRANSCRIPT

  • GAME DESIGN AND VIRTUAL REALITYCoding and building in Unreal Engine

  • EXPLORING THE WORLD IN VR

    Rules

    • Be safe

    • Listen to instructions

    • If you feel dizzy or sick take the headset off and tell me

    • Look out for each other

    • Take lots of breaks from the VR headset

    • Seated is safest

    • Wear wrist straps

  • STARTING A NEW PROJECT

    We will test two projects

    • Virtual Reality game

    • First Person game

    Both can be played in VR

    Decide which you would prefer to build in for the next few sessions

  • STARTING A NEW PROJECT

    New Project – VR game

    • Virtual Reality

    • Give it a name (no spaces)

    • Create project

    • Remember which PC you are on

  • BEGINNING YOUR FIRST GAME

    Map

    • Content – Virtual Reality BP – Maps

    • Motion Controller Map

  • MOVING AROUND YOUR GAME

    Editor Controls

    • Left mouse button and drag on trackpad to move around

    • Right mouse button and drag on trackpad to look around

    • Two fingers on trackpad to move forwards and backwards

    • Left click on an object to edit, tap DEL to delete it

  • EDITING YOUR GAME

    Editor Controls

    • Move an object mode - Press W

    • Rotate an object mode – Press E

    • Resize an object mode – Press R

    • Left click on the appropriate colour arrow and drag to resize, rotate or move object

    • You can move, rotate or resize in 3 dimensions (3D) – X, Y, Z

  • EXPLORING THE WORLD IN VR

    Controls

    To play in VR

    • Go to Play

    • Click on the arrow

    • VR Preview

    • ESC to exit

  • EXPLORING THE WORLD IN VR

    Controls

    • Play Controls – VR Controls

    • Headset (HMD) to look around

    • Thumbpad to move around/teleport

    • Trigger to pick up items

    • ESC to exit to editor

  • PLAYING WITH PHYSICS

    Disable Gravity

    • Left click on an object

    • By default it will have gravity enabled

    • Untick this box under Physics on the right hand side

    • Play in VR – what happens now to that object?

  • SECOND NEW PROJECT

    New Project – First Person

    • First Person

    • Give it a name (no spaces)

    • Create project

    • Remember which PC you are on

  • EXPLORING THE WORLD IN VR

    Controls

    To play in VR

    • Go to Play

    • Click on the arrow

    • VR Preview

    • ESC to exit

  • EXPLORING THE WORLD IN VR

    Controls

    • Play Controls – VR Controls

    • Headset (HMD) to look around

    • Thumbpad to move around/teleport

    • Right Trigger to shoot

    • ESC to exit

  • EXPLORING THE WORLD IN PC

    Controls

    To play on desktop

    • Go to Play

    • Click on the arrow

    • New Editor Window

    • ESC to exit

  • EXPLORING THE WORLD IN PCControls

    • Left click to begin play

    • Drag on trackpad to look around

    • W to move forward

    • A to move left

    • S to move backwards

    • D to move right

    • Or arrow keys to move around

    • Left mouse button to shoot ESC to exit

  • CHOOSING YOUR GAME PROJECT

    Which starting template did you prefer?

    • Virtual Reality game

    • First Person game

  • EDITING YOUR GAME

    Editor Controls

    • Move an object mode - Press W

    • Rotate an object mode – Press E

    • Resize an object mode – Press R

    • Left click on the appropriate colour arrow and drag to resize, rotate or move object

    • Left click on an object to edit, tap DEL to delete it

    • Left click and drag objects into your level

    • Left click and drag materials onto objects in Viewport

  • BUILD LIGHTING

    • When we make changes to materials,

    we need to update the lighting, so

    reflections and shadows are updated.

    • This is called BUILD.

    • This takes a while, so only do it after

    you are happy with your changes, and

    allow it to finish

  • EXPLORING THE WORLD IN VR

    Controls

    • Play Controls – VR Controls

    • Headset (HMD) to look around

    • Thumbpad to move around/teleport

    • Right Trigger to shoot

    • ESC to exit to editor

  • SAVE YOUR GAME

    • Save your game

    • Remember which PC you

    are using so we can

    continue building your

    game next week