# Rotate Sprites (New Features)

Hi, Manuel Santos:

I'm not thinking of creating a common library on the web of Basic-256 with sprites.

Let me explain:

What I say, is the property of a sprite, can rotate 360 degrees around its center at any point on the screen.

So I checked, the only sprites can move in any direction, but not rotate on themselves.

An image can be rotated 360 degrees if, but not a sprite.

And my question is:

They can rotate 360 ​​degrees on its own sprites geometric center?

See you this example:

::::::::::::::::::::::::::::::::::::::::::::::::::

CLS : CLG
GRAPHSIZE 22,22
SPRITEDIM 360
COLOR CLEAR
RECT 0,0,21,21
COLOR BLACK
LINE 0,0,21,11
LINE 0,21,21,11
LINE 11,11,0,0
LINE 11,11,0,21
IMGSAVE "TOR"
CLG
FOR N = 0 TO 359
SPRITESLICE N,0,0,22,22
PAUSE 0.01
CLG
NEXT N

CLG
GRAPHSIZE 400,400

COLOR WHITE
RECT 0,0,400,400
COLOR RED
LINE 200,0,200,400
LINE 0,200,400,200

Z = 0
FOR N = 0 TO 359

FON\$ = GETSLICE (N-20,180,40,40)
SPRITEMOVE Z,N,200
SPRITESHOW Z
PUTSLICE N-20,180,FON\$
COLOR BLUE : PLOT N,200
FON\$ = ""
Z = Z + 1
IF Z = 360 THEN Z = 0
NEXT N

END

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
I like this!!!!