Chapter 2. Creating a Collection Game
This chapter continues from the previous one by building a collection game with Unity. In this game, the player wanders an environment in first-person mode, searching for and collecting all the coins in a scene before a global timer expires. If all coins are collected before timer expiry, the game is won. However, if the timer expires before all coins are collected, the game is lost. The project created so far features a complete environment, with a floor, props, and water, and it also features a first-person controller along with a basic coin object, which looks correct in shape and form but still cannot be collected.
This chapter completes the project by creating a coin object to collect and adding a timer ...
Get Unity 2018 By Example - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.