- 相關(guān)推薦
網(wǎng)絡(luò)游戲開(kāi)發(fā)設(shè)計(jì)VC++
畢業(yè)論文
目 錄
前言 1
1 網(wǎng)絡(luò)游戲開(kāi)發(fā)背景 2
1.1 網(wǎng)絡(luò)游戲的發(fā)展歷史 2
1.2 中國(guó)網(wǎng)絡(luò)游戲玩家游戲行為分析 2
1.3 網(wǎng)絡(luò)游戲玩家最喜歡的游戲類型 3
1.4 國(guó)內(nèi)市場(chǎng)占有率前15強(qiáng)網(wǎng)絡(luò)游戲 3
1.5 網(wǎng)絡(luò)游戲的意義 4
2 3D游戲程序設(shè)計(jì) 5
2.1 DirectX簡(jiǎn)介 5
2.2 3D數(shù)學(xué)知識(shí) 6
2.3 Direct3D基本原理 8
3 游戲架構(gòu) 11
3.1 容納程序的空間 11
3.2 刀鋒戰(zhàn)士框架 11
3.2.1 程序流程 11
3.2.2 刀鋒戰(zhàn)士類結(jié)構(gòu) 14
4 刀鋒戰(zhàn)士游戲引擎 16
4.1 游戲引擎 16
4.2 刀鋒戰(zhàn)士游戲引擎結(jié)構(gòu) 17
4.3 引擎中的3D渲染類 17
4.4 引擎中的網(wǎng)絡(luò)通信類 21
4.4.1 DirectPlay功能分析 21
4.4.2 CNetworkServer類方法 22
5 設(shè)計(jì)與實(shí)現(xiàn) 24
5.1 游戲開(kāi)發(fā)背景 24
5.2 功能設(shè)計(jì) 24
5.2.1 場(chǎng)景地圖 24
5.2.2 角色及視角 25
5.2.3 客戶端和服務(wù)器的通信 26
5.2.4 保持同步 26
5.2.5 服務(wù)端消息處理 29
5.3 游戲程序流程圖 29
5.4 功能實(shí)現(xiàn) 30
5.4.1 處理角色數(shù)據(jù) 30
5.4.2 消息接收 32
5.4.3 創(chuàng)建角色 32
5.4.4 刪除角色 34
5.4.5 改變角色狀態(tài) 34
6 結(jié)束語(yǔ) 36
參考文獻(xiàn)………………………………………………………………………………………….………37
致謝……………………………………………………………………………………….………………38
網(wǎng)絡(luò)游戲開(kāi)發(fā)設(shè)計(jì)
摘要:隨著電腦的日益普及,電腦游戲得到廣泛的推廣,對(duì)豐富人們的生活內(nèi)容、提供巨大的商機(jī)起著不可忽視的作用。本論文著眼于C++技術(shù)和DirectX SDK工具的應(yīng)用,開(kāi)發(fā)1款可商用的網(wǎng)絡(luò)游戲程序——刀鋒戰(zhàn)士。本游戲畫面細(xì)致逼真、人物動(dòng)作流暢自如、操作簡(jiǎn)單上手,適用于各種網(wǎng)絡(luò)對(duì)戰(zhàn)平臺(tái)。本論文介紹了Visual C++技術(shù)的使用、DirectX SDK的相關(guān)技術(shù)及本程序的結(jié)構(gòu)分析和具體功能的實(shí)現(xiàn)。通過(guò)對(duì)網(wǎng)絡(luò)游戲——刀鋒戰(zhàn)士的結(jié)構(gòu)模塊分析,3D場(chǎng)景實(shí)現(xiàn)和功能設(shè)計(jì)的介紹。簡(jiǎn)單的闡述了現(xiàn)在普遍的游戲編程技巧和工具,以及聯(lián)網(wǎng)游戲的設(shè)計(jì)原理。本游戲開(kāi)發(fā)完全按照軟件開(kāi)發(fā)思想設(shè)計(jì),便于深入了解網(wǎng)絡(luò)游戲制作過(guò)程。同時(shí)調(diào)查了現(xiàn)在國(guó)內(nèi)各種網(wǎng)絡(luò)游戲的現(xiàn)狀以及發(fā)展趨勢(shì),為欲從事網(wǎng)游設(shè)計(jì)的朋友提供1點(diǎn)參考。
關(guān)鍵詞:Visual C++;電腦游戲;DirectX SDK;刀鋒戰(zhàn)士
The design of the network game
Abstract: Along with the daily popularization of computer, the computer game obtains the widespread promotion. It plays the noticeable role in peoples life and provides huge opportunities. The present paper focuses on the technology of Visual C++ and the application of the tool of DirectX SDK so as to develop one section of the commercial network game procedure to be possible which name is knife point soldier. The picture of the game is careful lifelike, the characters act smoothly and freely, the operation is simple.The game is suitable in each kind of network platform. The present paper introduced the use of the technology of Visual C++, the related technology to DirectX SDK, the structure analysis of the procedure and the realization of concrete function. Through structure analysis on the network game knife point soldier, realization of 3D scene and introduction to functional design, the paper elaborates universal skills and tools in programming games, as well as the principles of designing networking game. This game defers to the design of software development thought completely what is advantageous for understanding the manufacturing the process of network game. Simultaneously the paper investigated the situation of domestic each kind of network game, as well as the trend of development to provide a reference for those who want to be engaged in the net to swim the design.
Key word: Visual C++, computer game, DirectX SDK, knife point soldier
前言
網(wǎng)絡(luò)游戲成績(jī)斐然,成為IT產(chǎn)業(yè)中增長(zhǎng)最快的部分之1。.縱觀IT產(chǎn)業(yè)的歷史,計(jì)算機(jī)游戲已經(jīng)成為技術(shù)創(chuàng)新背后的動(dòng)者渴望更加強(qiáng)大的硬件計(jì)算能力;渴望不受不同的軟件的限制。無(wú)論是將圖形強(qiáng)制在人工智能(AI)上 還是網(wǎng)絡(luò)安全性。游戲開(kāi)發(fā)者和玩家常常是前沿計(jì)算機(jī)技術(shù)的最早的采用者。由于他們的創(chuàng)新天性,游戲不再是由大型采購(gòu)公司控制的技術(shù)產(chǎn)品。游戲領(lǐng)域總是有充足的空間給那此在這方面有天分的單個(gè)創(chuàng)新者。隨著技術(shù)對(duì)游戲經(jīng)驗(yàn)的促進(jìn),游戲市場(chǎng)持續(xù)增長(zhǎng)。商業(yè)IT革命為我們節(jié)省了時(shí)間力之1。計(jì)算機(jī)游戲和金錢,從而提高了我們的工作水平,我們因此花費(fèi)更多的時(shí)間和金錢在游戲上,來(lái)改善生活的整體質(zhì)量。甚至在當(dāng)今困難的經(jīng)濟(jì)時(shí)代,游戲仍保持快速增長(zhǎng),他仍然是盈利行業(yè)的組成部分。游戲開(kāi)發(fā)者應(yīng)該注意到這里蘊(yùn)藏著的巨大的商機(jī)。
【網(wǎng)絡(luò)游戲開(kāi)發(fā)設(shè)計(jì)VC++】相關(guān)文章:
游戲軟件開(kāi)發(fā)VC++07-25
網(wǎng)絡(luò)智能游戲的設(shè)計(jì)與實(shí)現(xiàn)VC++09-15
VC++實(shí)現(xiàn)串口通信的應(yīng)用程序設(shè)計(jì)10-25
圖形文件的類型轉(zhuǎn)換VC++06-15
短信網(wǎng)關(guān)開(kāi)發(fā)設(shè)計(jì)09-07
VC++編程在步進(jìn)電機(jī)控制中的應(yīng)用08-08
游戲開(kāi)發(fā)設(shè)計(jì)論文開(kāi)題報(bào)告06-07
網(wǎng)絡(luò)教學(xué)系統(tǒng)的設(shè)計(jì)與開(kāi)發(fā)10-04