Book Image

Microsoft HoloLens By Example

By : Joshua Newnham
Book Image

Microsoft HoloLens By Example

By: Joshua Newnham

Overview of this book

Are you a developer who is fascinated with Microsoft HoloLens and its capabilities? Do you want to learn the intricacies of working with the HoloLens SDK and create your own apps? If so, this is the book for you. This book introduces and demystifies the HoloLens platform and introduces new ways you can interact with computers (Mixed Reality). It will teach you the important concepts, get you excited about the possibilities, and give you the tools to continue exploring and experimenting. You will go through the journey of creating four independent examples throughout the book, two using DirectX and two using Unity. You will learn to implement spatial mapping and gesture control, incorporate spatial sound, and work with different types of input and gaze. You will also learn to use the Unity 5 SDK for HoloLens and create apps with it. Collectively, the apps explore the major concepts of HoloLens, but each app is independent, giving you the flexibility to choose where to start (and end).
Table of Contents (16 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
6
Interacting with Holograms Using Unity

Chapter 8. Developing a Multiplayer Game Using Unity

In the earlier chapters, we covered ways of understanding the environment, how to interact with holograms, how to map and navigate around the real world, and how to share spatial information across devices. In this chapter, we will tie these concepts together with a fun multiplayer game, with plenty of gaps for you to improve and build on top of. Unlike the previous chapters where we deep dived into specific topics, this chapter differs with the intention of quickly walking through building a simple multiplayer game, illustrating the general steps and covering any relevant considerations.

In this chapter we will cover:

  • Introduction to some core concepts and components used to make multiplayer games in Unity 
  • Specifically looking and how we can discover peers on the same network and communicate with them 
  • Finally looking at how we can share the same coordinate space allowing for a shared user experience

By the end of this chapter, you will have...