题名 |
一對多藍芽通訊的互動遊戲設計 |
DOI |
10.29428/9789860544169.201801.0091 |
作者 |
向韜鑫;林曉陽;廖逸韜;徐淩瀾;林羽靜;楊健貴 |
关键词 |
藍芽 ; 一對多通訊 ; 互動遊戲 ; Android app ; Unity3D ; Bluetooth ; one-to-many Communication ; Interactive Game ; Android App ; Unity3D |
期刊名称 |
NCS 2017 全國計算機會議 |
卷期/出版年月 |
2017(2018 / 01 / 01) |
页次 |
475 - 479 |
内容语文 |
繁體中文 |
中文摘要 |
隨著社會的快速發展,加快了通訊技術進步,各類無線技術,在社會的各個領域被廣泛的應用。本研究是針對藍牙技術與Unity 遊戲整合設計來實現一款趣味性的遊戲。Android 藍牙技術在許多領域有不少的應用,理論上藍牙可以實現一對七的通訊方式,在例往文獻也略有探討,但結合Unity製作虛實整合的趣味遊戲則是少見。所以本研究針對如何同時將兩支Android 手機端藍牙與PC 端藍牙的連接並能進行數據的傳輸。透過搖晃Android 手機,偵測手機的三軸加速度感測器,獲得手機搖晃次數,透過藍牙將搖晃次數傳給PC 端伺服器處理;在PC 端伺服器,以Unity3D 製作馬匹競賽的遊戲,透過PC 端的藍芽接收辨識是哪一方的搖晃次數進而控制遊戲中相對應馬匹的跑動。本研究實現一對多藍牙技術的傳輸;提出Unity3D做遊戲平臺實現虛實互動整合的趣味遊戲概念,完成遊戲伺服端演算法;發展手機端app,利用手機的加速度感測器參數值變化得以偵測遊戲者搖晃手機的次數作為馬匹競賽驅動的主因。實作結果證明本文所提方法的可行性與有效性。 |
英文摘要 |
A funny game is proposed by integration of Bluetooth technology, Unity platform and mobile devices. Android Bluetooth technology in many areas have a lot of applications, in theory, 1 to 7 communication channels can be conducted by Bluetooth technology, result in a little discussion in literature, but integrated with Unity Platform to produce a virtual reality funny game is rare. Therefore, this study focus how to connect and data transmit on both the two mobile-side Bluetooth and PC-side Bluetooth in order to drive the funny game on Unity platform. The horses race game are conducted by using the mobile phone acceleration sensor detection, the number of shaking times is sent to the PC server; the PC server will identify the number of shaking times is sent from which mobile-side and to control the corresponding running horse on the game. In this study, the theory of one to many of Bluetooth communication technology is applied; an integrated virtual reality Unity game and Android app is proposed; a server Unity platform is also implemented by using thread programming and windows API. A fine horse race game with multiple mobile phones shaking is implemented, the results of the test is shown the feasibility and effectiveness of the proposed system. |
主题分类 |
基礎與應用科學 >
資訊科學 |