Dear all,
I am making a hp bar.
Generally the problem is: when the image change its shape, it change towards the center.
I have seen some tutorial before that decrease the hp bar by changing its width and move the x of it. (so it appears like the bar has decreased towards left.
But when I want to make the hp bar decrease gradually by transition.to, the problem appears.
Yes! ppl can see the hp bar has been moved as it decrease gradually @@
so I want to ask if there is any way to set the reference point of the image that make it change it width towards left, but not the center.
image:setReferencePoint(display.CenterLeftReferencePoint) does not work.
Thanks!