Watch Mode Igolforeality PDF

Summary

This document details the Watch Mode Igolforeality project, specifically focusing on the game's aspects concerning courts, floor materials, scripts (e.g., GolfGameModeCtrl.cs), and handling events and instantiating objects. It also covers camera tracking, club distance data, particle systems, ball movement mechanics, and user interface elements. The summary focuses on various script components and their relationships within the virtual golf game environment.

Full Transcript

1. Courts: a. Court number 0 b. Court number 1 c. Court number 5 d. Court number 6 e. Court number 11 f. Court number 12 2. Floor Material: a. 界外 b. 沙坑 c. 水池 d. 果嶺 e. 短草 f. 長草 g. 球道 3. Scripts a. GolfGameModeCtrl.cs...

1. Courts: a. Court number 0 b. Court number 1 c. Court number 5 d. Court number 6 e. Court number 11 f. Court number 12 2. Floor Material: a. 界外 b. 沙坑 c. 水池 d. 果嶺 e. 短草 f. 長草 g. 球道 3. Scripts a. GolfGameModeCtrl.cs Responsible for subscribing events and being the center of the whole process to call other functions scripts. Also includes instantiating objects and digital models. 負責訂閱事件並成為整個流程的核心,以調用其他功能腳本。也包括實例化物 件和數位模型。 b. CameraManager.cs Responsible for camera tracking and change into different cameras based on the situation. 負責相機追蹤和根據情況切換不同的相機。 c. ClubDataManager.cs Responsible for providing the correct golf club’s distance for each turn. 負責為每個轉彎提供正確的高爾夫球桿距離。 d. ParticleSystemManager.cs Responsible for showing particle system 負責顯示粒子系統。 e. CameraPointGenerator.cs Responsible for generating 45 points around the current turn golf ball with 8 degrees different in each point. The points generated will be used in turning angle when the user presses the left/right button from the MQTT connection. 負責在當前轉彎高爾夫球周圍生成 45 個點,每個點之間相差 8 度。生成的點 將在使用者從 MQTT 連接按下左/右按鈕時用於轉向角度。 f. BallDataManager.cs Responsible for handling ball hit game states. It will receive the ball data from MQTT and give it to the correct ball to BallMovement.cs script for handling the ball hit. 負責處理球擊中遊戲狀態。它將從 MQTT 接收球數據並將其提供給 BallMovement.cs 腳本的正確球來處理球擊中。 g. InGamePlayerDataManager.cs Responsible for storing all the users data and also doing sorting player data after each turn and between courts. 負責存儲所有使用者數據,並在每個轉彎和場地之間進行玩家數據排序。 h. BallMovement.cs Each ball will have its own BallMovement.cs script. It determines the ball's speed, angles of launch and spin, and applies forces to the ball using Unity's physics engine. All of the ball movement will be affected by the floor’s physical material and the ball will recognize them by tag. 每個球都將有自己的 BallMovement.cs 腳本。它決定球的速度、發射和旋轉的 角度,並使用 Unity 的物理引擎對球施加力。所有球的運動都將受到地板物理 材料的影響,球將通過標籤識別它們。 i. GolfGameView.cs Responsible for moving the main UI, most of the function will be called depending on the events that are being listened to. 負責移動主要的 UI,大部分功能將根據正在被監聽的事件而被調用。 j. ReplayVideoView.cs Responsible for playing the user hitting the ball video. Video will be received from the local folder where the path is given by MQTT. 負責播放使用者擊球的影片。影片將從本地文件夾接收,路徑由 MQTT 提供。 k. EndGameView.cs Shows all the rankings after the player finishes all the courts. There will be a digital model of the first rank player displayed. 在玩家完成所有場地後顯示所有排名。將顯示第一名玩家的數位模型。 l. ScoreView.cs Shows all the scores after the player finishes each court. 在玩家完成每個場地後顯示所有分數。 m. ClubView.cs Shows the golf club that can be chosen. 顯示可以選擇的高爾夫球桿。 n. BetweenSceneView.cs Shows the current court number and par count. 顯示當前場地號碼和標準桿計數。 o. TutorialVideoView.cs For the first court it will play a short tutorial on how to play. 對於第一個場地,將播放關於如何玩的簡短教程。 p. VideoSouvenirView.cs Users will be able to see all the previous hit ball videos and record their digital model together with the video. Furthermore, users can upload the recorded video into the cloud and use QR code to open it on the phone. 用戶將能夠查看所有以前擊球的影片,並將他們的數位模型與影片一起錄製。 此外,用戶可以將錄製的影片上傳到雲端並使用 QR 碼在手機上打開它。 4. 摩擦力調整

Use Quizgecko on...
Browser
Browser