沈旭 孟巍 彭正超
摘? ?要:為了豐富移動用戶的業(yè)余生活,開發(fā)智力、鍛煉思維,設(shè)計(jì)開發(fā)了本游戲App。游戲的設(shè)計(jì)開發(fā)采用OpenGL,它是具有跨平臺優(yōu)勢的圖像API,在移動端OpenGL ES占有主導(dǎo)地位。游戲的設(shè)計(jì)開發(fā)采用OpenGL ES 3.2進(jìn)行渲染,在場景管理中使用了可視化剔除與碰撞檢測,以及提高游戲性能的場景管理八叉樹。最后開發(fā)實(shí)現(xiàn)了多人在線版3D貪吃蛇游戲App,具有界面美觀、圖像細(xì)膩、音效逼真、運(yùn)行穩(wěn)定的特點(diǎn)。
關(guān)鍵詞:多人在線;貪吃蛇;3D;OpenGL ES
中圖分類號:TP301 文獻(xiàn)標(biāo)識碼: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