摘要
Cocos-2d是一种跨平台的游戏架构引擎方式,对于底层的TCP/IP网络协议有很好的支持,其本身的内存管理机制及消息分发机制能够实现快速的高性能网络游戏架构。本文研究了现有的Cocos-2d引擎架构,并在此基础上封装了API接口来增加扩平台之间的通用性;同时,构架了基于客户端/服务端的Cocos-2d底层网络收发模块,最后进行了验证。
Cocos-2d is a cross platform game engine architecture style,for the underlying TCP/IP network protocol has very good support and its own memory management mechanism and message distribution mechanism can realize fast high performance network game architectures.In this paper,we study the existing Cocos-2d engine architecture and package based on the API interface to increase the commonality between the expanded platform.At the same time,the framework based on client / server Cocos-2d underlying network transceiver module.Finally,the validation.
出处
《电子测试》
2016年第6期64-65,共2页
Electronic Test