下载此文档

基于J2ME的手机网络游戏的设计与实现.pdf


文档分类:IT计算机 | 页数:约47页 举报非法文档有奖
1/47
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/47 下载此文档
文档列表 文档介绍
基于J2ME的手机网络游戏的设计与实现摘要摘要本文针对目前J2ME在手机网络游戏方面的发展,设计和实现了基于J2ME 的手机网络游戏,并着重在网络对战类游戏方面的发展做了一些探讨和实现。 J2ME不仅仅是进行手机网络游戏开发的环境,SUN公司更将其定义为“一种以广泛的消费性产品为目标的、高度优化的Java运行时环境”。目前用J2ME开发的手机单机游戏数不胜数,在这方面的技术也已经趋于成熟,而用J2ME开发的网络游戏却只有寥寥数款并且正式的商用效果并不理想。其中主要的原因一方面是现在的无线网络传输速度的不稳定,另一方面则是J2ME在针对联网游戏开发方面的技术还不够完善,手机网络游戏系统开发还缺乏一个统一的体系结构标准,因此要开发出一款真正意义上的手机网络游戏,就必须要有一个稳定可靠的网络传输协议和高效的手机即时网络对战游戏体系结构。本论文通过采用J2ME开发技术,详细介绍了使用手机无线网络联网游戏的开发与设计过程。针对手机网络游戏的开发特性,论文在设计中采用了结构化模型设计。论文详细分析并介绍了程序架构的设计实现细节,并对该游戏的整体系统结构模型按模块进行了划分,其中主要包括通讯模块,消息传递模块,游戏大厅管理模块等。模块化的程序设计模型使得系统中每个功能模块的定义清晰明确,代码移于维护和移植,提高了系统开发效率。更重要的一点,可以在游戏测试中对网络功能模块进行重点优化,而又可以最少的影响其他的模块。移动无线网络具有网络传输延迟大,传输链路不稳定且丢包率较高等特点, 在手机即时网络对战游戏的设计与实现中,采用了基于TCP的SOCKET协议,因为本游戏需要一个稳定可靠的、实时性的网络传输协议。在应用层中,尽管HTTP 协议具有多方面的优点,但HTTP协议延时较严重,数据量大,不适合用于手机即时游戏。在经过多次实验后,决定采用更加稳定、可靠的SOCKET协议。关键词:JAVA,J2ME,Socke,手机网络游戏 ABSTRACT In thiS paper,the current J2ME games in the mobile work development,design and implementation ofJ2ME—based mobile online games, and focuses on onl ine play games in class to do some research into the development and mobile work is not just for game development environment,SUN’S even defined as”a kind of awide range of consumer products tO targeted,highly optimized Java runtime environment.”At present the development of mobi le phones with J2ME stand-alone games and countless others inthis area and technology has e mature,and the development of online games using J2ME are only a mercial ly available models and the formal results are main reason for the one hand,the current instability inthe speed works,on the other hand iS aJ2ME game working in the development of technology was not perfect,mobile onl ine games system development Salso alack of anagreed archi tecture, standards,To develop atrulymobi leonl ne games,you must have astabl e and work transport protocols and efficient mobi lereal—’t ime online play the game architecture. In this paper,developed through the use of J2ME technology, described indetail the use of

基于J2ME的手机网络游戏的设计与实现 来自淘豆网m.daumloan.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数47
  • 收藏数0 收藏
  • 顶次数0
  • 上传人2830622664
  • 文件大小0 KB
  • 时间2016-04-26
最近更新