Setvirtualresolution(640,480)
ResetTimer()
//Create test sprite cube
id=CreateSprite(0)
SetSpriteColor(id,0,255,0,255)
SetSpriteSize(id,50,50)
SetSpritePosition(id,200,200)
PI=3.142
Do
For i#=1 to 2*PI step 0.1
SetSpriteAngleRad(id,i#)
Sync()
Next i#
If Timer()>15 Then Exit
Loop
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)