#46097 - whodoo - Mon Jun 20, 2005 12:55 am
How is the rotationdata stored for a sprite? I know that a sprite uses 4 "attribute3"-variables to keep track of the rotation, but which ones?
What I mean is, is sprite0 always associated with the attribute3 in sprite 0,1,2,3, and sprite 4 is associated with attribute3 in sprite 4,5,6,7 (which mean that only sprite0, sprite4, sprite8, sprite12 ... can be rotated/scaled), or is every sprite just depending on the following 4 attribute3s? (which mean that sprite number 7 could use sprite 7,8,9,10's attribute3 to store rotation data), so I can make a arbitrary sprite rotate?
What I mean is, is sprite0 always associated with the attribute3 in sprite 0,1,2,3, and sprite 4 is associated with attribute3 in sprite 4,5,6,7 (which mean that only sprite0, sprite4, sprite8, sprite12 ... can be rotated/scaled), or is every sprite just depending on the following 4 attribute3s? (which mean that sprite number 7 could use sprite 7,8,9,10's attribute3 to store rotation data), so I can make a arbitrary sprite rotate?