Anna Huang
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # 多媒體專題 [toc] ## 主題 temple Run - 動作 - 上跳 - 跳 - 下滑 - 蹲 - 左轉 - 右轉 - 靠右走 - 靠左走 - 分工 - Kinect串進來(3)(台北優) - calee - 動作進遊戲 - 遊戲動作 + GUI(5) - Chu - YU - 怡涵 - 昶勳 - 建模(人物、場景、小物件)(3) - Alston - https://www.models-resource.com/mobile/templerun/?source=genre - https://www.textures-resource.com/mobile/templerun2/ - 欣童 - 安娜 - 盯進度(11) - 全員 - 日程(假設6/17 DEMO) - 5/13 - K組讀讀看Kinect - 動作組參考K組結果 - 建模組跟GUI組討論如何呈現 - 5/20 - 完成1/3 - 5/27(期末週??) - 6/3 - 6/10 DEMO ## 建立環境 > 安裝這些 - VS2019 - 安裝時要勾 .NET & Unity - ![](https://i.imgur.com/E8y1tUE.png) - Kinect SDK - https://www.microsoft.com/en-us/download/details.aspx?id=44561 - unity - https://unity.com/download - 版本 2021.3.2f1 - git - git lfs - github desktop - optional - 給不想用 cli 的人 > git 的部分 1. fork 一份 repo 到你自己的帳號 - https://github.com/CA-Lee/temple-jog 2. 用 git 把自己帳號下的那份 temple-jog clone 下來 - 第一次會比較久 3. 用 unity hub 開啟 - 系統會自動產生一些檔案不用理他 4. 開始前先到Asset store[人物模型](https://assetstore.unity.com/packages/3d/characters/humanoids/character-pack-free-sample-79870)下載,Window -> Package Manager -> import ![](https://i.imgur.com/JC1qwYQ.png) 1. 在Assets/Supercyan Character Pack Free Sample/Scenes中的DemoScene雙擊 ![](https://i.imgur.com/0DA3qUm.png) 2. 再開始做,==前面的會被覆蓋掉喔==(如果已經開始做了一些,看第7點把東西打包進來) 3. 資源可以從asset store下載資源,依照個人興趣或DC的都可 5. 可能有人人物不能動或都是粉色的,詳細到下面建模說明 6. 改改改寫寫寫 7. 打包成unitypackage - 在Hierarchy右鍵建一個空的物品(Create Empty),把你做的都放進去 -> 命名後拖移至Assets - 右鍵他export package - (補)之後在其他專案可以在Asset import Package直接開啟匯入![](https://i.imgur.com/MiGEfOR.png) - 到Assets中查看,大概長這樣![](https://i.imgur.com/gmgY25S.png),拉進去畫面就可以了 9. 用 git commit 10. 用 git push 11. 完成 12. 有問題到 DC 問 @CA-Lee ## 動作(人物模型) - https://assetstore.unity.com/packages/3d/characters/humanoids/character-pack-free-sample-79870 - 人物要加rigid body, box collider - https://assetstore.unity.com/packages/3d/characters/humanoids/fantasy/character-pack-zombie-sample-131604 ## 建模 - floor - Material - Floor 1 - Size - X:3 Z:3 Y:0.1 - 位置用輸入數值的比較不會有重疊的問題(主要是道路會有閃的問題) - 要有一些路障 - 範例![](https://i.imgur.com/Gm74uGL.png =300x) - 可能遇到的問題 - 人物不能動 (You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings.) - Edit - project setting - player - active input handling - both - ![](https://i.imgur.com/ULGVHR5.png =500x) - 素材都是粉紅色的 - project setting - graphic - none - (但其他內建就會變成粉紅色QQ) - 改完再新增就正常了 - ![](https://i.imgur.com/ivraFRO.png =500x) - 如果會穿模/要在路兩邊放空氣牆 - 在該物件下加一個empty -> add component(box collider)空氣牆 ## 2022/5/20 ## 建模 - 道路要打包 - 小路障(ex:樹根...) - 不能超過2/3 - 大路障(ex:石塊...) - 高度:(?) - 地圖預建 - 地圖張數:(?) ## 人物操作 - 道路 - 左 - chasing 目標靠左 - chasing 目標在直線左轉 - 中 - 彎道轉彎 - 起始點 - 右 - chasing 目標靠右 - chasing 目標在直線右轉 - 撞牆 - 是否有一次機會 - 人物在前跑時起跳會有BUG - 分數 - 1 movespeed 1 point - 人物不加速 - 怪物 - 追著人跑 - 對障礙物hitbox關掉? ## Kinect - 徵人!!! - 台北佳 - 不限男女 - IB 12F - ![](https://i.imgur.com/XbTZgfI.png ) - 轉接器還在路上!!! - 更: 轉接器已取得 (1/1) ## 2022-05-22 ## Kinect - 動作 - 跳 - 跳 - 靠左/右 - 站到場地側邊 - 左右轉 - 握拳橫揮 - 起始畫面 - 右手當滑鼠 - 握拳當點擊 ## GUI - 起始畫面 - 分數 - 左右轉固定道路 - 轉彎後固定於三條路 - zombie 追人(判定轉彎) ## 建模 - 完整地圖 - 障礙物碰撞 - 設定layer(障礙物與zombie) - ## 遊戲流程 ```mermaid flowchart TD correction["校正"] lobby["開始頁面"] subgraph maingame["遊戲"] q end gameover["結束畫面"] correction --> lobby --> gameover ```

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully