沉浸式多人射击游戏利用高度沉浸的画面及蓝牙体感交互设备来提升游戏体验。单台PC同时连接的蓝牙体感交互设备数量有限,不能满足沉浸式游戏娱乐项目多达几十位玩家同时游戏的要求。采用多个设备连接节点,设计并实现一个分布式设备驱动系统对交互设备进行分布式管理。系统在应用VRPN的基础上引入设备服务器节点来负责与游戏通信,降低了游戏与多个设备连接节点通信带来的开发复杂度;通过定义数据映射层实现游戏逻辑与交互设备类型的低耦合。实验结果表明应用该系统对游戏性能影响很小,能保证玩家与游戏的实时交互。
Immersive multiplayer shooter games provide highly realistic gaming experience by employing highly immersive frame and bluetooth somatosensory interaction devices.The number of the bluetooth devices that a single PC can connect is limited,which cannot meet the requirement of accommodating dozens of players in immersive gaming and entertainment projects at the same time.To deal with the issue,we employ multiple connecting nodes,design and realise a distributed device driver system to process the distributed management of the interactive devices.Based on applying VRPN,the system introduces a device server node to preside the communication with games thus reduces the development complexity of the game when communicating with multiple connecting nodes.By defining the data mapping layer,the system achieves low coupling between the game logic and the interaction device type.Experimental results show that the application of the system affects little at the performance of the games and the system can guarantee the real-time interaction of the players with games.