Hello.
I'm having a little issue with the shape object.
I'm triying to make a lifebar, so the fillbar (a shape sprite) changes it's width depending on the life of the player.
It's very simple, but there is no setWidth property for sprite or shape.
How can I do this with gideros?
Thanks in advance!
Comments
How do I give an initial size to the shape?
sorry for the inconvenience, and thanks in advance!
best regards
Likes: Teranth, atilim
Likes: chipster123
As a small addition to your method, I would prefer using untransformed bounds as:
Likes: Ozkar619