SlideShare a Scribd company logo
1 of 19
大綱
• 研究動機與目的
• 系統分析與設計
• 研發工具介紹
• 系統功能介紹
• 成果
• 心得與討論
• 未來研究方向
研究動機與目的
 動機
 • 網路對於世界的巨大影響力
 • 對於遊戲的熱情
 目的
 • 完成一個能獨立運行的遊戲
 • 完整的網路功能,能讓兩台電腦連線對戰
 • 收錄很多音樂,能盡情的玩
系統分析與設計
• 遊戲的主要流程
• 分成單人模式跟多人模式            初始化選單


                選擇多人模式
                           選擇
                          遊戲模式
            與其他玩家
             連線配對            選擇單人模式

                         選擇歌曲
                         開始遊戲

                         遊戲結束並
                          顯示成績
• 多人模式的連線過程
• 分為【等待其他玩家加入遊戲】和【加入一位玩家的遊戲】
• 透過UDP/IP來連線
                    選擇加入一場遊戲     選擇
                                連線方法
                                  選擇等待別人加入

                               等待其他玩家
                    送出連線訊息
                               的連線訊息
                否                       否
                                是否有連
                    等待回應
                                線訊息

                      是            是
                                 是否
                                接受連線    否
                                   是
                               送出連線訊息

                                進入遊戲
系統分析與設計
 • 遊戲設計-畫面設計   表達節奏的符號
               在紅色的箭頭經過時要按下對應的按鍵



引導遊戲流程的紅色箭頭
會不斷的從左到右飄動
並走到下一行
玩家要在他經過符號時
按下對應的按鈕
來取得分數
 歌曲內容的表達
 • 使用文字檔來記錄歌曲的資料
 • 以秒為單位來記錄符號
 • 具有擴充性,能藉由增加文字檔來新增歌曲
 連線規劃
 • 採P2P的模式
 • UDP通訊協定
 • 兩台電腦只要有IP就能連線對戰
 • 對戰時,能即時的看到對方的畫面
 同步遊戲規劃
 • 讓兩台電腦能不受網路訊號的傳送時間影響,能同時開始遊戲



       PC1             PC1

       建立遊戲
                       建立遊戲


       PC1會記下這
        段時間差

       等待時間差


                       收到訊息
  時間   開始遊戲             立刻
                       開始遊戲
研發工具介紹
• Windows
• Microsoft Visual C++
• Microsoft DirectX SDK
• Windows Sockets API
系統功能介紹
 單人模式
 • 直接選取歌曲就能進行遊戲
 • 以自己練習並挑戰高分為主
 多人模式
 • 可以選擇【等待別人加入】或者是【加入遊戲】的連線方法
 • 採競賽的方式,比賽誰的分數較高
成果
 主選單
  • 可以選擇單人或者多人的遊戲模式
  • 遊戲一打開的導覽畫面
 歌曲的選單
 • 歌曲的資料都是直接從遊戲下的Note目錄抓取
 • 可以直接放入新的歌曲,重新執行就可以看到並選擇
•   遊戲畫面
                     玩家的分數跟combo(連段數)
歌曲名稱




遊戲主畫面




             顯示對手的combo
             (網路模式才有)

             顯示對手的畫面
             (網路模式才有)
 多人連線的過程




  開啟連線       利用IP及UDP埠來加入
等待其他玩家加入      別的玩家的遊戲
開局者負責選歌




開始對戰
遊戲結束後,會統計遊戲結果,可以看到自己和對方的成績。
心得與討論
•     這次的專題製作包含了三個要素,分別是畫面、網路、與遊
    戲內容,每個地方都花了不少時間。
•     讓我最印象深刻的莫過於網路的部分,出現了很多沒辦法事
    先想到的問題,例如說兩個遊戲在開始時的不同步,讓遊戲出現
    一快一慢的情形,這對即時對戰的遊戲造成很大的傷害,而且這
    個問題主要是出在網路訊息的傳輸時間,原本以為可以容忍的這
    一小段時間,卻在最後成為了致命傷。
•     想要解決這樣的時間差讓遊戲同時開始,怎麼想都是很複雜
    的,所幸我最後想到一個好方法,就是來計算兩台電腦傳輸訊息
    的時間,讓兩邊能夠彼此配合,終於達到了目標。
未來研究方向
• 增加線上配對功能
• 線上分數排行榜
• 線上社群功能
• 更華麗的畫面
• 強化遊戲性
• 強化連線對戰時的互動
• 新增能自己作曲的小工具

More Related Content

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

遊戲 專題