Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.
How do i deal a damage to the health bar? First my is a duck shooter game and i have a riffle, a bird and a duck.
When shoot at the bird it will show the shot sprite on the bird, and when it is shot at the bird the health bar will decrease by 1.
Since when searching the health bar only works for collision in my game it does not work, when i shoot at the bird i will only show shot sprite and did not decrease health.
FYI, i using the health behavior.