- Unity 5.x By Example
- Alan Thorn
- 187字
- 2021-07-16 12:36:47
Game design
Let's make a coin collection game. Here, the player should control a character in the first-person mode, and he must wander the level, collecting all coins before a time limit runs out. If the timer runs out, the game is lost. On the other hand, if all coins are collected before the timer expires, the game is won. The first-person controls will use the default WASD keyboard setup, where W moves forward, A and S move left and right, and D walks backward. Head movement is controlled using the mouse, and coins are collected by simply walking into them. See Figure 1.1, featuring the coin collection game in action in the Unity Editor. The great benefit in making this game is that it demonstrates all the core Unity features together, and we don't need to rely on any external software to make assets, such as textures, meshes, and materials.

Figure 1.1: Preparing for a coin collection game (the completed game)
Note
The completed CollectionGame
project, as discussed in this chapter and the next, can be found in the book companion files in the Chapter01/CollectionGame
folder.
- C++程序設計教程
- 數據庫系統教程(第2版)
- Python快樂編程:人工智能深度學習基礎
- PowerCLI Cookbook
- R語言編程指南
- JavaScript前端開發與實例教程(微課視頻版)
- 21天學通C++(第6版)
- Full-Stack Vue.js 2 and Laravel 5
- Microsoft System Center Orchestrator 2012 R2 Essentials
- Android開發:從0到1 (清華開發者書庫)
- 執劍而舞:用代碼創作藝術
- Bootstrap for Rails
- 深度探索Go語言:對象模型與runtime的原理特性及應用
- Hadoop大數據分析技術
- Java面試一戰到底(基礎卷)