Create Game/[UE5] BLUEPRINT & C++

[UE5] 13 - Combat System #1

GameChoi 2022. 12. 9. 20:08

1. Actor Component Create 및 Actor Attach

     - hp, Maxhp

     - Functions

Actor Component

     - Attach Component

           - hp, Maxhp Settings

Attach Component
Settings

2. Widget Create and Component Create

     - Hp Bar Create

User Widget
Hp Bar

     - Hp Bar Component

           - Progress bar Settings

Progress bar

3. Attack Enemy

     - Apply Damage

           - 공격을 받은 적은 데미지와 공격한 적을 받음

Apply Damage

     - Event Any Damage Create

           - Apply Damage로 인해 공격 받은 적을 받아 데미지를 주고 공격자의 값을 받음

Any Damage

4. Death Enemy

     - Mixamo Animation Download

     - Animation

           - 애니메이션 블루프린트에서 Enemy를 받음

Animation Blueprint Enemy

     - State Machine Create

           - Locomotion Create & Add Dead Pose

Locomotion

     - 여러가지 Dead Animation 추가

Dead Animation

     - 피가 0이 될 경우 죽는 애니메이션 실행

Die Montage