Fight: Monster being able to hit us

Aperta
#342 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp, unity
Ambito
game-dev

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
C#
Stelle
33
Fork
1
Merge medio
1g 21h
PR unite (30g)
56

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Gothic-Unity-Project/Gothic-Unity

Tutte le issue di Gothic-Unity-Project/Gothic-Unity

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.