Fight: Monster being able to hit us

オープン
#342 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp, unity
領域
game-dev

調査の方向性

Start by locating the monster attack animation data and the runtime fight and attack handling; the issue does not name files or tests. The work spans hit detection, player damage feedback, combo interruption, and death behavior. Done means active attack windows can hit the player and the listed hit and death responses work.

索引モデルが issue の本文から書いたものです。

説明

feature

Description

Currently we have no detected hitbox which means we will win every fight eventually. ;-) Let's change that.

TODOs

  • Implement hero health bar at bottom of view next to air bar
  • Attack animations define Hit_Limb, Attack_Window, etc. We need to store it somewhere in e.g., Props or PrefabProps and collect its information at runtime when the "hit" with our hero is processed.
    • If monster is using its fists - Coll detection with monster collider and FightMode and current attack window
      • Activate Collider named in HIT_LIMB when attack window is active
      • Deactivate immediately if Attack window changes or the attack - which activated the HIT_LIMBs - is stopped
    • If monster is using weapon - Coll detection with weapon collider and FightMode and current attack window
    • Reset these values if Attack is stopped (where to do centrally? When monster is hit, yes, but can also happen when monster is falling down etc. Maybe simply when Attack() is stopped (finished or deleted from queue).
  • Visual Player hit
    • Fetch event to substract VRPlayer's health bar
    • When hit, darken vignette around us for a second to symbolize: Hit
    • Play sound of "Aargh"
    • Stop player combo immediately (at VRWeaponDomain or so) and Reset()
    • Fetch event like in FightService (then: VRPlayerService or so...) and check if dead
  • When dead
    • Darken sight totally - Grey filter etc.
    • Disable player motion (only rotation allowed)
    • Play dead sound
主要言語
C#
スター
33
フォーク
1
平均マージ
1日 21時間
マージ済み PR(30日)
56

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Gothic-Unity-Project/Gothic-Unity のほかの issue

Gothic-Unity-Project/Gothic-Unity の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。