基于GTK图形游戏开发.doc

  1. 1、本文档共44页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于GTK图形游戏开发

基于GTK的inux图形游戏开发―挖地雷 ” GTK+2.0标志着自由软件领域的图形界面开发工具走向成熟.GTK+2.0是自由软件,并且是GNU工程的一部分,GTK+2.0的许可协议LGPL,允许任何开发者使用(包括那些开发中的专利软件)且不收任何费用.GTK+2.0是当今唯一百分之百零付费的工业级的图形界面开发工具. 最初,GTK+ 是作为另一个著名的开放源码项目 —— GNU Image Manipulation Program (GIMP) —— 的副产品而创建的。在开发早期的 GIMP 版本时,Peter Mattis 和 Spencer Kimball 创建了 GTK(它代表 GIMP Toolkit),作为 Motif 工具包的替代,后者在那个时候不是免费的。(当这个工具包获得了面向对象特性和可扩展性之后,才在名称后面加上了一个加号。) ―挖地雷Abstract: With the current economic and computers the rapid development of multimedia technology, computer games have become an increasing peoples pro-Lai, become important in the life of the component. At present the complicated computer 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 more complex 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平台与游戏开发 8 2.1 Linux的优缺点 10 2.2 游戏厂家看好Linux 11 2.3 Linux是游戏发展的一次机遇 13 第三章 相关介绍和准备工作 16 3.1 开发环境及运行环境 16 3.1.1 开发环境 16 3.1.2 运行环境 16 3.2计算机图形学方面的知识 16 3.2.1基本的C作图方法及主循环控制模块 16 3.2.2图形模式下的文本输出 17 第四章 Linux环境下的程序开发 18 3.1 Linux下C语言程序开发 23 3.2 Linux下GUI应用程序的开发 23 3.3 用My SQL和GTK+开发数据库及其关键技术 25 3.3.1 开发的可行性 25 3.3.2 GTK+和My SQL开发过程中的问题 26 3.4 小结 27 第四章C语言扫雷游戏的实现 28 4.1程序的设计和分析 28 4.2程序的流程图 29 4.3功能简介 29 4.4 游戏运行截图 31 4.4 本章小结 31 总 结 32 参考文献 34 致 谢 35 附录 36 第一章 前 言 随着经济及计算机多媒体技术的飞速发展,计算机游戏日益受到人们的亲睐,成为人们生活中重要的

文档评论(0)

3471161553 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档