本文已被:浏览 1548次 下载 1834次
Received:July 19, 2017
Received:July 19, 2017
中文摘要: 针对游戏中以交互为核心的控制器,研究了它在实际原型系统中所处的层次,以及和其它层的关系.同时分析和补充了硬件指令的传递路径,进而提出一种基于跨平台开源游戏引擎cocos2d-x的实现方法,并对该引擎做了一定的补充与改进.该方法通过从控制器视图捕获硬件传来的指令,以位为单位进行储存与运算,并通过通道的方式来缓冲并管理命令.优势在于易于指令的扩展,并能在语言层级、运行时层级保持实时和高效,同时支持并行输入,此外,还能够很容易应用到现有的项目中.
Abstract:Aiming at the interaction in the actual prototype system, this study analyzes the relationship between the level and the other layers. It analyzes and complements the delivery path of the hardware instruction, and proposes an implementation method based on the improvement and expansion of the open source game engine cocos2d-x, which is stored in bits by capturing the commands from the controller view operation. Its advantage to buffer and manage commands over channels is that it is easy to extend the instructions and can be real-time and efficient at the language level, runtime level, support for parallel input, and is easy to apply to existing projects.
keywords: cocos2d-x controller game engine
文章编号: 中图分类号: 文献标志码:
基金项目:
引用文本:
郝运,郭向坤.基于游戏引擎的交互行为控制器研究.计算机系统应用,2018,27(4):264-267
HAO Yun,GUO Xiang-Kun.Study of Controller of Interactive Behavior Based on Game Engine.COMPUTER SYSTEMS APPLICATIONS,2018,27(4):264-267
郝运,郭向坤.基于游戏引擎的交互行为控制器研究.计算机系统应用,2018,27(4):264-267
HAO Yun,GUO Xiang-Kun.Study of Controller of Interactive Behavior Based on Game Engine.COMPUTER SYSTEMS APPLICATIONS,2018,27(4):264-267