2018-12-17

Deer

Introduction

Deer is an RPG game made with Unity about a boy surviving after an earthquake. When the earthquake started, the boy’s mother protected him with her body, but still, the boy fell in a faint and his spirit entered the dead’s world. Inside there, all dead people transformed into deer and their memory vanished as time went by, so did the light around them. The boy’s mother also changed into a deer and kept the boy accompany, trying to help the boy out of this world before she lost all her memory. Players will control the boy to explore the dark mysterious dead’s world. Most of the environments are dark, and the only thing the boy has is a light ball left by his mother. To find out the way to the real world, the player needed to use his voice to control the light ball to illuminate his surroundings.

Illustration

  • Searching in the dark


    4.1.jpg
  • Meeting the deer


    4.2.jpg
  • Interactive Hint System


    4.3.jpg

Technical Details

This project was mainly designed and developed by a team of two people. I took charge of story-telling, game process management, UI system, interactive objects control system, partial environment building and partial material rendering.

Focusing on the coding works, I think my most important contribution is to build the whole game's code architecture, including the game manager and the interactive objects system. Related files are put in the Deer folder.

We have a BaseScene which contains all the common component for the game, like game manager, audio manager, main panel manager and so on. Every specific scene is loaded additively using async methods.

The InteractiveObj.cs is put on each interactive object, whose job is to record the unique information of each object. For example, what text should pop out in the form of subtitles, whether the object will trigger a 3D-UI panel, if the object has been detected by the player and so on.

The InteractiveObjList.cs is unique in every scene. And it stores a list of interactive objects in this specific scene.

Finally, the InteraciveObjManager.cs is arranged in the BaseScene. When a specific scene was loaded, the InteraciveObjManager will get the list of interactive objects from the InteractiveObjList.cs. And there is a loop per frame in the InteraciveObjManager, in which I traverse all the objects to deal with their status and appearance.

The architecture are illustrated below:


未命名文件.png

User Guide

Project Homepage: https://github.com/rebas777/Deer

Executable Game Download Link : here
This version of release has been tested on Win10 platform.

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • thinkphp 查找訂單分頁(yè) 如果直接用foreach循環(huán)再查鏈接表的話會(huì)報(bào)錯(cuò) 但是這樣寫(xiě)能避免 第一種方法$o...
    林木森520閱讀 199評(píng)論 0 0
  • 結(jié)束易效能一階學(xué)習(xí)后的第一周還處于一種試探和學(xué)習(xí)狀態(tài)中。 所謂試探,是試探自己的堅(jiān)持,但凡事開(kāi)始總是興奮的,所以本...
    也菲閱讀 209評(píng)論 0 0
  • 端午小長(zhǎng)假,我問(wèn)s假期中有關(guān)于他本人不可思議的一件事; 他回復(fù):外出旅行,不再關(guān)注干了撒,而是關(guān)注另一個(gè)人的感受。...
    臻靜閱讀 746評(píng)論 2 1
  • 學(xué)了人生的第一首完整的手語(yǔ)歌,很形象也很奇妙。每次來(lái)團(tuán)建都很有意義,都會(huì)學(xué)習(xí)到新鮮的實(shí)用的知識(shí)。感恩你們的一路相伴...
    蘭心_4d38閱讀 100評(píng)論 0 0

友情鏈接更多精彩內(nèi)容