So I want to implement a simple health mechanic that when my monster comes in contact with the bullet from a gun it reduces its HP by 1 out of 10 for example. How would I go on doing that?
Develop games in your browser. Powerful, performant & highly capable.
Have you done the Ghost Shooter Tutorial? You can get to it from the start page. It has what you are looking for.