-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(player): implement player's health and healthbar #41
base: main
Are you sure you want to change the base?
Conversation
objects/actors/player/Player.gd
Outdated
healthbar.value = lifePoint | ||
|
||
if (lifePoint == 0): | ||
$AnimationPlayer.play("Death") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This animation only make the healthbar disappear no ? I don't see the AnimatedSprite disappear smoothly when this happen 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did I miss this, it's strange, I try to fix it ...
19d70f3
to
cdddc6a
Compare
cdddc6a
to
552536f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Closes #31
Add
life
and an healthbar for the playerlife
that decrease when hitScreenshots (if appropriate):
Enregistrement.de.l.ecran.2025-02-19.a.08.27.57.mov
Types of changes
Checklist: