多人在线版贪吃蛇3D游戏App设计与开发
2019-08-13沈旭孟巍彭正超
沈旭 孟巍 彭正超
摘 要:為了丰富移动用户的业余生活,开发智力、锻炼思维,设计开发了本游戏App。游戏的设计开发采用OpenGL,它是具有跨平台优势的图像API,在移动端OpenGL ES占有主导地位。游戏的设计开发采用OpenGL ES 3.2进行渲染,在场景管理中使用了可视化剔除与碰撞检测,以及提高游戏性能的场景管理八叉树。最后开发实现了多人在线版3D贪吃蛇游戏App,具有界面美观、图像细腻、音效逼真、运行稳定的特点。
关键词:多人在线;贪吃蛇;3D;OpenGL ES
中图分类号:TP301 文献标识码:A
Design and Development of Multiplayer Online Version
of Gluttonous Snake 3D Game App
SHEN Xu1 MENG Wei2,PENG Zheng-chao1
(1. Information Engineering School,Lingnan Normal University,Zhanjiang,Guangdong 524048,China
2. Power Science Research Institute of Shandong Electric Power Group Co. LTD,Jinan,Shandong 250001,China)
Abstract:In order to enrich the amateur life of mobile users,develop intelligence and train thinking,the game App is designed and developed. The game is designed and developed with OpenGL,which is a cross-platform advantage of the image API,OpenGL ES in the mobile side of the dominant position. The design and development of the game uses OpenGL ES 3.2 for rendering. Visual culling and collision detection are used in scene management,and octree of scene management is used to improve the performance of the game. Finally,a multiplayer online version of 3D Snake game App is developed,which has the characteristics of fine image,beautiful interface,realistic sound effect and stable operation.
Key words:multiplayer online;gluttonous snake;3D;openGL ES