TileBlock image [,x,y,frame]  

Definition:

Tile an image without transparency.

Parameter Description:


image = file handle variable holding the loaded image
x = x coordinate offset(optional)
y = y coordinate offset (optional)
frame = frame of the image to use (optional)

Command Description:

Similar to TileImage but ignores transparency. Use this to tile an entire or portion of the screen with a single repetative image.

Example:

; TileBlock example
Graphics 800,600,16

; Load an image to tile (your location might vary)
gfxBall=LoadImage("C:\Program Files\Blitz Basic\samples\ball.bmp")

; Tile the graphic without transparency
TileBlock gfxBall

; Wait for ESC to hit
While Not KeyHit(1)
Wend

Index