Ang: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) No edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
In the [[player]] structure, '''''ang''''' is the current angle that the player is facing. In the [[sprite]] structure, ang serves the same purpose. Note that for players, the [[angle]] member of the sprite referenced by [[i]] is updated to reflect this value once per tic. 2048 corresponds to 360 degrees. | In the [[player]] structure, '''''ang''''' is the current angle that the player is facing. In the [[sprite]] structure, ang serves the same purpose. Note that for players, the [[angle]] member of the sprite referenced by [[i]] is updated to reflect this value once per tic. 2048 [[Build units]] corresponds to 360 degrees. | ||
[[Category:Player structure members]] | [[Category:Player structure members]] | ||
[[Category:Sprite structure members]] | [[Category:Sprite structure members]] |
Revision as of 20:53, 3 July 2012
In the player structure, ang is the current angle that the player is facing. In the sprite structure, ang serves the same purpose. Note that for players, the angle member of the sprite referenced by i is updated to reflect this value once per tic. 2048 Build units corresponds to 360 degrees.