摘 要
网络游戏开发是一项很大的工程,需要很多综合性的知识。这对于刚刚入门的开发者来说很难理解。本论文从研究开发一个模仿泡泡堂网络游戏的例子出发,讲述网络游戏开发中用到的一些最基本的知识和设计思想,使大家清晰的理解游戏开发的过程。
整个设计中利用java中的swing编程,结合游戏的操作流程,对整个游戏进行精心的设计和大量的测试,实现游戏软件服务器端和客户端的开发,为玩家提供一个友好美观的操作界面,并添加聊天等功能以增加玩家之间的互动性,此外实现了可编辑场景地图的功能,使得游戏内容的更加丰富,玩家交互性更好,确保了游戏更具有趣味性、灵活性,以满足玩家对这款网络游戏的要求。
关键词:消息传输;java-swing;网络游戏;线程;场景
Abstract
Network game development is a big project that requires a lot of integration of knowledge. It is difficult to understand for beginner in this field. This thesis base on the research and development of a Game named “PaoPaoTang”, as an example, it descript the development of fundamental knowledge and theory when design a network game, so that we can more clearly understand the game development process.
The whole design uses the java-swing programming, combines with the operation of the game, designs the entire game and does numerous tests, realize the game software running at server and client, provide a friendly and aesthetically pleasing interface for players, and add chat functions to increase the communion between the players each other. In addition to designs the scene map editing functions to make the game for richer content and better interactive with players. Finally to ensure that the game is more fun and flexibility it can satisfy the network game requirements for players.
Key words: message transfers; java-swing; network game; thread; scene
目 录
论文总页数:21页
1 引言
1.1 课题背景
1.2 泡泡堂游戏简介
1.3 本课题研究的意义
2 开发的环境及相关技术的介绍
2.1 开发环境
2.2 Java语言的特点
3 需求分析
3.1 游戏的操作流程
3.2 应该解决的问题
4 系统设计
4.1 处理流程
4.2 数据流
4.3 部署方案
5 系统实现
5.1 代码结构
5.2 公共类的介绍
5.3 服务器端的开发
5.4 客户端
5.4.1 模块设计
5.4.2 游戏入口程序
5.4.3 登陆
5.4.4 游戏大厅
5.4.5 对战场地
6 测试
结 论
参考文献
致 谢