基于嵌入式手机开发平台下的游戏软件的开发.doc

约67页DOC格式手机打开展开

基于嵌入式手机开发平台下的游戏软件的开发,目录67页6.2万余字摘要iabstractii第一章绪论11.1手机行业概述11.2手机游戏背景11.2.1手机游戏发展历程11.2.2国内手机游戏发展现状21.3手机游戏开发综述21.3.1手机游戏开发技术21.3.2手机游戏开发与传统游戏开发的区别31.3.3手机游戏的局限性41.3.4手机游戏发展前景6第二章开...
编号:45-19948大小:2.81M
分类: 论文>计算机论文

内容介绍

此文档由会员 lzj781219 发布

目 录
67页6.2万余字

摘 要 I
ABSTRACT II
第一章 绪论 1
1.1 手机行业概述 1
1.2 手机游戏背景 1
1.2.1 手机游戏发展历程 1
1.2.2 国内手机游戏发展现状 2
1.3 手机游戏开发综述 2
1.3.1 手机游戏开发技术 2
1.3.2 手机游戏开发与传统游戏开发的区别 3
1.3.3 手机游戏的局限性 4
1.3.4 手机游戏发展前景 6
第二章 开发环境及相关技术 7
2.1 开发环境 7
2.2 Windows CE .Net操作系统 7
2.2.1 Windows CE .Net系统简介 7
2.2.2 Windows CE .Net系统模型 8
2.2.3 Windows CE .Net多媒体技术 10
2.3 Platform Builder工具简介 11
2.3.1 Platform Builder主要开发特性 11
2.3.2 Platform Builder开发流程 12
2.4 Embedded Visual C++编程特点 12
2.5 开发中的注意事项 13
第三章 游戏思想及设计方案 15
3.1 方案的提出 15
3.2 游戏设计思想 15
3.2.1 确定游戏的主题 15
3.2.2 确定游戏的功能及性能 16
3.3 方案实施技术 17
3.3.1 使用DirectSound产生混音 17
3.3.2 WAVE声音文件的处理 19
3.3.3 动画处理技术 20
第四章 程序设计及具体实现 24
4.1 程序结构与流程 24
4.1.1 程序结构 24
4.1.2 程序的流程 25
4.2 游戏混音的实现 26
4.2.1 在内核中加入DirectSound特性 26
4.2.2 建立主缓冲区 28
4.2.3 解析WAVE声音文件 29
4.2.4 建立次缓冲区 32
4.2.5 加载声音文件 33
4.2.6 声音的播放和控制 34
4.3 游戏中各模块的实现 34
4.3.1 游戏的初始化 34
4.3.2 “小妖怪”的移动 35
4.3.3 “小妖怪”扔东西 35
4.3.4 食物下落 35
4.3.5 “小猪”移动 35
4.3.6 判断“小猪”吃食物 35
4.3.7 判断游戏是否结束 37
4.4 游戏控制处理 37
4.5 游戏运行结果 37
第五章 总结 39
5.1 工作总结 39
5.2 展望 39
结束语 40
参考文献 41
附 录 42







摘 要


游戏是手机多媒体时代最受欢迎,最有价值的应用。游戏是多媒体应用中集大成的业务,图像、音乐、互动都能在游戏中实现。
与传统PC机的游戏开发相比,手机的游戏开发将面临完全不同的环境:不同的CPU,不同的嵌入式操作系统,不同的API使用。作为众多嵌入式操作系统之一的Windows CE .Net,具有高度的模块化,支持多种CPU,而且Windows CE .Net为用户提供类似Windows的友好图形用户界面以及DirectX组件技术,极大的扩展了Windows CE .Net在的媒体娱乐方面的性能。
本论文着眼于Windows CE .Net平台上的手机应用,开发一个基于该平台的手机游戏程序——“抢食专家”。文章首先介绍了手机游戏的基本概念及行业背景。然后介绍了本游戏的开发环境配置及开发工具的使用,包括学习使用Platform Builer工具在Windows CE .Net下定制用户操作系统镜像,学习EVC中的MFC编程技术。接着介绍了游戏“抢食专家”的设计思想和具体功能的实现,对游戏中混音效果所涉及到的DirectSound技术,以及动画处理中的“分时”、“缓冲”技术作了初步探讨。最后给出了游戏中各模块的具体实现,游戏的运行结果和开发的经验总结。

关键词 手机游戏,Windows CE .Net,Platform Builder,EVC,MFC,DirectSound












ABSTRACT


Game is the most popular and valuable application in the mobile multimedia era. Game is an integration of multimedia application which contains image, music, and interaction.
Compared with the development of traditional PC game, the cell phone game faces a completely different environment, such as different CPU, embedded operating system and different application programming interface. Windows CE .Net as one of the embedded operating system, is a high combination of modules and is designed to support for multiple CPU, furthermore, the Windows CE .Net can provide user with friendly graphical user interface similar to Windows and the DirectX component technic. These characteristics expand the media entertainment properties of Windows CE .Net.
The paper focuses on the application of cell phone on the Windows CE .Net to develop a game program -" Killer ". First of all, the paper introduces the concept of cell phone game and its industry background. Secondly, it introduces the development environment configuration and the use of development tools. For example: making a custom OS mirror with the Plaform Builder, programming in the EVC tool with the MFC, etc. And then, it introduces the game’s design and its function realization, moreover, it discusses the DirectSound technic in the audio mixer and the “Time-Sharing”, “Buffer” technics in the cartoons. At last, it gives the realization process of the game including the test result and development experience.

KEY WORDS Cell Phone Game, Windows CE .Net, Platform Builder, EVC, MFC, DirectSound





参考文献


[1] 蔡学镛. 微软智能手机游戏开发经验谈[J]. 程序员,2004,(11):89~91
[2] Geoff Walker. Windows CE .Net[EB/OL]. http://www.pencomputing.com/frames/textblock_ce_net.html,2006.3.23
[3] 周毓林,宁杨,陆贵强,付林林. Windows CE.net内核定制及应用开发[M]. 北京:电子工业出版社,2005.2.
[4] Microsoft Corporation. Comparison of Windows CE .NET 4.2, Pocket PC 2002, and Windows Mobile 2003 Software for Pocket PCs[EB/OL]. http://msdn2.microsoft.com/en-us/library/ms836795.aspx,2003.7
[5] Paul Yao. Application Development Landscape for Windows CE .NET[EB/OL]. http://msdn2.microsoft.com/en-us/library/ms836431.aspx,2002.8
[6] 潘爱民. COM原理与应用[M]. 北京:清华大学出版社,2001.3.
[7] 姜波. Windows CE.Net程序设计[M]. 北京:机械工业出版社,2007.1.
[8] 张新房,吕跃刚. 使用Platform Builder配置Windows CE操作系统[J]. 单片机与嵌入式系统应用,2002,(7):57~58
[9] 汪兵. EVC高级编程及其应用开发[M]. 北京:中国水利水电出版社,2005.3
[10] 杨伟庆. 首届中国手机游戏市场调查报告[R]. 上海:艾瑞市场咨询有限公司,2004
[11] Douglas Boling. Programming Microsoft Windows CE .NET, Third Edition[M]. USA: Microsoft Press,2003.
[12] Douglas Boling. Windows CE程序设计[M]. 北京:北京大学出版社,1999.8.1
[13] 熊宇昆,邱智亮. Windows CE .Net内核定制[J]. 电子科技,2006,(9):60~62
[14] Microsoft. MSDN [CB]. http://msdn2.microsoft.com/en-us/library/default.aspx