Difference between revisions of "Sprite.rotation"
Jump to navigation
Jump to search
ZachStrout (talk | contribs) |
m |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <c>Sprite.rotation</c> | + | <c>[[Sprite]].rotation</c> is the rotation of the sprite, in degrees counter-clockwise. |
| + | |||
| + | See also: [[Bounds.rotation]], [[/sys/demo/angles]] | ||
== Example == | == Example == | ||
Latest revision as of 21:35, 8 July 2021
Sprite.rotation is the rotation of the sprite, in degrees counter-clockwise.
See also: Bounds.rotation, /sys/demo/angles
Example
sp = new Sprite
sp.image = file.loadImage("/sys/pics/Wumpus.png")
display(4).sprites.push sp
sp.rotation = 45