目 录
1 引言. 1
1.1 课题的研究背景与意义. 1
1.1.1 课题的研究背景. 1
1.1.2 课题的研究意义. 2
1.1.3 课题研究的现状和发展趋势. 2
1.2 Java语言的特点及其与游戏的结合. 3
1.2.1 Java语言的特点. 3
1.2.2 Java与网络的结合. 4
1.3 关于足球仿真系统. 5
1.3.1 引言. 5
1.3.2 多智能体系统. 5
1.3.3 机器人足球系统的典型结构. 6
1.3.4 结论. 7
1.4 可行性分析. 7
1.4.1 经济可行性. 7
1.4.2 技术可行性. 8
1.4.3 操作可行性. 9
1.4.4 社会可行性. 9
1.5 本章节小结. 10
2 需求分析. 11
2.1 系统初步分析. 11
2.1.1 用户需求分析. 11
2.1.2 系统的功能需求分析. 11
2.1.3 系统的可靠性和可用性需求分析. 13
2.1.4 本系统所要实现的功能. 13
2.2 数据流分析. 14
2.3 数据字典. 15
2.4 本章节小结. 15
3 总体设计. 16
3.1 系统开发. 16
3.1.1 系统开发的原则. 16
3.1.2 系统设计阶段. 16
3.1.3 结构设计阶段. 18
3.2 攻防策略的研究. 19
3.2.1 进攻策略研究. 19
3.2.2防守策略研究. 22
3.3本章节小结. 22
4.详细设计. 23
4.1 图形系统的设计. 23
4.1.1球员和球的图象显示. 23
4.1.2 球场图象显示. 24
4.2 声音系统的设计. 25
4.2.1 球场的音效输出. 25
4.3 渲染系统的设计. 26
4.3.1球场图象裁减变化. 26
4.3.2球员动画显示. 27
4.4 物理系统的设计. 37
4.4.1 重力系统. 37
4.4.2 碰撞系统. 38
4.5 人工智能系统的设计. 39
4.5.1 球员数据库信息采集. 39
4.5.2球员学习系统. 40
4.5.3环境变量. 44
4.6游戏有待提高之处. 44
4.7 本章节小结. 45
5 游戏的设计环境和Java游戏系统特点. 46
5.1游戏的开发环境和运行环境. 46
5.2 Java游戏系统的特点及本作游戏的特点. 46
5.2.1 选择Java游戏系统的原因. 46
5.2.2 本作游戏的特点介绍. 47
5.3 本章节小结. 48
6 用户使用手册. 49
6.1系统功能及用户简介. 49
6.1.1系统功能. 49
6.1.2 系统运行环境简介. 49
6.2 系统运行与操作指南. 49
结 论. 50
致 谢. 51
参 考 文 献. 52
《基于Java足球游戏的研究与开发》是一个利用Java语言编程的小游戏,希望可以将其制作成为一款受机上的浏览器游戏。
主要功能模块包括:图象系统、声音系统、渲染系统、物理系统和人工智能系统。
通过本游戏,游戏者可以以裁判的视角观察到虚拟球员带来的精彩过人、盘带、射门等动作,带来一种视觉和身心的享受。
(1)运行平台:JVM虚拟机
(2)开发工具:JBuilder2005
(3)操作系统:Windows95以上
Abstract: This design is a Java-based Five-man football games and its research and development. This issue is a simulation of the operation and real-time Versus mixed football game. It is the general design elements include: game engine design, the design of the game client, game server design, the game design of the database. Game engine is the soul of the game, which is the control of all the game features the main program, from the calculation of the collision, the physical system and the relative position of objects, to accept the player''s input, as well as the correct volume of the output of the correct sounds, etc., the whole game the engine can be divided into the following parts: system, console, support systems and rendering system.
In this paper, the game status of the background research and development began a detailed description of the entire game production process. System design carved out of the game generally function modules, including: graphic system, sound systems, rendering systems, physical systems and artificial intelligence systems. The detailed design stage, functional modules of a deeper division, and gives a detailed implementation code, and finally to the entire design process is given the final implementation.
The highlight of the game is that it joined the simulation system design. The game model is the actual situation in accordance with reality as a reference, the design of gravity and collision module, and so in other areas. Another important aspect is the game of intelligent design, so that players with learning and information-gathering capabilities. However, the game, there are still many shortcomings, many features are not perfect. In this regard, the design still needs lot of strengthening.
Keywords: thread; artificial intelligence; graphics system; the physical system.
Directory
1 Introduction. 1
1.1 Background and significance of the subject. 1
1.1.1 research projects in the background. 1
1.1.2 The significance of the study subjects. 2
1.1.3 the research status and development trends. 2
1.2 Java Language Features and a combination of the game. 3
1.2.1 Java language features. 3
1.2.2 Java and network combination. 4
1.3 With regard to soccer simulation system. 5
1.3.1 Introduction. 5
1.3.2 Multi-Agent System. 5
1.3.3 A typical structure of robot soccer system. 6
1.3.4 Conclusions. 7
1.4 Feasibility Analysis. 7
1.4.1 economic feasibility. 7
1.4.2 technical feasibility. 8
1.4.3 operational feasibility. 9
1.4.4 social feasibility. 9
1.5 Summary of chapter. 10
2 needs analysis. 11
2.1 The preliminary analysis of the system. 11
2.1.1 Analysis of user requirements. 11
2.1.2 The function of the system requirements analysis. 11
2.1.3 system reliability and availability needs analysis. 13
2.1.4 The system functions to be achieved. 13
2.2 Data Flow Analysis. 14
2.3 Data Dictionary. 15
2.4 The summary section. 15
3 overall design. 16
3.1 The system development. 16
3.1.1 system development principles. 16
3.1.2 the system design stage. 16
3.1.3 Structural design stage. 18
3.2 offensive and defensive strategy research. 19
Offensive Strategy 3.2.1. 19
3.2.2 Defensive Strategy Study. 22
3.3 Section summary. 22
4. Detailed design. 23
4.1 graphical system design. 23
4.1.1 players and the ball of displays. 23
4.1.2 stadium image display. 24
4.2 sound system design. 25
4.2.1 Course sound output. 25
4.3 rendering system design. 26
4.3.1 Image reduction of changes in pitch. 26
4.3.2 player animations. 27
4.4 The physical system design. 37
4.4.1 Gravity system. 37
4.4.2 collision avoidance. 38
4.5 AI system design. 39
4.5.1 player database information collection. 39
4.5.2 player learning system. 40
4.5.3 environment variable. 44
4.6 games of the Division needs to be improved. 44
4.7 Section summary. 45
5 games and Java gaming systems design environment features. 46
5.1 the game development environment and runtime environment. 46
5.2 Java game system is characterized and this made the game features. 46
5.2.1 Select Java game system causes. 46
5.2.2 The introduction to features of the game. 47
5.3 Section summary. 48
6 user''s guide. 49
6.1 System functions and user profile. 49
6.1.1 system functionality. 49
6.1.2 system running environmental profile. 49
6.2 System Operation and Operation Guide. 49
Conclusion. 50
Thanks. 51
References. 52
1.1.1 System Function
"Based on Java football game research and development" is an advantage of Java language programming of small game and hope it can be produced by the machine as a browser game.
Main function modules include: Image systems, sound systems, rendering systems, physical systems and artificial intelligence systems.
Through this game, players can observe the referee''s perspective to the virtual players to bring the wonderful extraordinary, dribbling, shooting, etc, and bring a visual and physical pleasure.
1.1.2 System Operation Environment Profile
(1) Platform: JVM virtual machine
(2) development tools: JBuilder2005
(3) Operating System: Windows95 or above