Difference between revisions of "Sprite.rotation"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <c>Sprite.rotation</c> is the rotation of the sprite, in degrees counter-clockwise. | + | <c>[[Sprite]].rotation</c> is the rotation of the sprite, in degrees counter-clockwise. |
== Example == | == Example == |
Revision as of 23:10, 12 April 2020
Sprite.rotation
is the rotation of the sprite, in degrees counter-clockwise.
Example
sp = new Sprite
sp.image = file.loadImage("/sys/pics/Wumpus.png")
display(4).sprites.push sp
sp.rotation = 45