okay, I suggest you to crop a hearth and use a TiledBackground.
Let's say you will use a 25px by 25px hearth(2 transparent px on each side in order to establish a margin) and your player will strat with 3 lifes.
so you will set the bar: width = 25 * [number of lifes]