<br />
; Set a graphics mode
<br />
Graphics 640,480,16
<br />

<br />
; Set drawing operations for double buffering
<br />
SetBuffer BackBuffer()
<br />

<br />
; Load the image and assign its file handle to the variable
<br />
; - This assumes you have a graphic called player.bmp in the
<br />
; same folder as this source code
<br />
gfxPlayer=LoadImage("player.bmp")
<br />

<br />
; Let's do a loop where the graphic is drawn wherever the
<br />
; mouse is pointing. ESC will exit.
<br />
While Not KeyHit(