- 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.
- The Modern C++ Challenge
- Learning RxJava
- Python程序設(shè)計(jì)(第3版)
- Python自然語(yǔ)言處理(微課版)
- Learning AndEngine
- HTML5+CSS3網(wǎng)站設(shè)計(jì)基礎(chǔ)教程
- Apache Mesos Essentials
- C語(yǔ)言程序設(shè)計(jì)
- Python Data Analysis Cookbook
- jQuery Mobile移動(dòng)應(yīng)用開發(fā)實(shí)戰(zhàn)(第3版)
- 快速入門與進(jìn)階:Creo 4·0全實(shí)例精講
- MATLAB GUI純代碼編寫從入門到實(shí)戰(zhàn)
- 零基礎(chǔ)學(xué)Python編程(少兒趣味版)
- Java設(shè)計(jì)模式深入研究
- 安卓工程師教你玩轉(zhuǎn)Android