I need to be able to draw only part of an image for a health bar. Is there anyway to set the source width/height drawn?
Thanks for reading.
Have a look at tiledbackground - I have an example somewhere which I will post when I find it
Develop games in your browser. Powerful, performant & highly capable.
found some examples - 2 using tiled background and one just altering the width(health bars)