Reader small image

You're reading from  Hands-On Game Development without Coding

Product typeBook
Published inNov 2018
Reading LevelBeginner
PublisherPackt
ISBN-139781789538335
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Lucas Bertolini
Lucas Bertolini
author image
Lucas Bertolini

Lucas Bertolini has 10+ years' experience as a video game software developer. He has worked on three major projects: for Pollux Ltd. (Hong Kong) as a game developer and designer; for Schell Games (Pittsburgh, US) where he moved and worked as a developer until the project was completed; and for Globant as a developer. He has worked in technical education for 5+ years and has taught a variety of programming courses. He is the cofounder of NGA and Bytenarchy Studios, both digital services development companies that use Unity as their main technology. Lucas has written Hands-On Game Development without Coding, available from Packt.
Read more about Lucas Bertolini

Right arrow

Dialog boxes

Dialog boxes will be our most common and direct way of communicating with the player. These UI elements provided by the 2D and 3D Game Kit will let us show text dialog, as we can see in the following screenshot:

This is the first example, where the dialog is used to explain the basic controls:

In this case, the character is trying to let us know how to jump down off platforms.

We will notice that both times the dialog box opened, we were in contact with one of the following posts:

We can find this as a prefab, called InfoPost, in the folder at Assets | 2DGameKit | Prefabs | Interactables if we are working on the 2D Game Kit. If we are working on the 3D Game Kit, the prefab will be in the same folder, under the name InfoZone.

In this case, when we enter this invisible zone, he dialog will be shown:

We will find this example in the Level1 scene of the 3D Game Kit...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Hands-On Game Development without Coding
Published in: Nov 2018Publisher: PacktISBN-13: 9781789538335

Author (1)

author image
Lucas Bertolini

Lucas Bertolini has 10+ years' experience as a video game software developer. He has worked on three major projects: for Pollux Ltd. (Hong Kong) as a game developer and designer; for Schell Games (Pittsburgh, US) where he moved and worked as a developer until the project was completed; and for Globant as a developer. He has worked in technical education for 5+ years and has taught a variety of programming courses. He is the cofounder of NGA and Bytenarchy Studios, both digital services development companies that use Unity as their main technology. Lucas has written Hands-On Game Development without Coding, available from Packt.
Read more about Lucas Bertolini