So how do I do it? Ty
I have a sample here somewhere, let me find it (strange sounds behind the scene)..
Here it's: scirra.com/forum/make-a-power-bar-solved_topic55529_post346560.html
You can make the life doing a instance variable on the object, and then, when a condition is meet (like a punch overlapping the object), make it add -1 of life.
Sprite1: On collision with Sprite2 -> Subtract 1
Sprite overlapping the object will constantly subtract 1 every tick.
Develop games in your browser. Powerful, performant & highly capable.
any capx example? thank you
One way to do this.
Move blue square with mouse on green square to hurt him.
Awesome, now i have an idea. Thank you to TELLES0808 and shinkan!