cls.bmx 304 B

1234567891011121314151617181920
  1. ' cls.bmx
  2. ' a spinning text message
  3. ' remove the call to cls to illustrate the
  4. ' need for clearing the screen every frame
  5. SuperStrict
  6. Graphics 640,480
  7. SetOrigin 320,240
  8. Local frame:Float
  9. While Not KeyHit(KEY_ESCAPE)
  10. Cls
  11. SetRotation frame
  12. DrawText "Press Escape To Exit",0,0
  13. Flip
  14. frame:+1
  15. Wend