I am trying to understand how the “Origin” of Image Sprites works.
Can someone give a simple example.
please see the dpcumentation Drawing and Animation
OriginX
Horizontal unit coordinate of the origin with respect to left edge. Permitted values in [0, 1]. A value of 0.0 means the origin lies on the left edge, 0.5 means the origin lies in the middle and 1.0 means the origin is on the right edge.
OriginY
Vertical unit coordinate of the origin with respect to top edge. Permitted values in [0, 1]. A value of 0.0 means the origin lies on the top edge, 0.5 means the origin lies in the middle and 1.0 means the origin is on the bottom edge.
The origin refers to the point about which every event related to the sprite, like rotation, change in position etc., happens. This is the point that resides on the coordinates X, Y the user specifies as the position of the sprite.
see also Request for User Feedback on the Animation Improvements Project
Taifun
(added to FAQ)