1 / 44
文档名称:

毕业设计(论文)-基于GTK的Linux图形游戏开发―挖地雷.doc

格式:doc   页数:44
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

毕业设计(论文)-基于GTK的Linux图形游戏开发―挖地雷.doc

上传人:3346389411 2013/1/30 文件大小:0 KB

下载得到文件列表

毕业设计(论文)-基于GTK的Linux图形游戏开发―挖地雷.doc

文档介绍

文档介绍:基于GTK的Linux图形游戏开发―挖地雷
摘要:
随着经济及计算机多媒体技术的飞速发展,计算机游戏日益受到人们的亲睐,成为人们生活中重要的休闲娱乐方式。目前纷繁复杂的游戏软件,多由单机版游戏发展而来,学习简单的单机版游戏制作,有益于加深对游戏软件制作理念的理解,也将有益于今后参加更加复杂的项目。目前不论是在我国,还是在世界范围内,游戏产业都在蓬勃发展,越来越多更具娱乐性的游戏被开发出来,这其中游戏开发工具的发展进步功不可没。在众多的游戏开发工具中,GNU(图像处理程序)是基于Linux平台,能与Photoshop相媲美的图像处理软件;GTK(GIMP TooL Kit,GIMP工具包)最初是GIMP的专用开发库,后来发展为Linux下开发图形界面的应用程序的主流开发工具之一,备受开源软件开发者的瞩目,2002年3月11日,GTK+,开发者们自豪的宣称” GTK++,并且是GNU工程的一部分,GTK+,允许任何开发者使用(包括那些开发中的专利软件)+. 最初,GTK+ 是作为另一个著名的开放源码项目—— GNU Image Manipulation Program (GIMP) ——的副产品而创建的。在开发早期的 GIMP 版本时,Peter Mattis 和 Spencer Kimball 创建了 GTK(它代表 GIMP Toolkit),作为 Motif 工具包的替代,后者在那个时候不是免费的。(当这个工具包获得了面向对象特性和可扩展性之后,才在名称后面加上了一个加号。)
下面主要介绍怎样使用GTK编写基于Linux平台的图形游戏―挖地雷。游戏采用软件工程的方法,以GTK作为Linux操作系统应用程序开发工具,以MFC中对话框为程序基础,使用文本文件贮存相关数据,并使用C语言中的文本操作语句对文本文件进行相关操作。游戏程序采用多对话框结构,其中包括游戏界面对话框,登录对话框,充值对话框,以及提示对话框。
关键词: Linux; 挖地雷;GTK
Abstract: With the current economic puters the rapid development of multimedia technology, computer games have e an increasing people's pro-Lai, e important in the life of ponent. At present puter games, from more developed from stand-alone game, learning simple stand-alone version of the game production, computer games beneficial to deepen their understanding of the concept of the production of understanding, will also be beneficial to the future to participate in plex projects.
In this paper, how to use the GTK Linux-based platform for the preparation of the game graphics - digging mines. Game software engineering methods used to GTKas a system application development tools to MFC in the dialog as the basis of procedures, the use of text files stored data and use the C language in the text of the statement to the text documents related operations. Games using more dialog structure, including the game interface dialog, log dialog, top-up dialog, and suggested that the dialog.
Key words:Linux; digging mines;GTK
目录
第一章前言 4
第二章Linux平台与游