簡易檢索 / 詳目顯示

研究生: 陳文福
Wen-Fu Chen
論文名稱: 手機3D藍芽連線遊戲系統之研究
The Study of Cell Phone Games with 3D Graphics and Bluetooth
指導教授: 吳忠霖
John-Ling Wu
口試委員: 莊華益
Hua-Yi Chuang
薛文証
Wen-Jeng Hsueh
學位類別: 碩士
Master
系所名稱: 工程學院 - 機械工程系
Department of Mechanical Engineering
論文出版年: 2005
畢業學年度: 93
語文別: 中文
論文頁數: 160
中文關鍵詞: 轉檔器點矩陣藍芽
外文關鍵詞: M3G, J2ME
相關次數: 點閱:89下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 目前市面上的手機遊戲真是琳瑯滿目,吾人以研究之角度下去開發手機遊戲,想當然爾必須要走在技術的前端,因此本研究一開始就加入了台灣手機遊戲少有的藍芽功能,後來更加入了3D繪圖的功能,所以吾人就想以『轟炸超人』遊戲系統來表現藍芽功能,以『衝向終點BT』遊戲系統來表現3D繪圖功能。
    本研究使用物件導向之Java語言,來設計及實作一個手機3D藍芽連線遊戲系統之架構。整個系統使用Sun Java Studio Mobility 6 2004Q3這套IDE來開發程式,但它內建之模擬器不支援Mobile 3D Graphics API,所以另外安裝J2ME Wireless Toolkit 2.2來當模擬器,最後再把程式傳至兩隻手機測試藍芽功能,至於3D繪圖部分直接在模擬器上測試。
    本研究主要使用J2ME之MIDP2.0、Mobile Media API、Bluetooth API、Mobile 3D Graphics API來撰寫程式,玩家可藉由手機之按鍵輸入來操作角色。『轟炸超人』可以透過藍芽連線與另一端之玩家進行連線對戰,經由『衝向終點BT』的畫面可以欣賞到3D畫面。


    The cell-phone game on the market is really a feast for the eyes at present, we goes down to develop the cell-phone game with the angle studying, must walk to assume it as a matter of course on the front of technology, so this research has joined the rare bluetooth function of the Taiwan cell-phone game at the beginning, having entered the function of 3D drawing further later, so we wanted by " Super BOMBERMAN " the game system displayed the bluetooth function, with " cross the finish line BT " game system is it display 3D drawing function to come ".
    This research uses Java of object oriented language, structure that design and making a cell-phone 3D bluetooth connection game system in fact comes. The whole system uses Sun Java Studio Mobility 6 2004Q3 this set of IDE to develop the procedure , but simulator that it not to support Mobile 3D Graphics API , so other installation J2ME Wireless Toolkit 2.2 comes to act as the simulator, two cell-phones test the bluetooth function to reach the procedure afterwards , test on the simulator directly as for 3D drawing part.
    This research uses MIDP2.0 , Mobile Media API , Bluetooth API , Mobile 3D Graphics API of J2ME to write the procedure mainly, the player can be with keying in operating roles of the cell-phone . " Super BOMBERMAN " can carry on the connection and fight through bluetooth connection and player in another end , can appreciate 3D picture via picture that " cross the finish line BT ".

    中文摘要----------------------------------------------------Ⅰ ABSTRACT-------------------------------------------------Ⅱ 誌謝--------------------------------------------------------Ⅲ 目錄--------------------------------------------------------Ⅳ 圖表索引----------------------------------------------------Ⅶ 第一章 緒論--------------------------------------------1 1.1 研究背景----------------------------------------1 1.2 研究動機----------------------------------------2 1.3 研究目的----------------------------------------2 1.4 研究範圍與限制----------------------------------3 1.5 開發環境與模擬器架設----------------------------4 1.6 研究流程----------------------------------------5 1.7 論文架構----------------------------------------6 第二章 手機藍芽模組的建構------------------------------7 2.1 藍芽簡介----------------------------------------7 2.2 手機、PDA、PC之藍芽連線-----------------------8 2.2.1 手機與手機藍芽連線------------------------------8 2.2.2 PDA與PDA藍芽連線----------------------------10 2.2.3 PC與PC藍芽連線-------------------------------11 2.2.4 手機、PDA與PC跨平台藍芽無線網路連線---------13 2.3 藍芽連線之程式設計-----------------------------14 2.3.1 設備搜詢---------------------------------------14 2.3.2 名字發現---------------------------------------15 2.3.3 服務發現---------------------------------------16 2.3.4 RFCOMM連接----------------------------------17 2.3.5 L2CAP連接-------------------------------------17 2.4 藍芽聊天範例解構說明---------------------------18 2.4.1 藍芽網路建立-----------------------------------19 2.4.2 傳送封包---------------------------------------35 2.4.3 接受封包---------------------------------------37 2.4.4 螢幕畫面顯示-----------------------------------38 第三章 手機藍芽模組的遊戲開發實例---------------------45 3.1 遊戲系統之企劃---------------------------------45 3.1.1 系統環境需求-----------------------------------45 3.1.2 遊戲系統之介紹---------------------------------45 3.2 實際遊戲範例-----------------------------------49 3.2.1 主選單介面之程式設計---------------------------49 3.2.2 遊戲連線流程說明-------------------------------52 3.2.3 炸彈人之碰撞偵測程式設計-----------------------57 3.2.4 場景之程式設計---------------------------------61 3.2.5 道具之程式設計---------------------------------62 3.2.6 背景音樂程式設計-------------------------------70 3.2.7 炸彈爆炸程式設計-------------------------------70 3.2.8 遊戲同步性的程式設計---------------------------81 3.2.9 遊戲結束之程式設計-----------------------------83 第四章 手機3D模組的建構------------------------------86 4.1 M3G簡介--------------------------------------86 4.2 點矩陣創建3D模型-----------------------------87 4.3 轉檔器載入3D模型-----------------------------93 4.4 M3G範例解構說明------------------------------98 4.4.1 點矩陣繪圖範例---------------------------------98 4.4.2 轉檔器繪圖範例--------------------------------102 第五章 手機3D模組的遊戲開發實例---------------------107 5.1 遊戲系統之企劃--------------------------------107 5.1.1 系統環境需求----------------------------------107 5.1.2 遊戲系統之介紹--------------------------------107 5.2 實際遊戲範例----------------------------------115 5.2.1 主選單介面之程式設計--------------------------115 5.2.2 動態選單介面之程式設計------------------------120 5.2.3 飛行器之程式設計------------------------------123 5.2.4 航道之程式設計--------------------------------127 5.2.5 障礙物之程式設計------------------------------130 5.2.6 道具之程式設計--------------------------------132 5.2.7 遊戲背景音樂程式設計--------------------------139 5.2.8 單圈最快紀錄程式設計--------------------------140 第六章 結論與未來展望--------------------------------141 6.1 結論------------------------------------------141 6.2 未來研究方向----------------------------------142 參考文獻---------------------------------------------------143 附 錄---------------------------------------------------146 作者簡介---------------------------------------------------147

    1.單長虹,與3G技術相伴而生 智慧手機步入高速發展期,http://big5.xinhuanet.com/gate/big5/news.xinhuanet.com/fortune/2004-11/24/content_2254504.htm,2004年11月24日。
    2.微型爪哇人,Java遊戲開發基礎,http://www.j2mer.idv.tw/modules/news/article.php?storyid=187,2003年10月。
    3.小賢,賭上 Java 的男人~手機遊戲迷 takeo 的研發之路,http://gnn.gamer.com.tw/8/18048.html,2004年12月9日。
    4.Ben Hui,First Encounter with 3D Studio MAX version 7 and M3G exporter,http://benhui.net/modules.php?name=Mobile3D&page=First-Encounter-3DStudio-Exporter.html,Oct 2004.
    5.王森,Java手機程式設計入門,知城數位科技股份有限公司,第一章、第九章、第十一章、第十二章,2001年08月25日。
    6.吳明木,無線傳輸的利器--藍芽(Bluetooth),http://www.fbs.com.tw/docs.old/RD/e5/05/03.htm,2000年6月15日。
    7.黃俊諴、陳文福,打造無限夢想行動家-2004通訊大賽 產品規格書,第7~9頁,2004年7月。
    8.FORUM NOKIA,Introduction To Developing Networked MIDlets Using Bluetooth,pp.11~13,May 2004.
    9.HUDSON SOFT,Super BOMBMAN,http://www.hudson.co.jp/mobile/vodafone/iapp/sp_bomb.html,2004年6月。
    10.Keep Talking UK,The Phone Gallery-Nokia 6600,
    http://www.keep-talking.net/index.htm?gallery/nokia/nokia_6600.htm~mainFrame,
    11.asklxf,J2ME 3D技術簡介,http://www.j2medev.com/Article/ShowArticle.asp?ArticleID=203,2005年3月4日。
    12.Superscape,Demo3D,http://java.sun.com/products/j2mewtoolkit/download-2_2.html,2004年。
    13.數碼細胞,彈水阿給,http://bnb.digicell.com.tw/,2004年。
    14.王森,Game API入門(上),RUN!PC 120期,pp.188~195,2004年1月。
    15.王森,Game API入門(下),RUN!PC 121期,pp.192~197,2004年2月。
    16.王森,Game API進階(上),RUN!PC 122期,pp.187~190,2004年3月。
    17.王森,Game API進階(中),RUN!PC 123期,pp.203~207,2004年4月。
    18.王森,Game API進階(下),RUN!PC 124期,pp.235~241,2004年5月。
    19.趙爵聘,即時戰略連線遊戲基礎架構之研究,國立台灣科技大學機械工程系碩士論文,pp.i~iii,2004年6月。
    20.Paul Tremblett著/王人傑,賴俊安譯,開發無線Java應用程式:使用J2ME,麥格羅希爾,2002年。
    21.易文韜、陳穎平、林士騏著,JAVA 2程式設計,旗標,2001年。
    22.Kazuya Takahashi等合著/柯志杰譯,Java 2 500個應用技巧大全集,博碩文化,第一章、第二章,2002年。
    23.Herbert Schildt, Joe O'Neil著/葉涼川譯,Java 2完全程式設計手冊,麥格羅希爾,,2000年8月。

    無法下載圖示 全文公開日期 本全文未授權公開 (校內網路)
    全文公開日期 本全文未授權公開 (校外網路)
    全文公開日期 本全文未授權公開 (國家圖書館:臺灣博碩士論文系統)
    QR CODE