So how do I do it? Ty
Develop games in your browser. Powerful, performant & highly capable.
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
and
scirra.com/forum/monster-problem-and-going-to-the-next-layout_topic55686.html
xD
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.
any capx example? thank you
health bar
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!