bsoc-bitbyte / 2D-Platformer

0 stars 9 forks source link

Create a health system for player and enemy. #11

Open ChaudharyRaman opened 1 year ago

ChaudharyRaman commented 1 year ago

Is your feature request related to a problem? Please describe.

We need health system for our player and enemies.

Describe the solution you'd like

implement a proper health scripts for player and enemy, use interface (like livingEntity) and inherit it in both player and enemy. Create a method that when ever enemy is hit by player sword, to decrease the health by certain amount, vice-versa for player.

Describe alternatives you've considered

No response

Developer Help

No response

CoDIngDEMon018 commented 1 year ago

@ChaudharyRaman , I would like to learn more about unity and 2d game creation and thus like to work and learn on how to create health bar for enemy player and as well as our hero, so please assign this task to me.