freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于vc的飛行模擬游戲的設(shè)計及實現(xiàn)畢業(yè)設(shè)計(doc畢業(yè)設(shè)計論文)(已修改)

2025-07-06 06:42 本頁面
 

【正文】 基于 VC 的飛行模擬游戲的設(shè)計及實現(xiàn)摘 要電子游戲的出現(xiàn)代表了一種全新娛樂方式的誕生。目前,電子游戲正以其獨特的魅力吸引著眾多的玩家。隨著游戲產(chǎn)業(yè)的蓬勃發(fā)展,越來越多的人加入到了游戲開發(fā)的行業(yè)。游戲開發(fā)涵蓋了程序設(shè)計、文學(xué)、歷史、音樂及美術(shù)等諸多方面的內(nèi)容,除去市場價值的意義,電子游戲的發(fā)展的必要性還在于對我國文化產(chǎn)業(yè)的發(fā)展的重要性,游戲作為一種特殊的創(chuàng)意文化產(chǎn)品形態(tài),是文化產(chǎn)業(yè)鏈中不可缺少的一環(huán)。設(shè)計在利用已有的開發(fā)包和已有的游戲框架的基礎(chǔ)上,采用 Microsoft Visual C++2022 為開發(fā)平臺,這些開發(fā)包和框架已經(jīng)完美地解決了游戲圖像和音效方面的問題,設(shè)計的主要工作就是向框架中添加自己所設(shè)計的類,用于實現(xiàn)設(shè)計所要實現(xiàn)的功能。在進(jìn)行類的設(shè)計時,運(yùn)用 C++所具有的繼承和派生功能,使很大一部分代碼能夠得到重用,從而實現(xiàn)多態(tài),同時,還要在父類中很好地引入虛函數(shù),為指針能夠指向子類的同名成員提供方便,然后利用開發(fā)包里的方法來實現(xiàn)游戲背景的顯示,最終得到一個在 Microsoft Visual C++2022 上運(yùn)行的飛行模擬游戲,同時在運(yùn)行時不會出現(xiàn)重大尤其是會令游戲崩潰的 BUG。關(guān)鍵詞:飛行模擬;多態(tài);代碼重用Design and realization of a flight simulation game based on VCAbstractThe appearance of puter game has represented the naissance of a totally new sort way of entertainment. At present, the puter game has attracted a great deal of players by its unique charm. Along with the game industry flourishing, more and more people has joined the profession of game development. Game development has covered many contents including programming, literature, history, music, arts ,etc. Eliminate the significance of market value, game develop is quite important to the culture evolution of our nation to be a special kind of creativity culture production. Game is indispensable to the chain of culture industry. The design based on the develop package and the game frame which already exist uses Microsoft Visual C++2022 to be the platform. These develop package and game frame has raveled out the problem which relate to image and sound effect perfectly. The main task of the design is to add classes that planed by oneself to the game frame, to actualize the function which the design have to realize. When we carry through the classes design, use the inherit and derive function, we need to enable a majority of code can be reused, aim to actualize polymorphism, at the same time. It is necessary to use virtual function in the baseclass, to make pointer can point to the member which has the same name in the subclass more convenience, afterwards, utilize the develop package to realize the demonstration of game background, finally obtain a flight simulation game which can run on Microsoft Visual C++2022, and there’s no seriously bugs especially that can make the game crash when running.Key words: flight simulation。 polymorphism。 code reuse目 錄 論文總頁數(shù):26 頁1 引言 ......................................................................1 課題背景 ..............................................................1 國內(nèi)外研究背景 ........................................................1 本課題研究的意義 ......................................................1 本課題研究的方法 ......................................................12 游戲軟件的現(xiàn)狀和 VC 的概況 .................................................1 中國游戲軟件的現(xiàn)狀 ....................................................1 C++簡介 ...............................................................2 MICROSOFT VISUAL C++簡介 .................................................3 利用 VISUAL C++開發(fā)游戲簡介 .............................................33 開發(fā)環(huán)境介紹 ..............................................................3 開發(fā)環(huán)境 ..............................................................3 關(guān)于 ALLEGRO............................................................44 游戲程序的開發(fā) ............................................................4 游戲的思路和構(gòu)想 ......................................................44.1.1 游戲想法的產(chǎn)生 ....................................................44.1.2 對游戲設(shè)計的初步認(rèn)識 ..............................................44.1.3 模塊成型階段 ......................................................4 程序的類結(jié)構(gòu) ..........................................................5 游戲的實現(xiàn) ............................................................54.3.1 主類 Level 的實現(xiàn) ..................................................54.3.2 Object 類的實現(xiàn) ...................................................114.3.3 Plane 類的實現(xiàn) ....................................................124.3.4 Player 類的實現(xiàn) ...................................................144.3.5 Enemy 類的實現(xiàn) ....................................................154.3.6 Bullet 類的實現(xiàn) ...................................................164.3.7 Prize 類的實現(xiàn) ....................................................175 程序設(shè)計過程中遇到的一些重要問題 .........................................18 關(guān)于碰撞的問題 .......................................................18 關(guān)于游戲畫面的問題 ...................................................21 關(guān)于玩家控制的問題 ...................................................23結(jié) 論 .....................................................................24參考文獻(xiàn) .....................................................................24致 謝 .....................................................................25聲 明 ..................................
點擊復(fù)制文檔內(nèi)容
范文總結(jié)相關(guān)推薦
文庫吧 www.dybbs8.com
公安備案圖鄂ICP備17016276號-1