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

正文內(nèi)容

基于android平臺的游戲設(shè)計—_—太空保衛(wèi)戰(zhàn)畢業(yè)論文(更新版)

2024-09-01 11:43上一頁面

下一頁面
  

【正文】 evelopment of an open source platform of intelligent mobile phone. With the advent of the Inter and working applications, obtained the academic and industry support, more and more creative application to the Android application, swept the whole of mobile phone industry. Recently with the rapid development of mobile phone, all kinds of mobile phone game emerge in an endless stream, so that we can have more entertainment projects, while shooting game is relatively fast pace, for game player through rapid response and games to interact, so as to test the sensitivity of game player and relaxed game player brain, mental and physical recreation is game player Space war is run in the Android on a scrolling action games, which incorporates many action games unique technology, and smooth picture, sound rock. Key words: Android application J2ME class Plane class EnemyPlane class Bullet 2 目 錄 一、引言 ??????????????????????? 3 (一) 課題背景 ???????????????????? 3 (二) 本課題研究的意義 ???????????????? 3 (三) 本課題的研究方法 ??????????????? 3 二、課題相關(guān)基礎(chǔ) ??????????????????? 4 (一) 游戲情節(jié) ??????????????????? 4 (二) 功能介紹 ???????????????????? 4 (三 ) 目標(biāo)平臺 ???????????????????? 7 三、設(shè)計 方案 ????????????????????? 8 (一) 游戲 的 架構(gòu) ???????? ????? ?????? 8 (二)游戲的框架簡介圖 ???????????????? 9 ( 三 )游戲界面基本框架及介紹 ????????????? 10 (四 ) 游戲總流程圖 ?????????????????? 11 (五) 游戲?qū)嶓w相關(guān)類的實現(xiàn) ?????????????? 11 飛機 Plane類的實現(xiàn) ???????????????? 11. 敵機 EnemyPlane類的實現(xiàn) ?? ?? ? ????????? 19 子彈 Bullet類的實現(xiàn) ? ??????????????? 24 四 、結(jié)論 ??????????????????????? 27 參考文獻 ? ?????????????????????? 28 3 正 文 一、引言 (一)課題背景 Android 是 Google 公司為首的 OHA 研發(fā)的一個開源智能手機平臺。 太空保衛(wèi)戰(zhàn)就是屬于飛行射擊類游戲,是 滾屏動 作類游戲的一種。 此游戲還融入了很多動作類游戲特有的技術(shù),使得畫面流暢、聲音震撼。 圖 6 游戲界面 如果玩家飛機堅持足夠的時間沒有爆炸的話,將看到關(guān)底。 幫助界面 HelpView:該類非常簡單,主要負責(zé)繪制幫助界面的相關(guān)圖片 。 敵機 EnenyPlane:該類 為敵機的封裝類。 當(dāng)歡迎動畫播放完畢后屏幕會停留在選擇狀態(tài)等待玩家操作。 ( 三 )游戲界面基本框架及介紹 圖 2 游戲界面基本框架 GameView 在初始化時會從 Maps 讀取當(dāng)前關(guān)卡的地圖信息,包括敵機、補血道具、換槍道具等。 import 。//飛機的類型 Bitmap bitmap1。 = y。 } } public void draw(Canvas canvas){ if(dir == ){//向上 (bitmap2, x, y,new Paint())。 (b)。 if(()){ ()。 } return false。 } public boolean contain(Life l){//檢測玩家飛機是否撞血塊 if(isContain(, , (), ())){//檢測成功 if(){ ++。 int height = 0。 xFlag = true。 }else { width = otherWidth。amp。 } public void setX(int x) { = x。 import 。//生命 int spanX = 10。 =target。 =path[1][start]。 int ySpan=(path[1][target]path[1][start])/path[2][start]。 Bullet b3 = new Bullet(x, y, 2, ,gameView)。 } } } private boolean isContain(int otherX, int otherY, int otherWidth, int otherHeight){//判斷兩個矩形是否碰撞 int xd = 0。//玩家飛機 y是否在前 if( = otherX){ xd = 。 yFlag = false。 23 } if(xd=xxamp。 //重疊區(qū)域高度 if(Dwidth*Dheight/(otherWidth*otherHeight)=){//重疊面積超 20%則判定為碰撞 return true。 (msg1)。 import 。//子彈的類型 Bitmap bitmap。 ()。 } 27 else if(dir == ){//向左移動 = moveSpan。 = + moveSp
點擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1