資源描述:
《基于HTML5的Flappy Bird游戲——畢業(yè)論文》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、畢業(yè)設(shè)計中文題目基于HTML5的FlappyBird游戲英文題目FlappyBirdGameBasedonTheHTML5院系:計算機與信息工程學(xué)院年級專業(yè):軟件工程(金融服務(wù))姓名:學(xué)號:指導(dǎo)教師:職稱:年月摘要摘要基于HTML5的FlappyBird游戲是一款無需下載客戶端程序的網(wǎng)頁游戲,適合上班族和學(xué)生進行休閑娛樂。游戲主要通過鼠標(biāo)點擊控制小鳥成功穿越長短不同的管道所組成的障礙并獲取得分,考驗玩家的反應(yīng)能力和敏捷度。開發(fā)本款游戲使用到了前后臺技術(shù)。采用的框架是Phaser、struts2、Hibernat
2、e?;贖TML5標(biāo)準(zhǔn)標(biāo)記語言和JavaScript動態(tài)腳本語言,結(jié)合Ajax技術(shù)實現(xiàn)游戲界面和功能。其中,HTML5的眾多新增標(biāo)簽元素在開發(fā)過程中起到了舉足輕重的作用。所以本次課題的重點在于研究如何使用HTML5語言來開發(fā)這款網(wǎng)頁游戲。本次游戲開發(fā)基本成功實現(xiàn)了預(yù)期目標(biāo),游戲功能已基本完善。游戲共分為六個模塊,啟動加載模塊、菜單模塊、游戲開始模塊、游戲準(zhǔn)備模塊、游戲主界模塊和游戲結(jié)束模塊,界面簡潔美觀,游戲功能大致完成,實現(xiàn)了鼠標(biāo)和小鳥的交互行為、重力模型、小鳥穿越管道得分以及游戲過程中出現(xiàn)大量道具等豐富的游
3、戲功能。后期還希望通過問卷調(diào)查等方式采集玩家體驗的感受,使功能以及界面上更具有FlappyBird的獨立風(fēng)格。關(guān)鍵詞:HTML5;網(wǎng)頁游戲;FlappyBirdABSTRACTABSTRACTFlappyBirdgamebasedontheHTML5isawebgamethatdoesnotneedtodownloadtheclientprogramthatissuitableforofficeworkersandstudentsforleisureandentertainment.Thegameismainl
4、ythroughclickingthemousetocontrolthebirdsuccessfullypassthroughthebarriersofdifferentlengthofpipesandthengetscorestotesttheplayer'sreactionabilityandagility.Thedevelopmentofthisgameusestheforwardandbackwardtechnology.TheframeworkadoptedarePhaser,struts2,Hibe
5、rnate.ThegameisbasedontheHTML5standardmarkuplanguage,JavaScriptdynamicscriptinglanguageandcombineswithAjaxtechnologytoachievethegame’sinterfaceandfunction.Amongthem,thenumberofnewHTML5tagselementsplayedapivotalroleinthedevelopmentprocess.Sothefocusofthisproj
6、ectistostudyhowtousetheHTML5languagetodevelopthiswebgame.Thedevelopmentofthisgamesuccessfullyachievedtheexpectedgoals.Thegame’sfunctionshavebeenalmostcompleted.Thegameisdividedintosixmoduleswhicharelaunchmodule,menumodule,gamestartingmodule,gamepreparingmodu
7、le,themainmoduleandtheendmodule.Theinterfaceissimpleandbeautiful.Thefunctionsofthegamearesubstantiallycompleted.Theinteractivebehaviorofthemouseandthebird,thegravitymodel,thebirdpassthroughthepipestogetscores,alargenumberofpropsduringthegameandotherrichgamef
8、unctionsarerealized.ThelatterIalsohopetoadoptaquestionnairesurveyandotherwaystocapturethefeelingsofusers’experience,sothatthefunctionandtheinterfacehaveamoreindependentstyleofFlappyBird.KeyWords