Good evening,
I understand that creating an imageRect allows the scaling of graphics associated with it to either scale to varying devices on demand, or to simply control the size of a graphic; Health bar etc.
My question concerns display.newSprite( ).
Are sprites “Dynamic” like imageRects, or do I need to create an imageRect, and then turn that imageRect into a sprite?
Or perhaps, as I contemplate this question, is the answer coming to me?
scaleX and scaleY
Are these properties a part of the sprite library, and do they achieve the same effects as the width and height of an imageRect?
Thank you for any assistance.
Chris