在研究Android手机游戏引擎基本原理和相关人工智能技术的基础上,设计实现了一个Android手机游戏引擎;并对该游戏引擎的整体框架及各子系统的功能及实现方案进行了详细地介绍。特别地,对人工智能模块中基于Boltzmann行动选择策略的优化遗传算法进行了重点阐述。利用该游戏引擎实现了一个飞机射击类游戏,开发过程和游戏效果表明,该游戏引擎有效增加了非玩家角色的智能性,提高了开发的效率并且降低了游戏开发难度。
Based on the study of basic principles of Android mobile game engine and related artificial intelligence technology, an Android mobile game engine is designed and implemented, the overall framework of the game engine and the design and imple mentation schemes of sub-systems are described in detail. Particularly, the optimized genetic algorithm with Boltzmann action se lection strategy, which is implemented in the artificial intelligence module, is emphatically discussed. Finally, a plane shooting game application is developed based on the game engine. The development process and the playing effect of the game show that the game engine presented can effectively make non-player roles act more smartly, improve the development efficiency, and re duce the development difficulty for games.