昆虫社区 - 独立VR游戏
“昆虫社区”是一款VR冒险解谜类游戏,面向展览空间进行设计,让参观者可以通过沉浸式的VR体验展览的内容。这款游戏的全部开发过程由我独立完成,并且最终产出了可以在目标设备实际运行的程序,在毕业展中广受好评。
前期概念
注:此图片由Midjourney生成
未来城市绿化系统
本游戏的背景设定在未来都市中,在可持续发展的理念影响下,城市设计开始大量融入自稳定生态圈的装置。而本游戏即发生在其中一个生态装置中,用较短的游戏流程,让玩家通过游玩快速理解装置原理。
注:此图片由Midjourney生成
昆虫世界
昆虫是自然生态系统中重要的组成部分,设定中的都市生态装置由昆虫主导。玩家在游戏中将扮演迷失在丛林中的小精灵,与各种昆虫进行互动,收集资源,解开谜题,最终逃出升天。
目标平台:Pico 4 VR一体机
我选择的目标平台是Pico 4 VR一体机。不同于VIVE 2这样的传统VR设备,Pico 4可以摆脱线缆,独立运行程序,这可以让玩家更加自由地游玩。但相应的,由于VR较高的渲染成本,独立运行时的Pico 4性能甚至低于常见的智能手机,这就要求我进行较大程度的性能优化。
虚幻引擎测试
为了更好的画面效果,我首先在虚幻引擎中进行测试。根据主流设备的开发流程,我在虚幻引擎中搭建了基础的开发环境,接入了设备进行测试,并尝试打包。这个过程遇到了很大的阻力,主要包括以下两点:
适配问题:由于Pico官方和虚幻引擎的合作还不完善,在我制作时并没有完全适配Pico的插件,我不得不使用针对其他设备的插件,这产生了严重的适配问题。经过调整,我勉强解决了这个问题,可以进行基本的操作。
打包问题:经过反复调研和测试,我勉强完成打包。但该程序无法在设备中独立运行,而且即便使用算力较高的串流模式,在没有任何游戏资产的场景中,运行帧率都极低。此时我开始思考转向Unity。
Unity引擎测试
我在Unity引擎中重新进行了测试,发现Unity的VR开发环境更加成熟,有相关的开发插件:XR Interaction Toolkit 2.2.0和XR Plugin Management 4.3.3。同时Pico官方也有针对Unity开发的插件:PICO Integration 2.1.4和PICO Live Preview 1.0.0。
随后我使用Unity Build-in管线,利用Unity Store素材搭建了一个测试场景,并打包输出,在Pico 4中独立运行,运行帧率稳定。至此我决定使用Unity引擎进行开发
可行性验证
控制器绑定
资产导入与优化
场景搭建
特效
游戏机制
探索
In the game, players navigate using a 'teleportation' method. Pushing the joystick forward generates a trajectory, and releasing the joystick teleports the player to the endpoint. This mechanism allows players to explore the insect world freely.
解密
The game aims to provide exhibition attendees with a quick and immersive experience. To maintain a streamlined process, I have incorporated light puzzle elements. Players must transport the collected energy to designated locations, triggering events to progress through challenges. In subsequent updates, I have also included hints for further improvement.
收集
I visualize the concept of energy through energy ball effects. Players need to explore the environment to find energy balls scattered in various corners and strategically utilize them to overcome challenges. For example, even deceased insects retain a certain amount of energy, which can be absorbed by decomposers like mushrooms.
飞行
Upon successfully completing the challenges, the sprite will soar into the sky on the back of a butterfly. During this journey, players can overlook the entire game world, accompanied by narration explaining relevant educational content.
Hints
The feedback indicated that the majority of players found the game’s instructions insufficient. I attempted to address this by incorporating arrows, highlights, and text to give players a general sense of direction.
后续优化
Beginner Level
I deconstructed the main actions in the game and had players learn them gradually in the tutorial level. Players had to navigate through a maze, during which they needed to use teleportation and steering in combination. Subsequently, players were tasked with grabbing energy orbs and delivering them to designated locations, connecting the actions of grabbing and transporting.
Youngsters
With experience in using VR technology and electronic devices, the challenges and educational elements in the game will meet their entertainment needs. By participating in the game, they can become advocates and practitioners of the concepts behind future communities.
游玩反馈
Children
Children can quickly grasp the usage of VR devices and learn about the concept of energy cycles through interactive and puzzle-solving experiences in the game. This engaging learning approach can cultivate their awareness of sustainable development in future communities.